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 |
{
"resourceType" : "ConceptMap",
"id" : "segment-msh-source-to-provenance",
"text" : {
"status" : "generated",
"div" : "<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>"
},
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "derived-from"
},
{
"url" : "label",
"valueString" : "Segment MSH[Source] to Provenance.fsh"
},
{
"url" : "url",
"valueUri" : "https://docs.google.com/spreadsheets/d/1F5aYk6tFCYTQd_qEaEc5G85ZcCm98R5B-sq2JGqUagk/edit#gid=0"
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/segment-msh-source-to-provenance",
"version" : "1.0.0-ballot",
"name" : "SegmentMSHSourceToProvenance",
"title" : "Segment MSH to Provenance Map",
"status" : "active",
"experimental" : true,
"date" : "2024-12-20",
"publisher" : "HL7 International / Orders and Observations",
"contact" : [
{
"name" : "HL7 Orders and Observations Workgroup",
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/orders"
}
]
}
],
"description" : "This ConceptMap represents a mapping from the HL7 V2 Segment MSH to the FHIR Provenance Resource.",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"copyright" : "Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.",
"sourceUri" : "MSH",
"targetUri" : "Provenance",
"group" : [
{
"element" : [
{
"code" : "MSH",
"target" : [
{
"code" : "entity[1].what(DocumentReference.content.attachment.url)",
"display" : "entity[1].what(DocumentReference.content.attachment.url)",
"equivalence" : "equivalent",
"comment" : "If there is an interest in holding to the original message by the recipient"
}
]
},
{
"code" : "MSH",
"target" : [
{
"code" : "entity[1].what(DocumentReference.content.attachment.data)",
"display" : "entity[1].what(DocumentReference.content.attachment.data)",
"equivalence" : "equivalent",
"comment" : "If there is an interest in holding to the original message by the recipient"
}
]
},
{
"code" : "MSH",
"target" : [
{
"code" : "entity[1].what(DocumentReference.status)",
"display" : "entity[1].what(DocumentReference.status)",
"equivalence" : "equivalent",
"comment" : "If there is an interest in holding to the original message by the recipient"
}
]
},
{
"code" : "MSH",
"target" : [
{
"code" : "entity[1].role",
"display" : "entity[1].role",
"equivalence" : "equivalent"
}
]
},
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "HD"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "MSH-3",
"display" : "Sending Application",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "Reference(Device)"
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "entity[2].what(Device.identifier)",
"display" : "entity[2].what(Device.identifier)",
"equivalence" : "equivalent"
}
]
},
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "HD"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "MSH-3",
"display" : "Sending Application",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "code"
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "entity[2].role",
"display" : "entity[2].role",
"equivalence" : "equivalent"
}
]
},
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "HD"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "MSH-4",
"display" : "Sending Facility",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "Reference(Organization)"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "agent[1].who(Organization)",
"display" : "agent[1].who(Organization)",
"equivalence" : "equivalent"
}
]
},
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "HD"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "MSH-4",
"display" : "Sending Facility",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "code"
},
{
"url" : "cardinalityMin",
"valueInteger" : 0
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "agent[1].type.coding.code",
"display" : "agent[1].type.coding.code",
"equivalence" : "equivalent"
}
]
},
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "HD"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "MSH-4",
"display" : "Sending Facility",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "uri"
},
{
"url" : "cardinalityMin",
"valueInteger" : 0
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "agent[1].type.coding.system",
"display" : "agent[1].type.coding.system",
"equivalence" : "equivalent"
}
]
},
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "DTM"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "MSH-7",
"display" : "Date/Time of Message",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "recorded",
"display" : "recorded",
"equivalence" : "equivalent",
"comment" : "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."
}
]
},
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "DTM"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "MSH-7",
"display" : "Date/Time of Message",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "cardinalityMin",
"valueInteger" : 0
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "occurred",
"display" : "occurred",
"equivalence" : "equivalent"
}
]
},
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "MSG"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "MSH-9",
"display" : "Message Type",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "string"
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "activity.coding.display",
"display" : "activity.coding.display",
"equivalence" : "equivalent"
}
]
},
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "XON"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "MSH-22",
"display" : "Sending Responsible Organization",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "Reference(Organization)"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "agent[2].who(Organization)",
"display" : "agent[2].who(Organization)",
"equivalence" : "equivalent"
}
]
},
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "XON"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "MSH-22",
"display" : "Sending Responsible Organization",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "code"
},
{
"url" : "cardinalityMin",
"valueInteger" : 0
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "agent[2].type.coding.code",
"display" : "agent[2].type.coding.code",
"equivalence" : "equivalent"
}
]
},
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "XON"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "MSH-22",
"display" : "Sending Responsible Organization",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "uri"
},
{
"url" : "cardinalityMin",
"valueInteger" : 0
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "agent[2].type.coding.system",
"display" : "agent[2].type.coding.system",
"equivalence" : "equivalent"
}
]
}
]
}
]
}