EnableWhenExpressionExtension

Enable when expression

activeStructured Data Capture4.0.02 contexts

An expression that returns a boolean value for whether to enable the item. If the expression resolves to an empty set, it is interpretted as false. Otherwise, if the expression does not resolve to a boolean, it is considered an error in the design of the Questionnaire. Form renderer behavior is undefined. Systems SHOULD present a warning to the user if a non-boolean valued expression result does not trigger an all-out error.

Metadata

hl7.org/fhir
Canonical URL
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
ID
sdc-questionnaire-enableWhenExpression
Name
EnableWhenExpressionExtension

Context (2)

This extension can be used on the following elements:

elementQuestionnaire.item
elementElementDefinition
PathCard.TypeFlagsDescription
Extension
Expression for when to enable the item
extension
url
fixed: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
value[x]
Expression