HL7 Version 2 to FHIR
0.1.0 - STU1 Ballot

This page is part of the HL7 Version 2 to FHIR (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

ConceptMap: Segment MSH to Provenance Map

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 MappingAssignmentVocabulary Mapping
(IS, ID, CE, CEN, CWE)
0MSHProvenance.recorded11/timestamp of tranformation/
0MSHProvenance.policy0-1/uri of the policy governing transformation of the v2 to FHIR/
0MSHProvenance.agent.type.coding.code1-1"assembler"
0MSHProvenance.agent.type.coding.system1-1"http://terminology.hl7.org/CodeSystem/provenance-participant-type"
0MSHagent[1].who=Reference(Organization|Device) where the Organization/Device resource points to the owner of the transformation process1-1
1MSH-1Field SeparatorST11
2MSH-2Encoding CharactersST11
3MSH-3Sending ApplicationHD01IF MSH-3 AND MSH-24 VALUEDProvenance.agent.who(Provenance.Device)Reference(Provenance.Device)HD[Device]
3MSH-3Sending ApplicationHD01IF MSH-3 AND MSH-24 VALUEDagent[2].type.coding.code="sender-application"Provenance.CodeableConcept
4MSH-4Sending FacilityHD01IF MSH-22 NOT VALUEDProvenance.agent.who(Provenance.Organization)Reference(Provenance.Organization)11HD[Organization]
4MSH-4Sending FacilityHD01IF MSH-22 NOT VALUEDProvenance.agent.type.coding.codeProvenance.code01"author"
4MSH-4Sending FacilityHD01IF MSH-22 NOT VALUEDProvenance.agent.type.coding.systemProvenance.uri01"http://terminology.hl7.org/CodeSystem/provenance-participant-type"
5MSH-5Receiving ApplicationHD01IF MSH-5 AND MSH-25 VALUEDagent[4].who(Device)="receiver-application"Reference(Provenance.Device)HD[Device]
5MSH-5Receiving ApplicationHD01IF MSH-5 AND MSH-25 VALUEDProvenance.agent.type.coding.codeProvenance.CodeableConceptMessageHeader.id
6MSH-6Receiving FacilityHD01
7MSH-7Date/Time of MessageDTM11
7MSH-7Date/Time of MessageDTM11Provenance.occuredDateTimeProvenance.dateTime01
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 OrganizationXON01Provenance.agent.who(Provenance.Organization)Reference(Provenance.Organization)11XON[Organization]
22MSH-22Sending Responsible OrganizationXON01Provenance.agent.type.coding.codeProvenance.code01"author"
22MSH-22Sending Responsible OrganizationXON01Provenance.agent.type.coding.systemProvenance.uri01"http://terminology.hl7.org/CodeSystem/provenance-participant-type"
23MSH-23Receiving Responsible OrganizationXON01
24MSH-24Sending Network AddressHD01
25MSH-25Receiving Network AddressHD01

Formats: XML, JSON, Turtle

SegmentMSHtoProvenance (http://hl7.org/fhir/uv/v2mappings/segment-msh-to-provenance)

Mapping from MSH to Provenance

ACTIVE (not intended for production usage). Published on 2020-08-12 by HL7 International (HL7 Orders and Observations Workgroup: http://hl7.org/Special/committ..., Keith W. Boone: kboone@ainq.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.


Source Concept DetailsRelationshipDestination Concept Details
Code from Code from Code from Code from Code from
MSH/timestamp of tranformation/is equivalent torecorded
MSH/uri of the policy governing transformation of the v2 to FHIR/is equivalent topolicy
MSH"assembler"is equivalent toagent[1].type.coding.code
MSH"http://terminology.hl7.org/CodeSystem/provenance-participant-type"is equivalent toagent[1].type.coding.system
MSH-3HD[Device]is equivalent toagent[2].who(Device)IF MSH-3 AND MSH-24 VALUED
MSH-4HD[Organization]is equivalent toagent[3].who(Organization)IF MSH-22 NOT VALUED
MSH-4"author"is equivalent toagent[3].type.coding.codeIF MSH-22 NOT VALUED
MSH-4"http://terminology.hl7.org/CodeSystem/provenance-participant-type"is equivalent toagent[3].type.coding.systemIF MSH-22 NOT VALUED
MSH-5MessageHeader.idis equivalent toagent[4].type.coding.codeIF MSH-5 AND MSH-25 VALUED
MSH-7is equivalent tooccuredDateTime
MSH-22XON[Organization]is equivalent toagent[5].who(Organization)
MSH-22"author"is equivalent toagent[5].type.coding.code
MSH-22"http://terminology.hl7.org/CodeSystem/provenance-participant-type"is equivalent toagent[5].type.coding.system

Notes: