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

This page is part of the HL7 Version 2 to FHIR (v1.0.0-ballot: STU1 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions

: Segment MSH[Transformation] to Provenance Map - XML Representation

Active as of 2023-12-19

Raw xml | Download



<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="segment-msh-transformation-to-provenance"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p>Mapping from MSH to <a href="http://hl7.org/fhir/R4/provenance.html">Provenance</a></p><p>ACTIVE (not intended for production usage). Published on 2023-12-19 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 Provenance 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="3"><b>Target Concept Details</b></td><td colspan="3"><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><b>narrative</b></td></tr><tr><td style="border-right-width: 0px">MSH</td><td style="border-left-width: 0px"></td><td>&quot;v2-FHIR transformation&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">activity.coding.code</td><td style="border-left-width: 0px">activity.coding.code</td><td/></tr><tr><td style="border-right-width: 0px">MSH</td><td style="border-left-width: 0px"></td><td>/timestamp of tranformation/</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">recorded</td><td style="border-left-width: 0px">recorded</td><td/></tr><tr><td style="border-right-width: 0px">MSH</td><td style="border-left-width: 0px"></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" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">policy</td><td style="border-left-width: 0px">policy</td><td/></tr><tr><td style="border-right-width: 0px">MSH</td><td style="border-left-width: 0px"></td><td>&quot;assembler&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">agent[1].type.coding.code</td><td style="border-left-width: 0px">agent[1].type.coding.code</td><td/></tr><tr><td style="border-right-width: 0px">MSH</td><td style="border-left-width: 0px"></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" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">agent[1].type.coding.system</td><td style="border-left-width: 0px">agent[1].type.coding.system</td><td/></tr><tr><td style="border-right-width: 0px">MSH</td><td style="border-left-width: 0px"></td><td>/the organization owning or device performing the transformation by the mapping tool/</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">agent[1].who(Organization|Device)</td><td style="border-left-width: 0px">agent[1].who(Organization|Device)</td><td/></tr><tr><td style="border-right-width: 0px">MSH</td><td style="border-left-width: 0px"></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">entity[1].what(DocumentReference.content.attachment.url)</td><td style="border-left-width: 0px">entity[1].what(DocumentReference.content.attachment.url)</td><td>when you hold on to/persist the v2 message in a data store</td></tr><tr><td style="border-right-width: 0px">MSH</td><td style="border-left-width: 0px"></td><td>/v2.txt or v2.xml into base 64/</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">entity[1].what(DocumentReference.content.attachment.data)</td><td style="border-left-width: 0px">entity[1].what(DocumentReference.content.attachment.data)</td><td>when you do not hold on to/persist the v2 message in a data store</td></tr><tr><td style="border-right-width: 0px">MSH</td><td style="border-left-width: 0px"></td><td>&quot;current&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">entity[1].what(DocumentReference.status)</td><td style="border-left-width: 0px">entity[1].what(DocumentReference.status)</td><td/></tr><tr><td style="border-right-width: 0px">MSH</td><td style="border-left-width: 0px"></td><td>&quot;source&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">entity[1].role</td><td style="border-left-width: 0px">entity[1].role</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[Transformation] to Provenance.fsh"/>
    </extension>
    <extension url="url">
      <valueUri
                value="https://docs.google.com/spreadsheets/d/1byfzqOfOvIVdRkHv2Tto5a-a0YMYWWP0eryaZBvibIo/edit#gid=0"/>
    </extension>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="oo"/>
  </extension>
  <url
       value="http://hl7.org/fhir/uv/v2mappings/segment-msh-transformation-to-provenance"/>
  <version value="1.0.0-ballot"/>
  <name value="SegmentMSHTransformationToProvenance"/>
  <title value="Segment MSH[Transformation] to Provenance Map"/>
  <status value="active"/>
  <experimental value="true"/>
  <date value="2023-12-19"/>
  <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 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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="activity.coding.code"/>
        <display value="activity.coding.code"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value value="&quot;v2-FHIR transformation&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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <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="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="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="type">
            <valueCode value="url"/>
          </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="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>
      <code value="MSH"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="Reference(Organization|Device)"/>
          </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="agent[1].who(Organization|Device)"/>
        <display value="agent[1].who(Organization|Device)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value
                 value="/the organization owning or device performing the transformation by the mapping tool/"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <code value="MSH"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code
              value="entity[1].what(DocumentReference.content.attachment.url)"/>
        <display
                 value="entity[1].what(DocumentReference.content.attachment.url)"/>
        <equivalence value="equivalent"/>
        <product>
          <property value="narrative"/>
          <value
                 value="when you hold on to/persist the v2 message in a data store"/>
        </product>
      </target>
    </element>
    <element>
      <code value="MSH"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code
              value="entity[1].what(DocumentReference.content.attachment.data)"/>
        <display
                 value="entity[1].what(DocumentReference.content.attachment.data)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value value="/v2.txt or v2.xml into base 64/"/>
        </dependsOn>
        <product>
          <property value="narrative"/>
          <value
                 value="when you do not hold on to/persist the v2 message in a data store"/>
        </product>
      </target>
    </element>
    <element>
      <code value="MSH"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="entity[1].what(DocumentReference.status)"/>
        <display value="entity[1].what(DocumentReference.status)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value value="&quot;current&quot;"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <code value="MSH"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="entity[1].role"/>
        <display value="entity[1].role"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value value="&quot;source&quot;"/>
        </dependsOn>
      </target>
    </element>
  </group>
</ConceptMap>