FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions icon

Responsible Owner: Infrastructure And Messaging icon Work GroupStandards Status: InformativeSecurity Category: Not Classified Compartments: Device, Practitioner

Mappings for the MessageHeader resource (see Mappings to Other Standards for further information & status).

MessageHeader infrastructure.exchange
    event[x] FiveWs.what[x]
    destination FiveWs.subject
        receiver FiveWs.subject
    source FiveWs.actor
    reason FiveWs.why[x]
MessageHeader Event
    event[x] Event.code
    reason Event.reason
The mappings provided in this tab are indicative of how HL7 v2 fields relate to HL7 FHIR attributes in this resource, but is not complete and without critical HL7 v2 context. The HL7 v2-FHIR Implementation guide, located here icon, provides additional guidance on transforming an HL7 v2 message to FHIR resources for FHIR R4 and FHIR R6.
MessageHeader MSH / MSA / ERR
    event[x] MSH-9.2
    destination
        endpoint[x]
        name MSH-5
        receiver PRT-5:PRT-4='WAYR' / PRT-8:PRT-4='WAYR'
    source
        endpoint[x]
        name MSH-3
        software SFT-3 ( +SFT-1)
        version SFT-2
        contact (MSH-22?)
        sender
    reason EVN-4 / ORC-16 / OBR-31 / BPO-13 / RXO-20 / RXE-27 / RXD-21 / RXG-22 / RXA-19
    response MSA
        identifier MSA-2
        code MSA-1
        details ERR
    focus
    definition
MessageHeader Message
    event[x] ./payload[classCode="CACT" and moodCode="EVN" and isNormalAct()]/code[isNormalDatatype()]/code
    destination ./communicationFunction[typeCode="RCV"]
        name unique(./entity[determinerCode="INST" and (classCode=("DEV", "PSN", "ORG"]/name[type='ST' and isNormalDatatype()])
        receiver Not directly supported. Could be shared using attentionLine.value with an appropriate keyWordText
    source unique(./communicationFunction[typeCode="SND"])
        name unique(./entity[determinerCode="INST" and classCode="DEV"]/name[type='ST' and isNormalDatatype()])
        software unique(./entity[determinerCode="INST" and classCode="DEV"]/softwareName[isNormalDatatype()])
        version (Not supported)
        contact unique(./entity[determinerCode="INST" and classCode="DEV"]/scopesRole[normalRole() and classCode="CON" and layer[classCode="PSN"]/telecom[isNormalDatatype()])
    reason unique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/reasonCode[isNormalDatatype()])
    response ./conveyedAcknowledgement
        identifier ./acknowledges.id[isNormalDatatype()]
        code ./typeCode[isNormalDatatype()]
        details AcknowledgementDetail or Observation[classCode="ALRT" and moodCode="EVN"]
    focus unique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/participation[typeCode="SUBJ" and isNormalParticipation]/role or ./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/outboundRelationship[typeCode="SBJ" and isNormalActRelatoinship]/target)
    definition Not directly supported.