Appearance
sdc/uncatalogued-expression
info Reports an expression in a place the linter does not recognise.What it checks
Looks for expressions, objects with a language and expression text or a reference, outside the locations the linter recognises: for example in a custom extension, on an answerOption or inside a contained resource. Each one is reported once.
Example
This expression is in a place the linter does not recognise, so only its FHIRPath syntax and function names can be checked.
fsh
Instance: uncatalogued-expression-query-once
InstanceOf: Questionnaire
Usage: #example
* status = #draft
* item[0].linkId = "a"
* item[=].type = #string
* item[=].extension.url = "http://example.org/StructureDefinition/uncatalogued"
* item[=].extension.valueExpression.language = #application/x-fhir-query
* item[=].extension.valueExpression.expression = "Observation?subject={{%patient.id}}&date=gt{{%today}}"