Appearance
sdc/language-not-in-value-set
warning Reports an expression language that FHIR R4 and R5 do not define.What it checks
The language of every Expression, at a catalogued location or found elsewhere in the Questionnaire, must be one of the codes FHIR R4 or R5 defines: text/fhirpath, text/cql, application/x-fhir-query, text/x-fhir-query, text/cql-identifier or text/cql-expression.
Example
The language text/fhir-path is not one FHIR defines, so the form may ignore this expression.
fsh
Instance: language-not-in-value-set-similar-code
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-calculatedExpression"
* item[=].extension.valueExpression.language = #text/fhir-path
* item[=].extension.valueExpression.expression = "1"