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 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-12-20 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
26MSH-26Security Classification TagCWE01
27MSH-27Security Handling InstructionsCWE0-1
28MSH-28Special Access Restriction InstructionsST0-1

Generated Narrative: ConceptMap segment-msh-transformation-to-provenance

Mapping from MSH to Provenance


Group 1 Mapping from unspecified code system to unspecified code system

Source CodeRelationshipTarget Code
MSHis equivalent toactivity.coding.code
MSHis equivalent torecorded
MSHis equivalent topolicy
MSHis equivalent toagent[1].type.coding.code
MSHis equivalent toagent[1].type.coding.system
MSHis equivalent toagent[1].who(Organization|Device)
MSHis equivalent toentity[1].what(DocumentReference.content.attachment.url)
MSHis equivalent toentity[1].what(DocumentReference.content.attachment.data)
MSHis equivalent toentity[1].what(DocumentReference.status)
MSHis equivalent toentity[1].role

Notes: