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
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.
HL7 v2 | Condition (IF True, args) | HL7 FHIR | Comments | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Sort Order | Identifier | Syntax | Name | Cardinality - Min | Cardinality - Max | Computable ANTLR | Computable FHIRPath | Narrative | Primary Target | Segment Map | References | </thead>|
1 | MSH-1 | Field Separator | ST | 1 | 1 | |||||||
2 | MSH-2 | Encoding Characters | ST | 1 | 1 | |||||||
3 | MSH-3 | Sending Application | HD | 0 | 1 | IF MSH-24 NOT VALUED | MessageHeader.source | BackboneElement | 1 | |||
4 | MSH-4 | Sending Facility | HD | 0 | 1 | MessageHeader.sender(MessageHeader.Organization) | Reference(Organization) | 1 | ||||
5 | MSH-5 | Receiving Application | HD | 0 | 1 | IF MSH-25 NOT VALUED | MessageHeader.destination | BackboneElement | -1 | |||
6 | MSH-6 | Receiving Facility | HD | 0 | 1 | IF MSH-6 VALUED AND MSH-5 NOT VALUED AND MSH-25 NOT VALUED | MessageHeader.destination.endpoint.extension-dataAbsentReason | |||||
6 | MSH-6 | Receiving Facility | HD | 0 | 1 | MessageHeader.destination.receiver(MessageHeader.Organization) | Reference(Organization) | 1 | ||||
7 | MSH-7 | Date/Time of Message | DTM | 1 | 1 | MessageHeader.#ext-timestamp# | dateTime | |||||
7 | MSH-7 | Date/Time of Message | DTM | 1 | 1 | |||||||
8 | MSH-8 | Security | ST | 0 | 1 | meta.security | string | -1 | ||||
9 | MSH-9 | Message Type | MSG | 1 | 1 | MessageHeader.eventCoding | Coding | 1 | ||||
10 | MSH-10 | Message Control ID | ST | 1 | 1 | |||||||
11 | MSH-11 | Processing ID | PT | 1 | 1 | MessageHeader.meta | meta | -1 | ||||
12 | MSH-12 | Version ID | VID | 1 | 1 | |||||||
13 | MSH-13 | Sequence Number | NM | 0 | 1 | |||||||
14 | MSH-14 | Continuation Pointer | ST | 0 | 1 | |||||||
15 | MSH-15 | Accept Acknowledgment Type | ID | 0 | 1 | MessageHeader.#ext-acceptAcknowledgementType# | ||||||
16 | MSH-16 | Application Acknowledgment Type | ID | 0 | 1 | MessageHeader.#ext-applicationAcknowledgementType# | ||||||
17 | MSH-17 | Country Code | ID | 0 | 1 | MessageHeader.sender(MessageHeader.Organization.address.country) | string | 1 | ||||
18 | MSH-18 | Character Set | ID | 0 | -1 | |||||||
19 | MSH-19 | Principal Language Of Message | CWE | 0 | 1 | MessageHeader.language | code | 1 | ||||
20 | MSH-20 | Alternate Character Set Handling Scheme | ID | 0 | 1 | |||||||
21 | MSH-21 | Message Profile Identifier | EI | 0 | -1 | MessageHeader.#ext-v2ProfileID# | Identifier | -1 | ||||
22 | MSH-22 | Sending Responsible Organization | XON | 0 | 1 | MessageHeader.responsible(MessageHeader.Organization) | Reference(Organization) | 1 | ||||
23 | MSH-23 | Receiving Responsible Organization | XON | 0 | 1 | MessageHeader.destination.receiver(MessageHeader.Organization) | Reference(Organization) | -1 | ||||
24 | MSH-24 | Sending Network Address | HD | 0 | 1 | MessageHeader.source | BackboneElement | 1 | ||||
25 | MSH-25 | Receiving Network Address | HD | 0 | 1 | MessageHeader.destination | uri | -1 |
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 Details | Relationship | Destination Concept Details | Comment | ||||
Code from | Code from | Code from | Code from | ||||
MSH-3 | BackboneElement | is equivalent to | source | IF MSH-24 NOT VALUED | 1 | ||
MSH-4 | Reference(Organization) | is equivalent to | sender(Organization) | 1 | |||
MSH-5 | BackboneElement | is equivalent to | destination[1] | IF MSH-25 NOT VALUED | -1 | ||
MSH-6 | is equivalent to | destination.endpoint.extension-dataAbsentReason | IF MSH-6 VALUED AND MSH-5 NOT VALUED AND MSH-25 NOT VALUED | ||||
MSH-6 | Reference(Organization) | is equivalent to | destination[1].receiver(Organization) | 1 | |||
MSH-8 | string | is equivalent to | meta.security | -1 | |||
MSH-9 | Coding | is equivalent to | eventCoding | 1 | |||
MSH-11 | meta | is equivalent to | meta | -1 | |||
MSH-17 | string | is equivalent to | sender(Organization.address.country) | 1 | |||
MSH-19 | code | is equivalent to | language | 1 | |||
MSH-22 | Reference(Organization) | is equivalent to | responsible(Organization) | 1 | |||
MSH-23 | Reference(Organization) | is equivalent to | destination[1].receiver(Organization) | -1 | |||
MSH-24 | BackboneElement | is equivalent to | source | 1 | |||
MSH-25 | uri | is equivalent to | destination[2] | -1 |