Extensions for Using Data Elements from FHIR R4 in FHIR STU3 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-Questionnaire.item.enableWhen.answer | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: ExtensionQuestionnaire_Item_EnableWhen_Answer | ||
R4: Questionnaire.item.enableWhen.answer[x] additional types (decimal, integer, date, dateTime, time, string, Coding, Quantity, Reference(http://hl7.org/fhir/StructureDefinition/Resource))
This extension is part of the cross-version definitions generated to enable use of the
element Questionnaire.item.enableWhen.answer[x] as defined in FHIR R4
in FHIR STU3.
The source element is defined as:
Questionnaire.item.enableWhen.answer[x] 1..1 boolean, Coding, date, dateTime, decimal, integer, Quantity, Reference(http://hl7.org/fhir/StructureDefinition/Resource), string, time
Following are the generation technical comments:
Element Questionnaire.item.enableWhen.answer[x] is mapped to FHIR STU3 element Questionnaire.item.enableWhen.hasAnswer as SourceIsBroaderThanTarget.
The mappings for Questionnaire.item.enableWhen.answer[x] do not cover the following types: Coding, date, dateTime, decimal, integer, Quantity, Reference, string, time.
Context of Use
This extension may be used on the following element(s)
Questionnaire.item.enableWhen
Usage info
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | Extension | R4: Value for question comparison based on operator additional types | |
![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/4.0/StructureDefinition/extension-Questionnaire.item.enableWhen.answer" | |
![]() ![]() |
1..1 | Value for question comparison based on operator | ||
![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() |
date | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
time | |||
![]() ![]() ![]() |
string | |||
![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() |
Reference(Cross-version Profile for R4.Resource for use in FHIR STU3(0.1.0) | Resource) | |||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | Extension | R4: Value for question comparison based on operator additional types | |
![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() |
0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/4.0/StructureDefinition/extension-Questionnaire.item.enableWhen.answer" | |
![]() ![]() |
1..1 | Value for question comparison based on operator | ||
![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() |
date | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
time | |||
![]() ![]() ![]() |
string | |||
![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() |
Reference(Cross-version Profile for R4.Resource for use in FHIR STU3(0.1.0) | Resource) | |||
Documentation for this format | ||||
This structure is derived from Extension
Summary
Simple Extension with the type decimal, integer, date, dateTime, time, string, Coding, Quantity, Reference: R4: Questionnaire.item.enableWhen.answer[x] additional types (decimal, integer, date, dateTime, time, string, Coding, Quantity, Reference(http://hl7.org/fhir/StructureDefinition/Resource))
Maturity: 0
Differential View
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | Extension | R4: Value for question comparison based on operator additional types | |
![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/4.0/StructureDefinition/extension-Questionnaire.item.enableWhen.answer" | |
![]() ![]() |
1..1 | Value for question comparison based on operator | ||
![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() |
date | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
time | |||
![]() ![]() ![]() |
string | |||
![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() |
Reference(Cross-version Profile for R4.Resource for use in FHIR STU3(0.1.0) | Resource) | |||
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | Extension | R4: Value for question comparison based on operator additional types | |
![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |
![]() ![]() |
0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/4.0/StructureDefinition/extension-Questionnaire.item.enableWhen.answer" | |
![]() ![]() |
1..1 | Value for question comparison based on operator | ||
![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() |
date | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
time | |||
![]() ![]() ![]() |
string | |||
![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() |
Reference(Cross-version Profile for R4.Resource for use in FHIR STU3(0.1.0) | Resource) | |||
Documentation for this format | ||||
This structure is derived from Extension
Summary
Simple Extension with the type decimal, integer, date, dateTime, time, string, Coding, Quantity, Reference: R4: Questionnaire.item.enableWhen.answer[x] additional types (decimal, integer, date, dateTime, time, string, Coding, Quantity, Reference(http://hl7.org/fhir/StructureDefinition/Resource))
Maturity: 0
Other representations of profile: CSV, Excel, Schematron
| Id | Grade | Path(s) | Description | Expression |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|