DSTU2 STU 3 Candidate
This page is part of the FHIR Specification (v1.0.2: DSTU 2). The current version which supercedes this version is

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . For a full list of available versions, see the Directory of published versions . Page versions: . Page versions: R5 R4B R4 R3 R2

6.11.7 6.12.7 Resource MessageHeader - Mappings Resource MessageHeader - Mappings

Mappings:

Mappings for the messageheader resource.

Mappings for the messageheader resource.

6.11.7.1 Mappings for RIM (http://hl7.org/v3) 6.12.7.1 Mappings for RIM (http://hl7.org/v3)

./payload[classCode="CACT" and moodCode="EVN" and isNormalAct()]/code[isNormalDatatype()]/code
MessageHeader Message
    timestamp ./creationTime[isNormalDatatype()]
    event ./payload[classCode="CACT" and moodCode="EVN" and isNormalAct()]/code[isNormalDatatype()]/code
    response ./conveyedAcknowledgement
        identifier ./acknowledges.id[isNormalDatatype()]
        code ./typeCode[isNormalDatatype()]
        details AcknowledgementDetail or Observation[classCode="ALRT" and moodCode="EVN"] AcknowledgementDetail or Observation[classCode="ALRT" and moodCode="EVN"]
    source unique(./communicationFunction[typeCode="SND"])
        name unique(./entity[determinerCode="INST" and classCode="DEV"]/name[type='ST' and isNormalDatatype()]) unique(./entity[determinerCode="INST" and classCode="DEV"]/name[type='ST' and isNormalDatatype()])
        software unique(./entity[determinerCode="INST" and classCode="DEV"]/softwareName[isNormalDatatype()]) unique(./entity[determinerCode="INST" and classCode="DEV"]/softwareName[isNormalDatatype()])
        version (Not supported) (Not supported)
        contact unique(./entity[determinerCode="INST" and classCode="DEV"]/scopesRole[normalRole() and classCode="CON" and layer[classCode="PSN"]/telecom[isNormalDatatype()]) unique(./entity[determinerCode="INST" and classCode="DEV"]/scopesRole[normalRole() and classCode="CON" and layer[classCode="PSN"]/telecom[isNormalDatatype()])
        endpoint ./telecom[isNormalDatatype()]
    destination ./communicationFunction[typeCode="RCV"]
        name unique(./entity[determinerCode="INST" and (classCode=("DEV", "PSN", "ORG"]/name[type='ST' and isNormalDatatype()]) unique(./entity[determinerCode="INST" and (classCode=("DEV", "PSN", "ORG"]/name[type='ST' and isNormalDatatype()])
        target unique(./entity[determinerCode="INST" and (classCode=("DEV", "PSN", "ORG"] unique(./entity[determinerCode="INST" and (classCode=("DEV", "PSN", "ORG"]
        endpoint ./telecom
    enterer unique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/participation[typeCode="ENT" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole()]/player[isNormalEntity() and classCode=("DEV", "PSN") and determinerCode="INST"]) unique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/participation[typeCode="ENT" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole()]/player[isNormalEntity() and classCode=("DEV", "PSN") and determinerCode="INST"])
    author unique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/participation[isHighest(priorityCode) and typeCode="AUT" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole()]/player[isNormalEntity() and classCode=("DEV", "PSN") and determinerCode="INST"]) unique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/participation[isHighest(priorityCode) and typeCode="AUT" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole()]/player[isNormalEntity() and classCode=("DEV", "PSN") and determinerCode="INST"])
    receiver Not directly supported. Could be shared using attentionLine.value with an appropriate keyWordText Not directly supported. Could be shared using attentionLine.value with an appropriate keyWordText
    responsible unique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/participation[isHighest(priorityCode) and typeCode="RESP" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole()]/player[isNormalEntity() and classCode="PSN" and determinerCode="INST"] or ./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/participation[isHighest(priorityCode) and typeCode="RESP" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole()]/scoper[isNormalEntity() and classCode="ORG" and determinerCode="INST"]) unique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/participation[isHighest(priorityCode) and typeCode="RESP" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole()]/player[isNormalEntity() and classCode="PSN" and determinerCode="INST"] or ./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/participation[isHighest(priorityCode) and typeCode="RESP" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole()]/scoper[isNormalEntity() and classCode="ORG" and determinerCode="INST"])
    reason unique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/reasonCode[isNormalDatatype()]) unique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/reasonCode[isNormalDatatype()])
    data 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) 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)

6.11.7.2 Mappings for HL7 v2 (http://hl7.org/v2) 6.12.7.2 Mappings for HL7 v2 (http://hl7.org/v2)

MessageHeader MSH / MSA / ERR MSH / MSA / ERR
    timestamp MSH-7
    event MSH-9.2
    response MSA
        identifier MSA-2
        code MSA-1
        details ERR
    source
        name MSH-3
        software SFT-3 ( +SFT-1) SFT-3 ( +SFT-1)
        version SFT-2
        contact (MSH-22?)
        endpoint MSH-24
    destination
        name MSH-5
        target
        endpoint MSH-25 (or MSH-6) MSH-25 (or MSH-6)
    enterer EVN-5 / ORC-10 / PRT-5:PRT-4='EP' / ROL where ROL.3 is EP or ORC.10 EVN-5 / ORC-10 / PRT-5:PRT-4='EP' / ROL where ROL.3 is EP or ORC.10
    author ORC-19 / PRT-5:PRT-4='AUT' / ROL where ROL.3 is IP or ORC.12 ORC-19 / PRT-5:PRT-4='AUT' / ROL where ROL.3 is IP or ORC.12
    receiver PRT-5:PRT-4='WAYR' / PRT-8:PRT-4='WAYR' PRT-5:PRT-4='WAYR' / PRT-8:PRT-4='WAYR'
    responsible ORC-12 / PRT-5:PRT-4='OP' / PRT-8:PRT-4='OP' / ROL where ROL.3 is RO or ORC.11 ORC-12 / PRT-5:PRT-4='OP' / PRT-8:PRT-4='OP' / ROL where ROL.3 is RO or ORC.11
    reason EVN.4 / ORC.16 / OBR-31-reason for study / BPO-13-BP indication for use / RXO-20-indication / RXE-27-give indication / RXD-21-indication / RXG-22-indication / RXA-19-indication EVN.4 / ORC.16 / OBR-31-reason for study / BPO-13-BP indication for use / RXO-20-indication / RXE-27-give indication / RXD-21-indication / RXG-22-indication / RXA-19-indication
    data © HL7.org 2011+. FHIR DSTU2 (v1.0.2-7202) generated on Sat, Oct 24, 2015 07:43+1100. Links: Search