Extensions for Using Data Elements from FHIR DSTU2 in FHIR R4B
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR DSTU2 in FHIR R4B - Downloaded Version null See the Directory of published versions

Extension: ExtensionQuestionnaireResponse_Group_Question_Answer_Value

Official URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-QuestionnaireResponse.group.question.answer.value Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: ExtensionQuestionnaireResponse_Group_Question_Answer_Value

DSTU2: QuestionnaireResponse.group.question.answer.value[x] additional types (instant, Attachment)

This extension is part of the cross-version definitions generated to enable use of the element QuestionnaireResponse.group.question.answer.value[x] as defined in FHIR DSTU2 in FHIR R4B.

The source element is defined as: QuestionnaireResponse.group.question.answer.value[x] 0..1 Attachment, boolean, Coding, date, dateTime, decimal, instant, integer, Quantity, Reference(http://hl7.org/fhir/StructureDefinition/Resource), string, time, uri

Across FHIR versions, the element set has been mapped as:

  • DSTU2: QuestionnaireResponse.group.question.answer.value[x] 0..1 Attachment, boolean, Coding, date, dateTime, decimal, instant, integer, Quantity, Reference(http://hl7.org/fhir/StructureDefinition/Resource), string, time, uri
  • STU3: QuestionnaireResponse.item.answer.value[x] 0..1 Attachment, boolean, Coding, date, dateTime, decimal, integer, Quantity, Reference(http://hl7.org/fhir/StructureDefinition/Resource), string, time, uri
  • R4: QuestionnaireResponse.item.answer.value[x] 0..1 Attachment, boolean, Coding, date, dateTime, decimal, integer, Quantity, Reference(http://hl7.org/fhir/StructureDefinition/Resource), string, time, uri
  • R4B: QuestionnaireResponse.item.answer.value[x] 0..1 Attachment, boolean, Coding, date, dateTime, decimal, integer, Quantity, Reference(http://hl7.org/fhir/StructureDefinition/Resource), string, time, uri

Following are the generation technical comments: Element QuestionnaireResponse.group.question.answer.value[x] is mapped to FHIR R4B element QuestionnaireResponse.item.answer.value[x] as RelatedTo. The mappings for QuestionnaireResponse.group.question.answer.value[x] do not cover the following types: Attachment, instant. The target context QuestionnaireResponse.item.answer.value[x] is a choice-type element and cannot directly hold extensions. The context is moved up to parent element QuestionnaireResponse.item.answer. The standard extension alternate-reference has been mapped as PART of the representation of FHIR DSTU2 element QuestionnaireResponse.group.question.answer.value[x] with unmapped reference targets: Resource. Source element QuestionnaireResponse.group.question.answer.value[x] has unmapped reference types. While the target element QuestionnaireResponse.item.answer.value[x] is a choice type and does not allow extensions, the alternate-reference extension can be applied to Reference values within it.

Context of Use

Usage info

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..1 Extension(4.3.0) DSTU2: value additional types
... url 1..1 uri "http://hl7.org/fhir/1.0/StructureDefinition/extension-QuestionnaireResponse.group.question.answer.value"
... value[x] 0..1 Single-valued answer to the question
.... valueInstant instant
.... valueAttachment Attachment

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..1 Extension(4.3.0) DSTU2: value additional types
Constraints: ext-1
... id 0..1 id Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
... url 1..1 uri "http://hl7.org/fhir/1.0/StructureDefinition/extension-QuestionnaireResponse.group.question.answer.value"
.... valueInstant instant
.... valueAttachment Attachment

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type instant, Attachment: DSTU2: QuestionnaireResponse.group.question.answer.value[x] additional types (instant, Attachment)

Maturity: 0

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..1 Extension(4.3.0) DSTU2: value additional types
... url 1..1 uri "http://hl7.org/fhir/1.0/StructureDefinition/extension-QuestionnaireResponse.group.question.answer.value"
... value[x] 0..1 Single-valued answer to the question
.... valueInstant instant
.... valueAttachment Attachment

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..1 Extension(4.3.0) DSTU2: value additional types
Constraints: ext-1
... id 0..1 id Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
... url 1..1 uri "http://hl7.org/fhir/1.0/StructureDefinition/extension-QuestionnaireResponse.group.question.answer.value"
.... valueInstant instant
.... valueAttachment Attachment

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type instant, Attachment: DSTU2: QuestionnaireResponse.group.question.answer.value[x] additional types (instant, Attachment)

Maturity: 0

 

Other representations of profile: CSV, Excel, Schematron

Constraints

Id Grade Path(s) Description Expression
ele-1 error Extension, Extension.extension, Extension.value[x] All FHIR elements must have a @value or children unless an empty Parameters resource hasValue() or (children().count() > id.count()) or $this is Parameters
ext-1 error Extension, Extension.extension Must have either extensions or value[x], not both extension.exists() != value.exists()