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

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

: R4MediaElementMapToR5 - XML Representation

Page standards status: Trial-use Maturity Level: 0

Raw xml | Download


<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="R4-Media-element-map-to-R5"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ConceptMap R4-Media-element-map-to-R5</b></p><a name="R4-Media-element-map-to-R5"> </a><a name="hcR4-Media-element-map-to-R5"> </a><p>Mapping from http://hl7.org/fhir/4.0 to http://hl7.org/fhir/5.0</p><br/><p><b>Group 1 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Media|4.0.1</code> to <a href="http://hl7.org/fhir/R5/documentreference.html">DocumentReferenceversion: 5.0.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Media.meta (meta)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>DocumentReference.meta</td><td>Element `Media.meta` is mapped to FHIR R5 element `DocumentReference.meta` as `Equivalent`.</td></tr><tr><td>Media.implicitRules (implicitRules)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>DocumentReference.implicitRules</td><td>Element `Media.implicitRules` is mapped to FHIR R5 element `DocumentReference.implicitRules` as `Equivalent`.
Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.</td></tr><tr><td>Media.language (language)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>DocumentReference.language</td><td>Element `Media.language` is mapped to FHIR R5 element `DocumentReference.language` as `Equivalent`.
Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).</td></tr><tr><td>Media.text (text)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>DocumentReference.text</td><td>Element `Media.text` is mapped to FHIR R5 element `DocumentReference.text` as `Equivalent`.
Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded information is added later.</td></tr><tr><td>Media.contained (contained)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>DocumentReference.contained</td><td>Element `Media.contained` is mapped to FHIR R5 element `DocumentReference.contained` as `Equivalent`.
This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.</td></tr><tr><td>Media.identifier (identifier)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>DocumentReference.identifier</td><td>Element `Media.identifier` is mapped to FHIR R5 element `DocumentReference.identifier` as `Equivalent`.
The identifier label and use can be used to determine what kind of identifier it is.</td></tr><tr><td>Media.basedOn (basedOn)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>DocumentReference.basedOn</td><td>Element `Media.basedOn` is mapped to FHIR R5 element `DocumentReference.basedOn` as `Equivalent`.</td></tr><tr><td>Media.status (status)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>DocumentReference.status</td><td>Element `Media.status` is mapped to FHIR R5 element `DocumentReference.status` as `Equivalent`.
A nominal state-transition diagram can be found in the [[event.html#statemachine | Event pattern]] documentation

Unknown does not represent &quot;other&quot; - one of the defined statuses must apply.  Unknown is used when the authoring system is not sure what the current status is.</td></tr><tr><td>Media.type (type)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>DocumentReference.type</td><td>Element `Media.type` is mapped to FHIR R5 element `DocumentReference.type` as `Equivalent`.</td></tr><tr><td>Media.modality (modality)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#source-is-narrower-than-target" title="source-is-narrower-than-target">is narrower than</a></td><td>DocumentReference.modality</td><td>Element `Media.modality` is mapped to FHIR R5 element `DocumentReference.modality` as `SourceIsNarrowerThanTarget`.</td></tr><tr><td>Media.subject (subject)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#source-is-broader-than-target" title="source-is-broader-than-target">is broader than</a></td><td>DocumentReference.subject</td><td>Element `Media.subject` is mapped to FHIR R5 element `DocumentReference.subject` as `SourceIsBroaderThanTarget`.
The standard extension `alternate-reference` has been mapped as the representation of FHIR R4 element `Media.subject` with unmapped reference targets: Device, Group, Location, Patient, Practitioner, PractitionerRole, Specimen.</td></tr><tr><td>Media.bodySite (bodySite)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#source-is-narrower-than-target" title="source-is-narrower-than-target">is narrower than</a></td><td>DocumentReference.bodySite</td><td>Element `Media.bodySite` is mapped to FHIR R5 element `DocumentReference.bodySite` as `SourceIsNarrowerThanTarget`.
Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.   

If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](https://hl7.org/fhir/extension-bodysite.html).</td></tr><tr><td>Media.content (content)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#source-is-narrower-than-target" title="source-is-narrower-than-target">is narrower than</a></td><td>DocumentReference.content</td><td>Element `Media.content` is mapped to FHIR R5 element `DocumentReference.content` as `SourceIsNarrowerThanTarget`.
Recommended content types: image/jpeg, image/png, image/tiff, video/mpeg, audio/mp4, application/dicom. Application/dicom can contain the transfer syntax as a parameter.  For media that covers a period of time (video/sound), the content.creationTime is the end time. Creation time is used for tracking, organizing versions and searching.</td></tr></table><hr/><p><b>Group 2 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Media|4.0.1</code> to <a href="StructureDefinition-ext-R4-Media.partOf.html">R4: Part of referenced event (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Media.partOf (partOf)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Extension (R4: Part of referenced event (new))</td><td>Element `Media.partOf` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.partOf` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
Not to be used to link an event to an Encounter - use Media.encounter for that.

[The allowed reference resources may be adjusted as appropriate for the event resource].</td></tr></table><hr/><p><b>Group 3 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Media|4.0.1</code> to <a href="StructureDefinition-ext-R4-Media.view.html">R4: Imaging view, e.g. Lateral or Antero-posterior (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Media.view (view)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Extension (R4: Imaging view, e.g. Lateral or Antero-posterior (new))</td><td>Element `Media.view` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.view` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).</td></tr></table><hr/><p><b>Group 4 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Media|4.0.1</code> to <a href="StructureDefinition-ext-R4-Media.encounter.html">R4: Encounter associated with media (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Media.encounter (encounter)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Extension (R4: Encounter associated with media (new))</td><td>Element `Media.encounter` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.encounter` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
This will typically be the encounter the media occurred within.</td></tr></table><hr/><p><b>Group 5 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Media|4.0.1</code> to <a href="StructureDefinition-ext-R4-Media.created.html">R4: When Media was collected (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Media.created[x] (created[x])</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Extension (R4: When Media was collected (new))</td><td>Element `Media.created[x]` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.created[x]` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).</td></tr></table><hr/><p><b>Group 6 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Media|4.0.1</code> to <a href="StructureDefinition-ext-R4-Media.issued.html">R4: Date/Time this version was made available (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Media.issued (issued)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Extension (R4: Date/Time this version was made available (new))</td><td>Element `Media.issued` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.issued` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
It may be the same as the [`lastUpdated` ](https://hl7.org/fhir/resource-definiti.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that does not require the new version to be reviewed and verified again.</td></tr></table><hr/><p><b>Group 7 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Media|4.0.1</code> to <a href="StructureDefinition-ext-R4-Media.operator.html">R4: The person who generated the image (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Media.operator (operator)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Extension (R4: The person who generated the image (new))</td><td>Element `Media.operator` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.operator` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).</td></tr></table><hr/><p><b>Group 8 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Media|4.0.1</code> to <a href="StructureDefinition-ext-R4-Media.reasonCode.html">R4: Why was event performed? (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Media.reasonCode (reasonCode)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Extension (R4: Why was event performed? (new))</td><td>Element `Media.reasonCode` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.reasonCode` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
Textual reasons can be captured using reasonCode.text.</td></tr></table><hr/><p><b>Group 9 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Media|4.0.1</code> to <a href="StructureDefinition-ext-R4-Media.deviceName.html">R4: Name of the device/manufacturer (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Media.deviceName (deviceName)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Extension (R4: Name of the device/manufacturer (new))</td><td>Element `Media.deviceName` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.deviceName` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).</td></tr></table><hr/><p><b>Group 10 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Media|4.0.1</code> to <a href="StructureDefinition-ext-R4-Media.device.html">R4: Observing Device (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Media.device (device)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Extension (R4: Observing Device (new))</td><td>Element `Media.device` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.device` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
An extension should be used if further typing of the device is needed.  Secondary devices used to support collecting a media can be represented using either extension or through the Observation.related element.</td></tr></table><hr/><p><b>Group 11 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Media|4.0.1</code> to <a href="StructureDefinition-ext-R4-Media.height.html">R4: Height of the image in pixels (photo/video) (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Media.height (height)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Extension (R4: Height of the image in pixels (photo/video) (new))</td><td>Element `Media.height` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.height` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).</td></tr></table><hr/><p><b>Group 12 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Media|4.0.1</code> to <a href="StructureDefinition-ext-R4-Media.width.html">R4: Width of the image in pixels (photo/video) (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Media.width (width)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Extension (R4: Width of the image in pixels (photo/video) (new))</td><td>Element `Media.width` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.width` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).</td></tr></table><hr/><p><b>Group 13 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Media|4.0.1</code> to <a href="StructureDefinition-ext-R4-Media.frames.html">R4: Number of frames if &gt; 1 (photo) (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Media.frames (frames)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Extension (R4: Number of frames if &gt; 1 (photo) (new))</td><td>Element `Media.frames` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.frames` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated.</td></tr></table><hr/><p><b>Group 14 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Media|4.0.1</code> to <a href="StructureDefinition-ext-R4-Media.duration.html">R4: Length in seconds (audio / video) (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Media.duration (duration)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Extension (R4: Length in seconds (audio / video) (new))</td><td>Element `Media.duration` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.duration` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
The duration might differ from occurrencePeriod if recording was paused.</td></tr></table><hr/><p><b>Group 15 </b>Mapping from <code>http://hl7.org/fhir/StructureDefinition/Media|4.0.1</code> to <a href="StructureDefinition-ext-R4-Media.note.html">R4: Comments made about the media (new)version: 0.1.0)</a></p><table class="grid"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>Media.note (note)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>Extension (R4: Comments made about the media (new))</td><td>Element `Media.note` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.note` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
Not to be used for observations, conclusions, etc. Instead use an [Observation](https://hl7.org/fhir/observation.html) based on the Media/ImagingStudy resource.</td></tr></table></div>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r5"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r5"/>
      </extension>
    </valueCode>
  </extension>
  <url
       value="http://hl7.org/fhir/uv/xver/ConceptMap/R4-Media-element-map-to-R5"/>
  <version value="0.1.0"/>
  <name value="R4MediaElementMapToR5"/>
  <title
         value="Cross-version mapping for FHIR R4 Media to FHIR R5 DocumentReference"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2026-03-17T16:04:35.3891175-05:00"/>
  <contact>
    <name value="FHIR Infrastructure"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description
               value="This ConceptMap represents cross-version mappings for elements from a FHIR R4 Media to FHIR R5."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <sourceScopeCanonical value="http://hl7.org/fhir/4.0"/>
  <targetScopeUri value="http://hl7.org/fhir/5.0"/>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/Media|4.0.1"/>
    <target
            value="http://hl7.org/fhir/StructureDefinition/DocumentReference|5.0.0"/>
    <element>
      <code value="Media.meta"/>
      <display value="meta"/>
      <target>
        <code value="DocumentReference.meta"/>
        <display value="DocumentReference.meta"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.meta` is mapped to FHIR R5 element `DocumentReference.meta` as `Equivalent`."/>
      </target>
    </element>
    <element>
      <code value="Media.implicitRules"/>
      <display value="implicitRules"/>
      <target>
        <code value="DocumentReference.implicitRules"/>
        <display value="DocumentReference.implicitRules"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.implicitRules` is mapped to FHIR R5 element `DocumentReference.implicitRules` as `Equivalent`.
Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc."/>
      </target>
    </element>
    <element>
      <code value="Media.language"/>
      <display value="language"/>
      <target>
        <code value="DocumentReference.language"/>
        <display value="DocumentReference.language"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.language` is mapped to FHIR R5 element `DocumentReference.language` as `Equivalent`.
Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
      </target>
    </element>
    <element>
      <code value="Media.text"/>
      <display value="text"/>
      <target>
        <code value="DocumentReference.text"/>
        <display value="DocumentReference.text"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.text` is mapped to FHIR R5 element `DocumentReference.text` as `Equivalent`.
Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded information is added later."/>
      </target>
    </element>
    <element>
      <code value="Media.contained"/>
      <display value="contained"/>
      <target>
        <code value="DocumentReference.contained"/>
        <display value="DocumentReference.contained"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.contained` is mapped to FHIR R5 element `DocumentReference.contained` as `Equivalent`.
This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels."/>
      </target>
    </element>
    <element>
      <code value="Media.identifier"/>
      <display value="identifier"/>
      <target>
        <code value="DocumentReference.identifier"/>
        <display value="DocumentReference.identifier"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.identifier` is mapped to FHIR R5 element `DocumentReference.identifier` as `Equivalent`.
The identifier label and use can be used to determine what kind of identifier it is."/>
      </target>
    </element>
    <element>
      <code value="Media.basedOn"/>
      <display value="basedOn"/>
      <target>
        <code value="DocumentReference.basedOn"/>
        <display value="DocumentReference.basedOn"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.basedOn` is mapped to FHIR R5 element `DocumentReference.basedOn` as `Equivalent`."/>
      </target>
    </element>
    <element>
      <code value="Media.status"/>
      <display value="status"/>
      <target>
        <code value="DocumentReference.status"/>
        <display value="DocumentReference.status"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.status` is mapped to FHIR R5 element `DocumentReference.status` as `Equivalent`.
A nominal state-transition diagram can be found in the [[event.html#statemachine | Event pattern]] documentation

Unknown does not represent &quot;other&quot; - one of the defined statuses must apply.  Unknown is used when the authoring system is not sure what the current status is."/>
      </target>
    </element>
    <element>
      <code value="Media.type"/>
      <display value="type"/>
      <target>
        <code value="DocumentReference.type"/>
        <display value="DocumentReference.type"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.type` is mapped to FHIR R5 element `DocumentReference.type` as `Equivalent`."/>
      </target>
    </element>
    <element>
      <code value="Media.modality"/>
      <display value="modality"/>
      <target>
        <code value="DocumentReference.modality"/>
        <display value="DocumentReference.modality"/>
        <relationship value="source-is-narrower-than-target"/>
        <comment
                 value="Element `Media.modality` is mapped to FHIR R5 element `DocumentReference.modality` as `SourceIsNarrowerThanTarget`."/>
      </target>
    </element>
    <element>
      <code value="Media.subject"/>
      <display value="subject"/>
      <target>
        <code value="DocumentReference.subject"/>
        <display value="DocumentReference.subject"/>
        <relationship value="source-is-broader-than-target"/>
        <comment
                 value="Element `Media.subject` is mapped to FHIR R5 element `DocumentReference.subject` as `SourceIsBroaderThanTarget`.
The standard extension `alternate-reference` has been mapped as the representation of FHIR R4 element `Media.subject` with unmapped reference targets: Device, Group, Location, Patient, Practitioner, PractitionerRole, Specimen."/>
      </target>
    </element>
    <element>
      <code value="Media.bodySite"/>
      <display value="bodySite"/>
      <target>
        <code value="DocumentReference.bodySite"/>
        <display value="DocumentReference.bodySite"/>
        <relationship value="source-is-narrower-than-target"/>
        <comment
                 value="Element `Media.bodySite` is mapped to FHIR R5 element `DocumentReference.bodySite` as `SourceIsNarrowerThanTarget`.
Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.   

If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](https://hl7.org/fhir/extension-bodysite.html)."/>
      </target>
    </element>
    <element>
      <code value="Media.content"/>
      <display value="content"/>
      <target>
        <code value="DocumentReference.content"/>
        <display value="DocumentReference.content"/>
        <relationship value="source-is-narrower-than-target"/>
        <comment
                 value="Element `Media.content` is mapped to FHIR R5 element `DocumentReference.content` as `SourceIsNarrowerThanTarget`.
Recommended content types: image/jpeg, image/png, image/tiff, video/mpeg, audio/mp4, application/dicom. Application/dicom can contain the transfer syntax as a parameter.  For media that covers a period of time (video/sound), the content.creationTime is the end time. Creation time is used for tracking, organizing versions and searching."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/Media|4.0.1"/>
    <target
            value="http://hl7.org/fhir/4.0/StructureDefinition/extension-Media.partOf|0.1.0"/>
    <element>
      <code value="Media.partOf"/>
      <display value="partOf"/>
      <target>
        <code value="Extension"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.partOf` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.partOf` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
Not to be used to link an event to an Encounter - use Media.encounter for that.

[The allowed reference resources may be adjusted as appropriate for the event resource]."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/Media|4.0.1"/>
    <target
            value="http://hl7.org/fhir/4.0/StructureDefinition/extension-Media.view|0.1.0"/>
    <element>
      <code value="Media.view"/>
      <display value="view"/>
      <target>
        <code value="Extension"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.view` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.view` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/Media|4.0.1"/>
    <target
            value="http://hl7.org/fhir/4.0/StructureDefinition/extension-Media.encounter|0.1.0"/>
    <element>
      <code value="Media.encounter"/>
      <display value="encounter"/>
      <target>
        <code value="Extension"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.encounter` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.encounter` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
This will typically be the encounter the media occurred within."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/Media|4.0.1"/>
    <target
            value="http://hl7.org/fhir/4.0/StructureDefinition/extension-Media.created|0.1.0"/>
    <element>
      <code value="Media.created[x]"/>
      <display value="created[x]"/>
      <target>
        <code value="Extension"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.created[x]` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.created[x]` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/Media|4.0.1"/>
    <target
            value="http://hl7.org/fhir/4.0/StructureDefinition/extension-Media.issued|0.1.0"/>
    <element>
      <code value="Media.issued"/>
      <display value="issued"/>
      <target>
        <code value="Extension"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.issued` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.issued` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
It may be the same as the [`lastUpdated` ](https://hl7.org/fhir/resource-definiti.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that does not require the new version to be reviewed and verified again."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/Media|4.0.1"/>
    <target
            value="http://hl7.org/fhir/4.0/StructureDefinition/extension-Media.operator|0.1.0"/>
    <element>
      <code value="Media.operator"/>
      <display value="operator"/>
      <target>
        <code value="Extension"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.operator` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.operator` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/Media|4.0.1"/>
    <target
            value="http://hl7.org/fhir/4.0/StructureDefinition/extension-Media.reasonCode|0.1.0"/>
    <element>
      <code value="Media.reasonCode"/>
      <display value="reasonCode"/>
      <target>
        <code value="Extension"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.reasonCode` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.reasonCode` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
Textual reasons can be captured using reasonCode.text."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/Media|4.0.1"/>
    <target
            value="http://hl7.org/fhir/4.0/StructureDefinition/extension-Media.deviceName|0.1.0"/>
    <element>
      <code value="Media.deviceName"/>
      <display value="deviceName"/>
      <target>
        <code value="Extension"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.deviceName` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.deviceName` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/Media|4.0.1"/>
    <target
            value="http://hl7.org/fhir/4.0/StructureDefinition/extension-Media.device|0.1.0"/>
    <element>
      <code value="Media.device"/>
      <display value="device"/>
      <target>
        <code value="Extension"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.device` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.device` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
An extension should be used if further typing of the device is needed.  Secondary devices used to support collecting a media can be represented using either extension or through the Observation.related element."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/Media|4.0.1"/>
    <target
            value="http://hl7.org/fhir/4.0/StructureDefinition/extension-Media.height|0.1.0"/>
    <element>
      <code value="Media.height"/>
      <display value="height"/>
      <target>
        <code value="Extension"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.height` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.height` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/Media|4.0.1"/>
    <target
            value="http://hl7.org/fhir/4.0/StructureDefinition/extension-Media.width|0.1.0"/>
    <element>
      <code value="Media.width"/>
      <display value="width"/>
      <target>
        <code value="Extension"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.width` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.width` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/Media|4.0.1"/>
    <target
            value="http://hl7.org/fhir/4.0/StructureDefinition/extension-Media.frames|0.1.0"/>
    <element>
      <code value="Media.frames"/>
      <display value="frames"/>
      <target>
        <code value="Extension"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.frames` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.frames` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/Media|4.0.1"/>
    <target
            value="http://hl7.org/fhir/4.0/StructureDefinition/extension-Media.duration|0.1.0"/>
    <element>
      <code value="Media.duration"/>
      <display value="duration"/>
      <target>
        <code value="Extension"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.duration` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.duration` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
The duration might differ from occurrencePeriod if recording was paused."/>
      </target>
    </element>
  </group>
  <group>
    <source value="http://hl7.org/fhir/StructureDefinition/Media|4.0.1"/>
    <target
            value="http://hl7.org/fhir/4.0/StructureDefinition/extension-Media.note|0.1.0"/>
    <element>
      <code value="Media.note"/>
      <display value="note"/>
      <target>
        <code value="Extension"/>
        <relationship value="equivalent"/>
        <comment
                 value="Element `Media.note` has a context of DocumentReference based on following the parent source element upwards and mapping to `DocumentReference`.
Element `Media.note` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).
Not to be used for observations, conclusions, etc. Instead use an [Observation](https://hl7.org/fhir/observation.html) based on the Media/ImagingStudy resource."/>
      </target>
    </element>
  </group>
</ConceptMap>