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-07-28 |
{
"resourceType" : "ConceptMap",
"id" : "segment-msh-transformation-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-transformation-to-provenance</b></p><a name=\"segment-msh-transformation-to-provenance\"> </a><a name=\"hcsegment-msh-transformation-to-provenance\"> </a><a name=\"segment-msh-transformation-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 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>"v2-FHIR transformation"</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 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/extensions/5.1.0/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/extensions/5.1.0/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>"assembler"</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 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>"http://terminology.hl7.org/CodeSystem/provenance-participant-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 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/extensions/5.1.0/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/extensions/5.1.0/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/extensions/5.1.0/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>"current"</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 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>"source"</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 style=\"border-right-width: 0px\">entity[1].role</td><td style=\"border-left-width: 0px\">entity[1].role</td><td/></tr></table></div>"
},
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "derived-from"
},
{
"url" : "label",
"valueString" : "Segment MSH[Transformation] to Provenance.fsh"
},
{
"url" : "url",
"valueUri" : "https://docs.google.com/spreadsheets/d/1byfzqOfOvIVdRkHv2Tto5a-a0YMYWWP0eryaZBvibIo/edit#gid=0"
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/segment-msh-transformation-to-provenance",
"version" : "1.0.0-ballot",
"name" : "SegmentMSHTransformationToProvenance",
"title" : "Segment MSHnull to Provenance Map",
"status" : "active",
"experimental" : true,
"date" : "2024-07-28",
"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" : [
{
"modifierExtension" : [
{
"url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
"valueCode" : "equivalent"
}
],
"code" : "activity.coding.code",
"display" : "activity.coding.code",
"equivalence" : "equivalent",
"dependsOn" : [
{
"property" : "value",
"value" : "\"v2-FHIR transformation\""
}
]
}
]
},
{
"code" : "MSH",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"modifierExtension" : [
{
"url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
"valueCode" : "equivalent"
}
],
"code" : "recorded",
"display" : "recorded",
"equivalence" : "equivalent",
"dependsOn" : [
{
"property" : "value",
"value" : "/timestamp of tranformation/"
}
]
}
]
},
{
"code" : "MSH",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "cardinalityMin",
"valueInteger" : 0
},
{
"url" : "cardinalityMax",
"valueInteger" : -1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"modifierExtension" : [
{
"url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
"valueCode" : "equivalent"
}
],
"code" : "policy",
"display" : "policy",
"equivalence" : "equivalent",
"dependsOn" : [
{
"property" : "value",
"value" : "/uri of the policy governing transformation of the v2 to FHIR/"
}
]
}
]
},
{
"code" : "MSH",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "string"
},
{
"url" : "cardinalityMin",
"valueInteger" : 0
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"modifierExtension" : [
{
"url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
"valueCode" : "equivalent"
}
],
"code" : "agent[1].type.coding.code",
"display" : "agent[1].type.coding.code",
"equivalence" : "equivalent",
"dependsOn" : [
{
"property" : "value",
"value" : "\"assembler\""
}
]
}
]
},
{
"code" : "MSH",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "url"
},
{
"url" : "cardinalityMin",
"valueInteger" : 0
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"modifierExtension" : [
{
"url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
"valueCode" : "equivalent"
}
],
"code" : "agent[1].type.coding.system",
"display" : "agent[1].type.coding.system",
"equivalence" : "equivalent",
"dependsOn" : [
{
"property" : "value",
"value" : "\"http://terminology.hl7.org/CodeSystem/provenance-participant-type\""
}
]
}
]
},
{
"code" : "MSH",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "Reference(Organization|Device)"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"modifierExtension" : [
{
"url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
"valueCode" : "equivalent"
}
],
"code" : "agent[1].who(Organization|Device)",
"display" : "agent[1].who(Organization|Device)",
"equivalence" : "equivalent",
"dependsOn" : [
{
"property" : "value",
"value" : "/the organization owning or device performing the transformation by the mapping tool/"
}
]
}
]
},
{
"code" : "MSH",
"target" : [
{
"modifierExtension" : [
{
"url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
"valueCode" : "equivalent"
}
],
"code" : "entity[1].what(DocumentReference.content.attachment.url)",
"display" : "entity[1].what(DocumentReference.content.attachment.url)",
"equivalence" : "equivalent",
"product" : [
{
"property" : "narrative",
"value" : "when you hold on to/persist the v2 message in a data store"
}
]
}
]
},
{
"code" : "MSH",
"target" : [
{
"modifierExtension" : [
{
"url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
"valueCode" : "equivalent"
}
],
"code" : "entity[1].what(DocumentReference.content.attachment.data)",
"display" : "entity[1].what(DocumentReference.content.attachment.data)",
"equivalence" : "equivalent",
"dependsOn" : [
{
"property" : "value",
"value" : "/v2.txt or v2.xml into base 64/"
}
],
"product" : [
{
"property" : "narrative",
"value" : "when you do not hold on to/persist the v2 message in a data store"
}
]
}
]
},
{
"code" : "MSH",
"target" : [
{
"modifierExtension" : [
{
"url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
"valueCode" : "equivalent"
}
],
"code" : "entity[1].what(DocumentReference.status)",
"display" : "entity[1].what(DocumentReference.status)",
"equivalence" : "equivalent",
"dependsOn" : [
{
"property" : "value",
"value" : "\"current\""
}
]
}
]
},
{
"code" : "MSH",
"target" : [
{
"modifierExtension" : [
{
"url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
"valueCode" : "equivalent"
}
],
"code" : "entity[1].role",
"display" : "entity[1].role",
"equivalence" : "equivalent",
"dependsOn" : [
{
"property" : "value",
"value" : "\"source\""
}
]
}
]
}
]
}
]
}