Appearance
sdc/fragment-parse-error
error Reports a FHIRPath expression embedded in an x-fhir-query that does not parse.What it checks
Each {{…}} fragment of an x-fhir-query, at a catalogued location or found elsewhere in the Questionnaire, is parsed as FHIRPath with fhirpath.js. A fragment that does not parse is reported in its query, at the position where the parser found the error.
Example
The expression ends before it is complete.
fsh
Instance: fragment-parse-error-broken
InstanceOf: Questionnaire
Usage: #example
* status = #draft
* item[0].linkId = "a"
* item[=].type = #string
* item[=].extension.url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext"
* item[=].extension.valueExpression.language = #application/x-fhir-query
* item[=].extension.valueExpression.expression = "Observation?subject={{%patient.id.}}"