HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

HL7 Version 2 to FHIR, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2-to-fhir/ and changes regularly. See the Directory of published versions

: Segment MSH to Bundle Map - XML Representation

Active as of 2024-04-24

Raw xml | Download



<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="segment-msh-to-bundle"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p>Mapping from MSH to <a href="http://hl7.org/fhir/R4/bundle.html">Bundle</a></p><p>ACTIVE (not intended for production usage). Published on 2024-04-24 by HL7 International / Orders and Observations (HL7 Orders and Observations Workgroup: <a href="http://www.hl7.org/Special/committees/orders">http://www.hl7.org/Special/com...</a>, Keith W. Boone: <a href="mailto:kboone@ainq.com">kboone@ainq.com</a>, Rob Hausam: <a href="mailto:rrhausam@gmail.com">rrhausam@gmail.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 Bundle Resource.</p>
</div><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 colspan="3"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan="2"><b>Target Concept Details</b></td><td><b>Comment</b></td><td colspan="2"><b>Properties</b></td></tr><tr><td colspan="2"><b>Codes</b> from </td><td><b>value</b></td><td/><td colspan="2"><b>Codes</b> from </td><td/></tr><tr><td style="border-right-width: 0px">MSH</td><td style="border-left-width: 0px"></td><td>&quot;message&quot;</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">type</td><td style="border-left-width: 0px">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 style="border-right-width: 0px">MSH-7</td><td style="border-left-width: 0px">Date/Time of Message</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">timestamp</td><td style="border-left-width: 0px">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 style="border-right-width: 0px">MSH-10</td><td style="border-left-width: 0px">Message Control ID</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier.value</td><td style="border-left-width: 0px">identifier.value</td><td/></tr><tr><td style="border-right-width: 0px">MSH-10</td><td style="border-left-width: 0px">Message Control ID</td><td>/to be determined by the implementer/</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier.system</td><td style="border-left-width: 0px">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>
  <url value="http://hl7.org/fhir/uv/v2mappings/segment-msh-to-bundle"/>
  <version value="1.0.0-ballot"/>
  <name value="SegmentMSHToBundle"/>
  <title value="Segment MSH to Bundle Map"/>
  <status value="active"/>
  <experimental value="true"/>
  <date value="2024-04-24"/>
  <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>
  <contact>
    <name value="Keith W. Boone"/>
    <telecom>
      <system value="email"/>
      <value value="kboone@ainq.com"/>
    </telecom>
  </contact>
  <contact>
    <name value="Rob Hausam"/>
    <telecom>
      <system value="email"/>
      <value value="rrhausam@gmail.com"/>
    </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) 2020, HL7 International, Inc., All Rights Reserved."/>
  <sourceUri value="MSH"/>
  <targetUri value="Bundle"/>
  <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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <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."/>
        <dependsOn>
          <property value="value"/>
          <value value="&quot;message&quot;"/>
        </dependsOn>
      </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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="identifier.system"/>
        <display value="identifier.system"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value value="/to be determined by the implementer/"/>
        </dependsOn>
      </target>
    </element>
  </group>
</ConceptMap>