Extensions for Using Data Elements from FHIR R5 in FHIR R4
0.1.0 - STU International flag

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

Extension: ExtensionDocumentReference_Context

Official URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.context Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: ExtensionDocumentReference_Context

R5: DocumentReference.context additional types (Reference(http://hl7.org/fhir/StructureDefinition/Appointment), Reference(http://hl7.org/fhir/StructureDefinition/Encounter), Reference(http://hl7.org/fhir/StructureDefinition/EpisodeOfCare))

This extension is part of the cross-version definitions generated to enable use of the element DocumentReference.context as defined in FHIR R5 in FHIR R4.

The source element is defined as: DocumentReference.context 0..* Reference(http://hl7.org/fhir/StructureDefinition/Appointment,http://hl7.org/fhir/StructureDefinition/Encounter,http://hl7.org/fhir/StructureDefinition/EpisodeOfCare)

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

  • R5: DocumentReference.context 0..* Reference(http://hl7.org/fhir/StructureDefinition/Appointment,http://hl7.org/fhir/StructureDefinition/Encounter,http://hl7.org/fhir/StructureDefinition/EpisodeOfCare)
  • R4B: DocumentReference.context 0..1 BackboneElement
  • R4: DocumentReference.context 0..1 BackboneElement

Following are the generation technical comments: Element DocumentReference.context is mapped to FHIR R4 element DocumentReference.context as SourceIsBroaderThanTarget. The mappings for DocumentReference.context do not cover the following types: Reference.

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..* Extension(4.0.1) R5: Context of the document content additional types
... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.context"
... value[x] 0..1 Reference(Cross-version Profile for R5.Appointment for use in FHIR R4(0.1.0) | Appointment | Cross-version Profile for R5.Encounter for use in FHIR R4(0.1.0) | Encounter | Cross-version Profile for R5.EpisodeOfCare for use in FHIR R4(0.1.0) | EpisodeOfCare) Context of the document content

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(4.0.1) R5: Context of the document content additional types
Constraints: ext-1
... id 0..1 string 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/5.0/StructureDefinition/extension-DocumentReference.context"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Reference: R5: DocumentReference.context additional types (Reference(http://hl7.org/fhir/StructureDefinition/Appointment), Reference(http://hl7.org/fhir/StructureDefinition/Encounter), Reference(http://hl7.org/fhir/StructureDefinition/EpisodeOfCare))

Maturity: 0

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(4.0.1) R5: Context of the document content additional types
... url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.context"
... value[x] 0..1 Reference(Cross-version Profile for R5.Appointment for use in FHIR R4(0.1.0) | Appointment | Cross-version Profile for R5.Encounter for use in FHIR R4(0.1.0) | Encounter | Cross-version Profile for R5.EpisodeOfCare for use in FHIR R4(0.1.0) | EpisodeOfCare) Context of the document content

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(4.0.1) R5: Context of the document content additional types
Constraints: ext-1
... id 0..1 string 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/5.0/StructureDefinition/extension-DocumentReference.context"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Reference: R5: DocumentReference.context additional types (Reference(http://hl7.org/fhir/StructureDefinition/Appointment), Reference(http://hl7.org/fhir/StructureDefinition/Encounter), Reference(http://hl7.org/fhir/StructureDefinition/EpisodeOfCare))

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 hasValue() or (children().count() > id.count())
ext-1 error Extension, Extension.extension Must have either extensions or value[x], not both extension.exists() != value.exists()