HL7 Version 2 to FHIR
1.0.0 - STU 1

HL7 Version 2 to FHIR - Downloaded Version 1.0.0 See the Directory of published versions

## : Segment MSH to Bundle Map - XML Representation

Page standards status: Informative

Raw xml | Download

    <ConceptMap xmlns="http://hl7.org/fhir">
      <id value="segment-msh-to-bundle"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ConceptMap segment-msh-to-bundle</b></p><a name="segment-msh-to-bundle"> </a><a name="hcsegment-msh-to-bundle"> </a><p>Mapping from (not specified) to (not specified)</p><br/><p><b>Group 1 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></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>MSH</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>type</td><td>Note that the assignment is according to the mapping principles for mapping definitions only.  There is no expectation that this is the actual Bundle.type being mapped to based on local implementation considerations.  Unless the progression actually is a FHIR Message.</td></tr><tr><td>MSH-7 (Date/Time of Message)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>timestamp</td><td>Note that MSH-7 does not require a time offset while Bundle.timestamp does.  Implementers should configure the actual mapping according to local context of the transaction.</td></tr><tr><td>MSH-10 (Message Control ID)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>identifier.value</td><td/></tr><tr><td>MSH-10 (Message Control ID)</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td>identifier.system</td><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 Bundle.fsh"/>
        </extension>
        <extension url="url">
          <valueUri
                    value="https://docs.google.com/spreadsheets/d/1oOy6JW4Mv5VL8DsoA05bYZCUa1JqP4GCYNPF5GJTLxQ/edit#gid=0"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
        <valueCode value="oo"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="informative">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
            <valueCanonical
                            value="http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings"/>
          </extension>
        </valueCode>
      </extension>
      <url
           value="http://hl7.org/fhir/uv/v2mappings/ConceptMap/segment-msh-to-bundle"/>
      <version value="1.0.0"/>
      <name value="SegmentMSHToBundle"/>
      <title value="Segment MSH to Bundle Map"/>
      <status value="active"/>
      <experimental value="true"/>
      <date value="2025-08-25"/>
      <publisher value="HL7 International / Orders and Observations"/>
      <contact>
        <name value="HL7 Orders and Observations Workgroup"/>
        <telecom>
          <system value="url"/>
          <value value="http://www.hl7.org/Special/committees/orders"/>
        </telecom>
      </contact>
      <description
                   value="This ConceptMap represents a mapping from the HL7 V2 Segment MSH to the FHIR Bundle Resource."/>
      <jurisdiction>
        <coding>
          <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
          <code value="001"/>
        </coding>
      </jurisdiction>
      <copyright
                 value="Copyright (c) 2025, HL7 International, Inc., All Rights Reserved."/>
      <group>
        <element>
          <code value="MSH"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="code"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;message&quot;"/>
              </extension>
            </extension>
            <code value="type"/>
            <display value="type"/>
            <equivalence value="equivalent"/>
            <comment
                     value="Note that the assignment is according to the mapping principles for mapping definitions only.  There is no expectation that this is the actual Bundle.type being mapped to based on local implementation considerations.  Unless the progression actually is a FHIR Message."/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="DTM"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="MSH-7"/>
          <display value="Date/Time of Message"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="instant"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="timestamp"/>
            <display value="timestamp"/>
            <equivalence value="equivalent"/>
            <comment
                     value="Note that MSH-7 does not require a time offset while Bundle.timestamp does.  Implementers should configure the actual mapping according to local context of the transaction."/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="ST"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="MSH-10"/>
          <display value="Message Control ID"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="string"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="identifier.value"/>
            <display value="identifier.value"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="ST"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="1"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="MSH-10"/>
          <display value="Message Control ID"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="uri"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="0"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString value="/to be determined by the implementer/"/>
              </extension>
            </extension>
            <code value="identifier.system"/>
            <display value="identifier.system"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
      </group>
    </ConceptMap>