This
page
is
part
of
the
FHIR
Specification
(v0.0.82:
DSTU
1).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
URL for this extension:
http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen
Status: draft. Extension maintained by: HL7
If present, indicates that the group or question containing the extension should only be enabled (allow an answer to be present and, in most circumstances, even be visible to the user) when the specified condition is true.
Context of Use: Use on element: Questionnaire.group, Questionnaire.group.group, Questionnaire.group.question
usage info: insert a list of places where this extension is used
Structure
| Name | Flags | Card. | Type |
Description
&
Constraints
|
|---|---|---|---|---|
|
Extension |
URL
=
http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen
Only allow data when:: If present, indicates that the group or question containing the extension should only be enabled (allow an answer to be present and, in most circumstances, even be visible to the user) when the specified condition is true. Use on element: Questionnaire.group, Questionnaire.group.group, Questionnaire.group.question |
||
|
1..1 | Extension | Question that must be answered | |
|
0..* | Extension | Additional Content defined by implementations | |
|
1..1 | uri |
identifies
the
meaning
of
the
extension
Fixed Value: question |
|
|
0..1 | string | Value of extension | |
|
0..1 | Extension | Value question must have | |
|
0..* | Extension | Additional Content defined by implementations | |
|
1..1 | uri |
identifies
the
meaning
of
the
extension
Fixed Value: answer |
|
|
0..1 | * | Value of extension | |
|
1..1 | uri |
identifies
the
meaning
of
the
extension
Fixed Value: http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen |
|
|
0 .. 0 | * |
XML Template
<!-- Only allow data when: --><extension xmlns="http://hl7.org/fhir" url="http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen" > <!-- from Element: extension --> <valueString value="[string]"/><!-- 0..1 Value of extension <value* ><!-- 0..1 * Value of extension <value* ><!-- 0..0 * Value of extension </extension>
JSON Template
{ // Only allow data when:
// from Element: extension
"url" : "question", // R!
"valueString" : "<string>", //Value of extension
"url" : "answer", // R!
"value*" : { * }, //Value of extension
"url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen", // R!
"value*" : { * } //Value of extension
}
Structure
| Name | Flags | Card. | Type |
Description
&
Constraints
|
|---|---|---|---|---|
|
Extension |
URL
=
http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen
Only allow data when:: If present, indicates that the group or question containing the extension should only be enabled (allow an answer to be present and, in most circumstances, even be visible to the user) when the specified condition is true. Use on element: Questionnaire.group, Questionnaire.group.group, Questionnaire.group.question |
||
|
1..1 | Extension | Question that must be answered | |
|
0..* | Extension | Additional Content defined by implementations | |
|
1..1 | uri |
identifies
the
meaning
of
the
extension
Fixed Value: question |
|
|
0..1 | string | Value of extension | |
|
0..1 | Extension | Value question must have | |
|
0..* | Extension | Additional Content defined by implementations | |
|
1..1 | uri |
identifies
the
meaning
of
the
extension
Fixed Value: answer |
|
|
0..1 | * | Value of extension | |
|
1..1 | uri |
identifies
the
meaning
of
the
extension
Fixed Value: http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen |
|
|
0 .. 0 | * |
XML Template
<!-- Only allow data when: --><extension xmlns="http://hl7.org/fhir" url="http://hl7.org/fhir/StructureDefinition/questionnaire-enableWhen" > <!-- from Element: extension --> <valueString value="[string]"/><!-- 0..1 Value of extension <value* ><!-- 0..1 * Value of extension <value* ><!-- 0..0 * Value of extension </extension>