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 Provenance Map - XML Representation

Raw xml | Download


<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="segment-msh-to-provenance"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><h2>SegmentMSHtoProvenance (http://hl7.org/fhir/uv/v2mappings/segment-msh-to-provenance)</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/provenance.html">Provenance</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 Provenance Resource.</p>
</div><br/><table class="grid"><tr><td colspan="4"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan="3"><b>Destination Concept Details</b></td></tr><tr><td colspan="2"><b>Code</b> from </td><td><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></tr><tr><td style="border-right-width: 0px">MSH</td><td style="border-left-width: 0px"></td><td/><td>/timestamp of tranformation/</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">recorded</td><td style="border-left-width: 0px"></td><td/></tr><tr><td style="border-right-width: 0px">MSH</td><td style="border-left-width: 0px"></td><td/><td>/uri of the policy governing transformation of the v2 to FHIR/</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">policy</td><td style="border-left-width: 0px"></td><td/></tr><tr><td style="border-right-width: 0px">MSH</td><td style="border-left-width: 0px"></td><td/><td>&quot;assembler&quot;</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">agent[1].type.coding.code</td><td style="border-left-width: 0px"></td><td/></tr><tr><td style="border-right-width: 0px">MSH</td><td style="border-left-width: 0px"></td><td/><td>&quot;http://terminology.hl7.org/CodeSystem/provenance-participant-type&quot;</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">agent[1].type.coding.system</td><td style="border-left-width: 0px"></td><td/></tr><tr><td style="border-right-width: 0px">MSH-3</td><td style="border-left-width: 0px"></td><td>HD[Device]</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">agent[2].who(Device)</td><td style="border-left-width: 0px"></td><td>IF MSH-3 AND MSH-24 VALUED</td></tr><tr><td style="border-right-width: 0px">MSH-4</td><td style="border-left-width: 0px"></td><td>HD[Organization]</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">agent[3].who(Organization)</td><td style="border-left-width: 0px"></td><td>IF MSH-22 NOT VALUED</td></tr><tr><td style="border-right-width: 0px">MSH-4</td><td style="border-left-width: 0px"></td><td/><td>&quot;author&quot;</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">agent[3].type.coding.code</td><td style="border-left-width: 0px"></td><td>IF MSH-22 NOT VALUED</td></tr><tr><td style="border-right-width: 0px">MSH-4</td><td style="border-left-width: 0px"></td><td/><td>&quot;http://terminology.hl7.org/CodeSystem/provenance-participant-type&quot;</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">agent[3].type.coding.system</td><td style="border-left-width: 0px"></td><td>IF MSH-22 NOT VALUED</td></tr><tr><td style="border-right-width: 0px">MSH-5</td><td style="border-left-width: 0px"></td><td/><td>MessageHeader.id</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">agent[4].type.coding.code</td><td style="border-left-width: 0px"></td><td>IF MSH-5 AND MSH-25 VALUED</td></tr><tr><td style="border-right-width: 0px">MSH-7</td><td style="border-left-width: 0px"></td><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">occuredDateTime</td><td style="border-left-width: 0px"></td><td/></tr><tr><td style="border-right-width: 0px">MSH-22</td><td style="border-left-width: 0px"></td><td>XON[Organization]</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">agent[5].who(Organization)</td><td style="border-left-width: 0px"></td><td/></tr><tr><td style="border-right-width: 0px">MSH-22</td><td style="border-left-width: 0px"></td><td/><td>&quot;author&quot;</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">agent[5].type.coding.code</td><td style="border-left-width: 0px"></td><td/></tr><tr><td style="border-right-width: 0px">MSH-22</td><td style="border-left-width: 0px"></td><td/><td>&quot;http://terminology.hl7.org/CodeSystem/provenance-participant-type&quot;</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">agent[5].type.coding.system</td><td style="border-left-width: 0px"></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 Provenance.fsh"/>
    </extension>
    <extension url="url">
      <valueUri
                value="https://docs.google.com/spreadsheets/d/1F5aYk6tFCYTQd_qEaEc5G85ZcCm98R5B-sq2JGqUagk/edit#gid=0"/>
    </extension>
  </extension>
  <url value="http://hl7.org/fhir/uv/v2mappings/segment-msh-to-provenance"/>
  <version value="0.1.0"/>
  <name value="SegmentMSHtoProvenance"/>
  <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 Provenance 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="Provenance"/>
  <group>
    <element>
      <code value="MSH"/>
      <target>
        <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="recorded"/>
        <display value="recorded"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value value="/timestamp of tranformation/"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <code value="MSH"/>
      <target>
        <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="policy"/>
        <display value="policy"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value
                 value="/uri of the policy governing transformation of the v2 to FHIR/"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <code value="MSH"/>
      <target>
        <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="agent[1].type.coding.code"/>
        <display value="agent[1].type.coding.code"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value value="&quot;assembler&quot;"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <code value="MSH"/>
      <target>
        <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="agent[1].type.coding.system"/>
        <display value="agent[1].type.coding.system"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value
                 value="&quot;http://terminology.hl7.org/CodeSystem/provenance-participant-type&quot;"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="HD"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-3"/>
      <display value="Sending Application"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="Reference(Device)"/>
          </extension>
        </extension>
        <code value="agent[2].who(Device)"/>
        <display value="agent[2].who(Device)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="HD[Device]"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="IF MSH-3 AND MSH-24 VALUED"/>
        </product>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="HD"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-4"/>
      <display value="Sending Facility"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="Reference(Organization)"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="1"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code value="agent[3].who(Organization)"/>
        <display value="agent[3].who(Organization)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="HD[Organization]"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="IF MSH-22 NOT VALUED"/>
        </product>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="HD"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-4"/>
      <display value="Sending Facility"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="code"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code value="agent[3].type.coding.code"/>
        <display value="agent[3].type.coding.code"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value value="&quot;author&quot;"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="IF MSH-22 NOT VALUED"/>
        </product>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="HD"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-4"/>
      <display value="Sending Facility"/>
      <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>
        <code value="agent[3].type.coding.system"/>
        <display value="agent[3].type.coding.system"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value
                 value="&quot;http://terminology.hl7.org/CodeSystem/provenance-participant-type&quot;"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="IF MSH-22 NOT VALUED"/>
        </product>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="HD"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-5"/>
      <display value="Receiving Application"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="CodeableConcept"/>
          </extension>
        </extension>
        <code value="agent[4].type.coding.code"/>
        <display value="agent[4].type.coding.code"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value value="MessageHeader.id"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="IF MSH-5 AND MSH-25 VALUED"/>
        </product>
      </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="dateTime"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code value="occuredDateTime"/>
        <display value="occuredDateTime"/>
        <equivalence value="equivalent"/>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="XON"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-22"/>
      <display value="Sending Responsible Organization"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="Reference(Organization)"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="1"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code value="agent[5].who(Organization)"/>
        <display value="agent[5].who(Organization)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="XON[Organization]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="XON"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-22"/>
      <display value="Sending Responsible Organization"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="code"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <code value="agent[5].type.coding.code"/>
        <display value="agent[5].type.coding.code"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value value="&quot;author&quot;"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="XON"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="MSH-22"/>
      <display value="Sending Responsible Organization"/>
      <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>
        <code value="agent[5].type.coding.system"/>
        <display value="agent[5].type.coding.system"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value
                 value="&quot;http://terminology.hl7.org/CodeSystem/provenance-participant-type&quot;"/>
        </dependsOn>
      </target>
    </element>
  </group>
</ConceptMap>