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

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

ConceptMap: Segment MSH[Transformation] to Provenance Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/segment-msh-transformation-to-provenance Version: 1.0.0-ballot
Active as of 2024-04-24 Computable Name: SegmentMSHTransformationToProvenance

Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Segment MSH to the FHIR Provenance Resource.

This ConceptMap represents the mapping from the HL7 V2 MSH Segment to the FHIR Provenance Resource. See also the FHIR Shorthand or the CSV Source.

HL7 v2Condition (IF True, args)HL7 FHIRComments
Sort OrderIdentifierNameData TypeCardinality - MinCardinality - MaxComputable ANTLRComputable FHIRPathNarrativeFHIR AttributeExtensionData TypeCardinality - MinCardinality - MaxData Type MappingVocabulary Mapping
(IS, ID, CE, CEN, CWE)
Assignment
0MSHProvenance.activity.coding.code"v2-FHIR transformation"
0MSHProvenance.recorded11/timestamp of tranformation/
0MSHProvenance.policy0-1/uri of the policy governing transformation of the v2 to FHIR/
0MSHProvenance.agent.type.coding.codeProvenance.string01"assembler"
0MSHProvenance.agent.type.coding.systemProvenance.url01"http://terminology.hl7.org/CodeSystem/provenance-participant-type"
0MSHProvenance.agent.who(Provenance.Organization|Device)Reference(Provenance.Organization|Device)11/the organization owning or device performing the transformation by the mapping tool/
0MSHwhen you hold on to/persist the v2 message in a data storeProvenance.entity.what(Provenance.DocumentReference.content.attachment.url)
0MSHwhen you do not hold on to/persist the v2 message in a data storeProvenance.entity.what(Provenance.DocumentReference.content.attachment.data)/v2.txt or v2.xml into base 64/
0MSHProvenance.entity.what(Provenance.DocumentReference.status)"current"
0MSHProvenance.entity.role"source"
1MSH-1Field SeparatorST11
2MSH-2Encoding CharactersST11
3MSH-3Sending ApplicationHD01
4MSH-4Sending FacilityHD01
5MSH-5Receiving ApplicationHD01
6MSH-6Receiving FacilityHD01
7MSH-7Date/Time of MessageDTM11
8MSH-8SecurityST01
9MSH-9Message TypeMSG11
10MSH-10Message Control IDST11
11MSH-11Processing IDPT11
12MSH-12Version IDVID11
13MSH-13Sequence NumberNM01
14MSH-14Continuation PointerST01
15MSH-15Accept Acknowledgment TypeID01
16MSH-16Application Acknowledgment TypeID01
17MSH-17Country CodeID01
18MSH-18Character SetID0-1
19MSH-19Principal Language Of MessageCWE01
20MSH-20Alternate Character Set Handling SchemeID01
21MSH-21Message Profile IdentifierEI0-1
22MSH-22Sending Responsible OrganizationXON01
22MSH-22Sending Responsible OrganizationXON01
23MSH-23Receiving Responsible OrganizationXON01
24MSH-24Sending Network AddressHD01
25MSH-25Receiving Network AddressHD01

Mapping from MSH to Provenance

ACTIVE (not intended for production usage). Published on 2024-04-24 by HL7 International / Orders and Observations (HL7 Orders and Observations Workgroup: http://www.hl7.org/Special/com..., Keith W. Boone: kboone@ainq.com, Rob Hausam: rrhausam@gmail.com). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Segment MSH to the FHIR Provenance Resource.


Group 1 Mapping from unspecified code system to unspecified code system

Source Concept DetailsRelationshipTarget Concept DetailsProperties
Codes from valueCodes from narrative
MSH"v2-FHIR transformation"is equivalent toactivity.coding.codeactivity.coding.code
MSH/timestamp of tranformation/is equivalent torecordedrecorded
MSH/uri of the policy governing transformation of the v2 to FHIR/is equivalent topolicypolicy
MSH"assembler"is equivalent toagent[1].type.coding.codeagent[1].type.coding.code
MSH"http://terminology.hl7.org/CodeSystem/provenance-participant-type"is equivalent toagent[1].type.coding.systemagent[1].type.coding.system
MSH/the organization owning or device performing the transformation by the mapping tool/is equivalent toagent[1].who(Organization|Device)agent[1].who(Organization|Device)
MSHis equivalent toentity[1].what(DocumentReference.content.attachment.url)entity[1].what(DocumentReference.content.attachment.url)when you hold on to/persist the v2 message in a data store
MSH/v2.txt or v2.xml into base 64/is equivalent toentity[1].what(DocumentReference.content.attachment.data)entity[1].what(DocumentReference.content.attachment.data)when you do not hold on to/persist the v2 message in a data store
MSH"current"is equivalent toentity[1].what(DocumentReference.status)entity[1].what(DocumentReference.status)
MSH"source"is equivalent toentity[1].roleentity[1].role

Notes: