Assessment
Class EnableWhen

"A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true." - HL7 FHIR, Questionnaire.item.enableWhen

Attributes
«ANY» Any answer answer

"An answer that the referenced question must match in order for the item to be enabled." - HL7 FHIR, Questionnaire.item.enableWhen.answer[x]

«CS» Code operator operator

"Specifies the criteria by which the question is enabled." - HL7 FHIR, Questionnaire.item.enableWhen.operator

Question question question

Pointer to another question, the value of which must be true in order to enable this element. Note that in FHIR, this is a string containing the "linkId" of the other question, but FHIM uses a pointer to accomplish this. See the note under Item.linkId.
"The linkId for the question whose answer (or lack of answer) governs whether this item is enabled." - HL7 FHIR, Questionnaire.item.enableWhen.question


Properties:

Alias
Classifier Behavior
Is Abstractfalse
Is Activefalse
Is Leaffalse
Keywords
NameEnableWhen
Name Expression
NamespaceAssessment
Owned Template Signature
OwnerAssessment
Owning Template Parameter
PackageAssessment
Qualified NameFHIM::Assessment::EnableWhen
Representation
Stereotype
Template Parameter
VisibilityPublic

Attribute Details

 answer
Public «ANY» Any answer

"An answer that the referenced question must match in order for the item to be enabled." - HL7 FHIR, Questionnaire.item.enableWhen.answer[x]

Constraints:
Properties:

AggregationNone
Alias
Association
Association End
ClassEnableWhen
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower0
Lower Value(0)
Multiplicity0..1
Nameanswer
Name Expression
NamespaceEnableWhen
Opposite
OwnerEnableWhen
Owning Association
Owning Template Parameter
Qualified NameFHIM::Assessment::EnableWhen::answer
Stereotype
Template Parameter
Type«ANY» Any
Upper1
Upper Value(1)
VisibilityPublic


 operator
Public «CS» Code operator

"Specifies the criteria by which the question is enabled." - HL7 FHIR, Questionnaire.item.enableWhen.operator

Constraints:
Properties:

AggregationNone
Alias
Association
Association End
ClassEnableWhen
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value(1)
Multiplicity1
Nameoperator
Name Expression
NamespaceEnableWhen
Opposite
OwnerEnableWhen
Owning Association
Owning Template Parameter
Qualified NameFHIM::Assessment::EnableWhen::operator
Stereotype
Template Parameter
Type«CS» Code
Upper1
Upper Value(1)
VisibilityPublic


 question
Public Question question

Pointer to another question, the value of which must be true in order to enable this element. Note that in FHIR, this is a string containing the "linkId" of the other question, but FHIM uses a pointer to accomplish this. See the note under Item.linkId.
"The linkId for the question whose answer (or lack of answer) governs whether this item is enabled." - HL7 FHIR, Questionnaire.item.enableWhen.question

Constraints:
Properties:

AggregationNone
Alias
AssociationenableWhen_question
Association End
ClassEnableWhen
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value(1)
Multiplicity1
Namequestion
Name Expression
NamespaceEnableWhen
Opposite
OwnerEnableWhen
Owning Association
Owning Template Parameter
Qualified NameFHIM::Assessment::EnableWhen::question
Stereotype
Template Parameter
TypeQuestion
Upper1
Upper Value(1)
VisibilityPublic