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
Active as of 2024-12-20 |
<ConceptMap xmlns="http://hl7.org/fhir">
<id value="segment-msh-source-to-provenance"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ConceptMap segment-msh-source-to-provenance</b></p><a name="segment-msh-source-to-provenance"> </a><a name="hcsegment-msh-source-to-provenance"> </a><a name="segment-msh-source-to-provenance-en-US"> </a><p>Mapping from MSH to <a href="http://hl7.org/fhir/R4/provenance.html">Provenance</a></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/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>entity[1].what(DocumentReference.content.attachment.url)</td><td>If there is an interest in holding to the original message by the recipient</td></tr><tr><td>MSH</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>entity[1].what(DocumentReference.content.attachment.data)</td><td>If there is an interest in holding to the original message by the recipient</td></tr><tr><td>MSH</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>entity[1].what(DocumentReference.status)</td><td>If there is an interest in holding to the original message by the recipient</td></tr><tr><td>MSH</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>entity[1].role</td><td/></tr><tr><td>MSH-3 (Sending Application)</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>entity[2].what(Device.identifier)</td><td/></tr><tr><td>MSH-3 (Sending Application)</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>entity[2].role</td><td/></tr><tr><td>MSH-4 (Sending Facility)</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>agent[1].who(Organization)</td><td/></tr><tr><td>MSH-4 (Sending Facility)</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>agent[1].type.coding.code</td><td/></tr><tr><td>MSH-4 (Sending Facility)</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>agent[1].type.coding.system</td><td/></tr><tr><td>MSH-7 (Date/Time of Message)</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>recorded</td><td>We note that this could have been mapped to the Provenance.occurred[x] attribute, but since Provenance.recorded is required and these two times are virtually the same, we opted to map to Provenance.recorded.</td></tr><tr><td>MSH-7 (Date/Time of Message)</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>occurred</td><td/></tr><tr><td>MSH-9 (Message Type)</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>activity.coding.display</td><td/></tr><tr><td>MSH-22 (Sending Responsible Organization)</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>agent[2].who(Organization)</td><td/></tr><tr><td>MSH-22 (Sending Responsible Organization)</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>agent[2].type.coding.code</td><td/></tr><tr><td>MSH-22 (Sending Responsible Organization)</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td>agent[2].type.coding.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[Source] 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-source-to-provenance"/>
<version value="1.0.0-ballot"/>
<name value="SegmentMSHSourceToProvenance"/>
<title value="Segment MSH to Provenance Map"/>
<status value="active"/>
<experimental value="true"/>
<date value="2024-12-20"/>
<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 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>
<code
value="entity[1].what(DocumentReference.content.attachment.url)"/>
<display
value="entity[1].what(DocumentReference.content.attachment.url)"/>
<equivalence value="equivalent"/>
<comment
value="If there is an interest in holding to the original message by the recipient"/>
</target>
</element>
<element>
<code value="MSH"/>
<target>
<code
value="entity[1].what(DocumentReference.content.attachment.data)"/>
<display
value="entity[1].what(DocumentReference.content.attachment.data)"/>
<equivalence value="equivalent"/>
<comment
value="If there is an interest in holding to the original message by the recipient"/>
</target>
</element>
<element>
<code value="MSH"/>
<target>
<code value="entity[1].what(DocumentReference.status)"/>
<display value="entity[1].what(DocumentReference.status)"/>
<equivalence value="equivalent"/>
<comment
value="If there is an interest in holding to the original message by the recipient"/>
</target>
</element>
<element>
<code value="MSH"/>
<target>
<code value="entity[1].role"/>
<display value="entity[1].role"/>
<equivalence value="equivalent"/>
</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="entity[2].what(Device.identifier)"/>
<display value="entity[2].what(Device.identifier)"/>
<equivalence value="equivalent"/>
</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="code"/>
</extension>
</extension>
<code value="entity[2].role"/>
<display value="entity[2].role"/>
<equivalence value="equivalent"/>
</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[1].who(Organization)"/>
<display value="agent[1].who(Organization)"/>
<equivalence value="equivalent"/>
</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[1].type.coding.code"/>
<display value="agent[1].type.coding.code"/>
<equivalence value="equivalent"/>
</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[1].type.coding.system"/>
<display value="agent[1].type.coding.system"/>
<equivalence value="equivalent"/>
</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="cardinalityMin">
<valueInteger value="1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="recorded"/>
<display value="recorded"/>
<equivalence value="equivalent"/>
<comment
value="We note that this could have been mapped to the Provenance.occurred[x] attribute, but since Provenance.recorded is required and these two times are virtually the same, we opted to map to Provenance.recorded."/>
</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="cardinalityMin">
<valueInteger value="0"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="occurred"/>
<display value="occurred"/>
<equivalence value="equivalent"/>
</target>
</element>
<element>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="MSG"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="1"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="MSH-9"/>
<display value="Message Type"/>
<target>
<extension
url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
<extension url="type">
<valueCode value="string"/>
</extension>
</extension>
<code value="activity.coding.display"/>
<display value="activity.coding.display"/>
<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[2].who(Organization)"/>
<display value="agent[2].who(Organization)"/>
<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="code"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="0"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="agent[2].type.coding.code"/>
<display value="agent[2].type.coding.code"/>
<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="uri"/>
</extension>
<extension url="cardinalityMin">
<valueInteger value="0"/>
</extension>
<extension url="cardinalityMax">
<valueInteger value="1"/>
</extension>
</extension>
<code value="agent[2].type.coding.system"/>
<display value="agent[2].type.coding.system"/>
<equivalence value="equivalent"/>
</target>
</element>
</group>
</ConceptMap>