HL7 Version 2 to FHIR
0.1.0 - STU1 Ballot

This page is part of the HL7 Version 2 to FHIR (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: Segment MSH to MessageHeader Map - XML Representation

Raw xml | Download


<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="segment-msh-to-messageheader"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><h2>SegmentMSHtoMessageHeader (http://hl7.org/fhir/uv/v2mappings/segment-msh-to-messageheader)</h2><p>Mapping from <a href="https://terminology.hl7.org/1.0.0//CodeSystem-MSH.html">MSH</a> to <a href="http://hl7.org/fhir/R4/messageheader.html">MessageHeader</a></p><p>ACTIVE (not intended for production usage). Published on 2020-08-12 by HL7 International (HL7 Orders and Observations Workgroup: <a href="http://hl7.org/Special/committees/orders/index.cfm">http://hl7.org/Special/committ...</a>, Keith W. Boone: <a href="mailto:kboone@ainq.com">kboone@ainq.com</a>). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.</p><div><p>This ConceptMap represents a mapping from the HL7 V2 Segment MSH to the FHIR MessageHeader Resource.</p>
</div><br/><table class="grid"><tr><td colspan="3"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan="3"><b>Destination Concept Details</b></td><td><b>Comment</b></td></tr><tr><td colspan="2"><b>Code</b> from </td><td><b>Code</b> from </td><td/><td colspan="2"><b>Code</b> from </td><td><b>Code</b> from </td><td/></tr><tr><td style="border-right-width: 0px">MSH-3</td><td style="border-left-width: 0px"></td><td>BackboneElement</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">source</td><td style="border-left-width: 0px"></td><td>IF MSH-24 NOT VALUED</td><td>1</td></tr><tr><td style="border-right-width: 0px">MSH-4</td><td style="border-left-width: 0px"></td><td>Reference(Organization)</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">sender(Organization)</td><td style="border-left-width: 0px"></td><td/><td>1</td></tr><tr><td style="border-right-width: 0px">MSH-5</td><td style="border-left-width: 0px"></td><td>BackboneElement</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">destination[1]</td><td style="border-left-width: 0px"></td><td>IF MSH-25 NOT VALUED</td><td>-1</td></tr><tr><td style="border-right-width: 0px">MSH-6</td><td style="border-left-width: 0px"></td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">destination.endpoint.extension-dataAbsentReason</td><td style="border-left-width: 0px"></td><td>IF MSH-6 VALUED AND MSH-5 NOT VALUED AND MSH-25 NOT VALUED</td><td/></tr><tr><td style="border-right-width: 0px">MSH-6</td><td style="border-left-width: 0px"></td><td>Reference(Organization)</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">destination[1].receiver(Organization)</td><td style="border-left-width: 0px"></td><td/><td>1</td></tr><tr><td style="border-right-width: 0px">MSH-8</td><td style="border-left-width: 0px"></td><td>string</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">meta.security</td><td style="border-left-width: 0px"></td><td/><td>-1</td></tr><tr><td style="border-right-width: 0px">MSH-9</td><td style="border-left-width: 0px"></td><td>Coding</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">eventCoding</td><td style="border-left-width: 0px"></td><td/><td>1</td></tr><tr><td style="border-right-width: 0px">MSH-11</td><td style="border-left-width: 0px"></td><td>meta</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">meta</td><td style="border-left-width: 0px"></td><td/><td>-1</td></tr><tr><td style="border-right-width: 0px">MSH-17</td><td style="border-left-width: 0px"></td><td>string</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">sender(Organization.address.country)</td><td style="border-left-width: 0px"></td><td/><td>1</td></tr><tr><td style="border-right-width: 0px">MSH-19</td><td style="border-left-width: 0px"></td><td>code</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">language</td><td style="border-left-width: 0px"></td><td/><td>1</td></tr><tr><td style="border-right-width: 0px">MSH-22</td><td style="border-left-width: 0px"></td><td>Reference(Organization)</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">responsible(Organization)</td><td style="border-left-width: 0px"></td><td/><td>1</td></tr><tr><td style="border-right-width: 0px">MSH-23</td><td style="border-left-width: 0px"></td><td>Reference(Organization)</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">destination[1].receiver(Organization)</td><td style="border-left-width: 0px"></td><td/><td>-1</td></tr><tr><td style="border-right-width: 0px">MSH-24</td><td style="border-left-width: 0px"></td><td>BackboneElement</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">source</td><td style="border-left-width: 0px"></td><td/><td>1</td></tr><tr><td style="border-right-width: 0px">MSH-25</td><td style="border-left-width: 0px"></td><td>uri</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">destination[2]</td><td style="border-left-width: 0px"></td><td/><td>-1</td></tr></table></div>
  </text>
  <extension
             url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact">
    <extension url="type">
      <valueCode value="derived-from"/>
    </extension>
    <extension url="label">
      <valueString value="Segment MSH to MessageHeader.fsh"/>
    </extension>
    <extension url="url">
      <valueUri
                value="https://docs.google.com/spreadsheets/d/13pgda5xl-PwCgB9j0axyymwwv7RJVcrIzY8Ah1y1Y1M/edit#gid=0"/>
    </extension>
  </extension>
  <url value="http://hl7.org/fhir/uv/v2mappings/segment-msh-to-messageheader"/>
  <version value="0.1.0"/>
  <name value="SegmentMSHtoMessageHeader"/>
  <status value="active"/>
  <experimental value="true"/>
  <date value="2020-08-12"/>
  <publisher value="HL7 International"/>
  <contact>
    <name value="HL7 Orders and Observations Workgroup"/>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/Special/committees/orders/index.cfm"/>
    </telecom>
  </contact>
  <contact>
    <name value="Keith W. Boone"/>
    <telecom>
      <system value="email"/>
      <value value="kboone@ainq.com"/>
    </telecom>
  </contact>
  <description
               value="This ConceptMap represents a mapping from the HL7 V2 Segment MSH to the FHIR MessageHeader Resource."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <copyright
             value="Copyright (c) 2020, HL7 International, Inc., All Rights Reserved."/>
  <sourceUri value="MSH"/>
  <targetUri value="MessageHeader"/>
  <group>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="0"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-3"/>
      <display value="HD"/>
      <target>
        <code value="source"/>
        <display value="source"/>
        <equivalence value="equivalent"/>
        <comment value="1"/>
        <dependsOn>
          <property value="references"/>
          <value value="BackboneElement"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="IF MSH-24 NOT VALUED"/>
        </product>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="0"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-4"/>
      <display value="HD"/>
      <target>
        <code value="sender(Organization)"/>
        <display value="sender(Organization)"/>
        <equivalence value="equivalent"/>
        <comment value="1"/>
        <dependsOn>
          <property value="references"/>
          <value value="Reference(Organization)"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="0"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-5"/>
      <display value="HD"/>
      <target>
        <code value="destination[1]"/>
        <display value="destination[1]"/>
        <equivalence value="equivalent"/>
        <comment value="-1"/>
        <dependsOn>
          <property value="references"/>
          <value value="BackboneElement"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="IF MSH-25 NOT VALUED"/>
        </product>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="0"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-6"/>
      <display value="HD"/>
      <target>
        <code value="destination.endpoint.extension-dataAbsentReason"/>
        <display value="destination.endpoint.extension-dataAbsentReason"/>
        <equivalence value="equivalent"/>
        <product>
          <property value="antlr"/>
          <value
                 value="IF MSH-6 VALUED AND MSH-5 NOT VALUED AND MSH-25 NOT VALUED"/>
        </product>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="0"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-6"/>
      <display value="HD"/>
      <target>
        <code value="destination[1].receiver(Organization)"/>
        <display value="destination[1].receiver(Organization)"/>
        <equivalence value="equivalent"/>
        <comment value="1"/>
        <dependsOn>
          <property value="references"/>
          <value value="Reference(Organization)"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="0"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-8"/>
      <display value="ST"/>
      <target>
        <code value="meta.security"/>
        <display value="meta.security"/>
        <equivalence value="equivalent"/>
        <comment value="-1"/>
        <dependsOn>
          <property value="references"/>
          <value value="string"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-9"/>
      <display value="MSG"/>
      <target>
        <code value="eventCoding"/>
        <display value="eventCoding"/>
        <equivalence value="equivalent"/>
        <comment value="1"/>
        <dependsOn>
          <property value="references"/>
          <value value="Coding"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-11"/>
      <display value="PT"/>
      <target>
        <code value="meta"/>
        <display value="meta"/>
        <equivalence value="equivalent"/>
        <comment value="-1"/>
        <dependsOn>
          <property value="references"/>
          <value value="meta"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="0"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-17"/>
      <display value="ID"/>
      <target>
        <code value="sender(Organization.address.country)"/>
        <display value="sender(Organization.address.country)"/>
        <equivalence value="equivalent"/>
        <comment value="1"/>
        <dependsOn>
          <property value="references"/>
          <value value="string"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="0"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-19"/>
      <display value="CWE"/>
      <target>
        <code value="language"/>
        <display value="language"/>
        <equivalence value="equivalent"/>
        <comment value="1"/>
        <dependsOn>
          <property value="references"/>
          <value value="code"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="0"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-22"/>
      <display value="XON"/>
      <target>
        <code value="responsible(Organization)"/>
        <display value="responsible(Organization)"/>
        <equivalence value="equivalent"/>
        <comment value="1"/>
        <dependsOn>
          <property value="references"/>
          <value value="Reference(Organization)"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="0"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-23"/>
      <display value="XON"/>
      <target>
        <code value="destination[1].receiver(Organization)"/>
        <display value="destination[1].receiver(Organization)"/>
        <equivalence value="equivalent"/>
        <comment value="-1"/>
        <dependsOn>
          <property value="references"/>
          <value value="Reference(Organization)"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="0"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-24"/>
      <display value="HD"/>
      <target>
        <code value="source"/>
        <display value="source"/>
        <equivalence value="equivalent"/>
        <comment value="1"/>
        <dependsOn>
          <property value="references"/>
          <value value="BackboneElement"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="cardinalityMin">
          <valueInteger value="0"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-25"/>
      <display value="HD"/>
      <target>
        <code value="destination[2]"/>
        <display value="destination[2]"/>
        <equivalence value="equivalent"/>
        <comment value="-1"/>
        <dependsOn>
          <property value="references"/>
          <value value="uri"/>
        </dependsOn>
      </target>
    </element>
  </group>
</ConceptMap>