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 MessageHeader Map

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

</thead> </table>
HL7 v2Condition (IF True, args)HL7 FHIRComments
Sort OrderIdentifierSyntaxNameCardinality - MinCardinality - MaxComputable ANTLRComputable FHIRPathNarrativePrimary TargetSegment MapReferences
1MSH-1Field SeparatorST11
2MSH-2Encoding CharactersST11
3MSH-3Sending ApplicationHD01IF MSH-24 NOT VALUEDMessageHeader.sourceBackboneElement1
4MSH-4Sending FacilityHD01MessageHeader.sender(MessageHeader.Organization)Reference(Organization)1
5MSH-5Receiving ApplicationHD01IF MSH-25 NOT VALUEDMessageHeader.destinationBackboneElement-1
6MSH-6Receiving FacilityHD01IF MSH-6 VALUED AND MSH-5 NOT VALUED AND MSH-25 NOT VALUEDMessageHeader.destination.endpoint.extension-dataAbsentReason
6MSH-6Receiving FacilityHD01MessageHeader.destination.receiver(MessageHeader.Organization)Reference(Organization)1
7MSH-7Date/Time of MessageDTM11MessageHeader.#ext-timestamp#dateTime
7MSH-7Date/Time of MessageDTM11
8MSH-8SecurityST01meta.securitystring-1
9MSH-9Message TypeMSG11MessageHeader.eventCodingCoding1
10MSH-10Message Control IDST11
11MSH-11Processing IDPT11MessageHeader.metameta-1
12MSH-12Version IDVID11
13MSH-13Sequence NumberNM01
14MSH-14Continuation PointerST01
15MSH-15Accept Acknowledgment TypeID01MessageHeader.#ext-acceptAcknowledgementType#
16MSH-16Application Acknowledgment TypeID01MessageHeader.#ext-applicationAcknowledgementType#
17MSH-17Country CodeID01MessageHeader.sender(MessageHeader.Organization.address.country)string1
18MSH-18Character SetID0-1
19MSH-19Principal Language Of MessageCWE01MessageHeader.languagecode1
20MSH-20Alternate Character Set Handling SchemeID01
21MSH-21Message Profile IdentifierEI0-1MessageHeader.#ext-v2ProfileID#Identifier-1
22MSH-22Sending Responsible OrganizationXON01MessageHeader.responsible(MessageHeader.Organization)Reference(Organization)1
23MSH-23Receiving Responsible OrganizationXON01MessageHeader.destination.receiver(MessageHeader.Organization)Reference(Organization)-1
24MSH-24Sending Network AddressHD01MessageHeader.sourceBackboneElement1
25MSH-25Receiving Network AddressHD01MessageHeader.destinationuri-1

Formats: XML, JSON, Turtle

SegmentMSHtoMessageHeader (http://hl7.org/fhir/uv/v2mappings/segment-msh-to-messageheader)

Mapping from MSH to MessageHeader

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 MessageHeader Resource.


Source Concept DetailsRelationshipDestination Concept DetailsComment
Code from Code from Code from Code from
MSH-3BackboneElementis equivalent tosourceIF MSH-24 NOT VALUED1
MSH-4Reference(Organization)is equivalent tosender(Organization)1
MSH-5BackboneElementis equivalent todestination[1]IF MSH-25 NOT VALUED-1
MSH-6is equivalent todestination.endpoint.extension-dataAbsentReasonIF MSH-6 VALUED AND MSH-5 NOT VALUED AND MSH-25 NOT VALUED
MSH-6Reference(Organization)is equivalent todestination[1].receiver(Organization)1
MSH-8stringis equivalent tometa.security-1
MSH-9Codingis equivalent toeventCoding1
MSH-11metais equivalent tometa-1
MSH-17stringis equivalent tosender(Organization.address.country)1
MSH-19codeis equivalent tolanguage1
MSH-22Reference(Organization)is equivalent toresponsible(Organization)1
MSH-23Reference(Organization)is equivalent todestination[1].receiver(Organization)-1
MSH-24BackboneElementis equivalent tosource1
MSH-25uriis equivalent todestination[2]-1

Notes: