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 Provenance Resource. See also the FHIR Shorthand or the CSV Source.
HL7 v2 | Condition (IF True, args) | HL7 FHIR | Comments | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sort Order | Identifier | Name | Data Type | Cardinality - Min | Cardinality - Max | Computable ANTLR | Computable FHIRPath | Narrative | FHIR Attribute | Extension | Data Type | Cardinality - Min | Cardinality - Max | Data Type Mapping | Assignment | Vocabulary Mapping (IS, ID, CE, CEN, CWE) | |
0 | MSH | Provenance.recorded | 1 | 1 | /timestamp of tranformation/ | ||||||||||||
0 | MSH | Provenance.policy | 0 | -1 | /uri of the policy governing transformation of the v2 to FHIR/ | ||||||||||||
0 | MSH | Provenance.agent.type.coding.code | 1 | -1 | "assembler" | ||||||||||||
0 | MSH | Provenance.agent.type.coding.system | 1 | -1 | "http://terminology.hl7.org/CodeSystem/provenance-participant-type" | ||||||||||||
0 | MSH | agent[1].who=Reference(Organization|Device) where the Organization/Device resource points to the owner of the transformation process | 1 | -1 | |||||||||||||
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-3 AND MSH-24 VALUED | Provenance.agent.who(Provenance.Device) | Reference(Provenance.Device) | HD[Device] | ||||||||
3 | MSH-3 | Sending Application | HD | 0 | 1 | IF MSH-3 AND MSH-24 VALUED | agent[2].type.coding.code="sender-application" | Provenance.CodeableConcept | |||||||||
4 | MSH-4 | Sending Facility | HD | 0 | 1 | IF MSH-22 NOT VALUED | Provenance.agent.who(Provenance.Organization) | Reference(Provenance.Organization) | 1 | 1 | HD[Organization] | ||||||
4 | MSH-4 | Sending Facility | HD | 0 | 1 | IF MSH-22 NOT VALUED | Provenance.agent.type.coding.code | Provenance.code | 0 | 1 | "author" | ||||||
4 | MSH-4 | Sending Facility | HD | 0 | 1 | IF MSH-22 NOT VALUED | Provenance.agent.type.coding.system | Provenance.uri | 0 | 1 | "http://terminology.hl7.org/CodeSystem/provenance-participant-type" | ||||||
5 | MSH-5 | Receiving Application | HD | 0 | 1 | IF MSH-5 AND MSH-25 VALUED | agent[4].who(Device)="receiver-application" | Reference(Provenance.Device) | HD[Device] | ||||||||
5 | MSH-5 | Receiving Application | HD | 0 | 1 | IF MSH-5 AND MSH-25 VALUED | Provenance.agent.type.coding.code | Provenance.CodeableConcept | MessageHeader.id | ||||||||
6 | MSH-6 | Receiving Facility | HD | 0 | 1 | ||||||||||||
7 | MSH-7 | Date/Time of Message | DTM | 1 | 1 | ||||||||||||
7 | MSH-7 | Date/Time of Message | DTM | 1 | 1 | Provenance.occuredDateTime | Provenance.dateTime | 0 | 1 | ||||||||
8 | MSH-8 | Security | ST | 0 | 1 | ||||||||||||
9 | MSH-9 | Message Type | MSG | 1 | 1 | ||||||||||||
10 | MSH-10 | Message Control ID | ST | 1 | 1 | ||||||||||||
11 | MSH-11 | Processing ID | PT | 1 | 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 | ||||||||||||
16 | MSH-16 | Application Acknowledgment Type | ID | 0 | 1 | ||||||||||||
17 | MSH-17 | Country Code | ID | 0 | 1 | ||||||||||||
18 | MSH-18 | Character Set | ID | 0 | -1 | ||||||||||||
19 | MSH-19 | Principal Language Of Message | CWE | 0 | 1 | ||||||||||||
20 | MSH-20 | Alternate Character Set Handling Scheme | ID | 0 | 1 | ||||||||||||
21 | MSH-21 | Message Profile Identifier | EI | 0 | -1 | ||||||||||||
22 | MSH-22 | Sending Responsible Organization | XON | 0 | 1 | Provenance.agent.who(Provenance.Organization) | Reference(Provenance.Organization) | 1 | 1 | XON[Organization] | |||||||
22 | MSH-22 | Sending Responsible Organization | XON | 0 | 1 | Provenance.agent.type.coding.code | Provenance.code | 0 | 1 | "author" | |||||||
22 | MSH-22 | Sending Responsible Organization | XON | 0 | 1 | Provenance.agent.type.coding.system | Provenance.uri | 0 | 1 | "http://terminology.hl7.org/CodeSystem/provenance-participant-type" | |||||||
23 | MSH-23 | Receiving Responsible Organization | XON | 0 | 1 | ||||||||||||
24 | MSH-24 | Sending Network Address | HD | 0 | 1 | ||||||||||||
25 | MSH-25 | Receiving Network Address | HD | 0 | 1 |
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 Details | Relationship | Destination Concept Details | |||||
Code from | Code from | Code from | Code from | Code from | |||
MSH | /timestamp of tranformation/ | is equivalent to | recorded | ||||
MSH | /uri of the policy governing transformation of the v2 to FHIR/ | is equivalent to | policy | ||||
MSH | "assembler" | is equivalent to | agent[1].type.coding.code | ||||
MSH | "http://terminology.hl7.org/CodeSystem/provenance-participant-type" | is equivalent to | agent[1].type.coding.system | ||||
MSH-3 | HD[Device] | is equivalent to | agent[2].who(Device) | IF MSH-3 AND MSH-24 VALUED | |||
MSH-4 | HD[Organization] | is equivalent to | agent[3].who(Organization) | IF MSH-22 NOT VALUED | |||
MSH-4 | "author" | is equivalent to | agent[3].type.coding.code | IF MSH-22 NOT VALUED | |||
MSH-4 | "http://terminology.hl7.org/CodeSystem/provenance-participant-type" | is equivalent to | agent[3].type.coding.system | IF MSH-22 NOT VALUED | |||
MSH-5 | MessageHeader.id | is equivalent to | agent[4].type.coding.code | IF MSH-5 AND MSH-25 VALUED | |||
MSH-7 | is equivalent to | occuredDateTime | |||||
MSH-22 | XON[Organization] | is equivalent to | agent[5].who(Organization) | ||||
MSH-22 | "author" | is equivalent to | agent[5].type.coding.code | ||||
MSH-22 | "http://terminology.hl7.org/CodeSystem/provenance-participant-type" | is equivalent to | agent[5].type.coding.system |