2nd DSTU Draft For Comment

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

6.12.7 Resource MessageHeader - Mappings

Mappings:

Mappings for the messageheader resource.

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

MessageHeaderMessage
    identifierMessage.id
    timestamp./creationTime[isNormalDatatype()]
    event./payload[classCode="CACT" and moodCode="EVN" and isNormalAct()]/code[isNormalDatatype()]/code
    response./conveyedAcknowledgement
        identifier./acknowledges.id[isNormalDatatype()]
        code./typeCode[isNormalDatatype()]
        detailsAcknowledgementDetail or Observation[classCode="ALRT" and moodCode="EVN"]
    sourceunique(./communicationFunction[typeCode="SND"])
        nameunique(./entity[determinerCode="INST" and classCode="DEV"]/name[type='ST' and isNormalDatatype()])
        softwareunique(./entity[determinerCode="INST" and classCode="DEV"]/softwareName[isNormalDatatype()])
        version(Not supported)
        contactunique(./entity[determinerCode="INST" and classCode="DEV"]/scopesRole[normalRole() and classCode="CON" and layer[classCode="PSN"]/telecom[isNormalDatatype()])
        endpoint./telecom[isNormalDatatype()]
    destination./communicationFunction[typeCode="RCV"]
        nameunique(./entity[determinerCode="INST" and (classCode=("DEV", "PSN", "ORG"]/name[type='ST' and isNormalDatatype()])
        targetunique(./entity[determinerCode="INST" and (classCode=("DEV", "PSN", "ORG"]
        endpoint./telecom
    entererunique(./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"])
    authorunique(./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"])
    receiverNot directly supported. Could be shared using attentionLine.value with an appropriate keyWordText
    responsibleunique(./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"])
    reasonunique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/reasonCode[isNormalDatatype()])
    dataunique(./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.12.7.2 Mappings for HL7 v2 (http://hl7.org/v2)

MessageHeaderMSH / MSA / ERR
    identifierMSH-10-message control ID
    timestampMSH-7-message date/time
    eventMSH-9.2-message type.trigger event
    responseMSA
        identifierMSA-2-message control ID
        codeMSA-1-acknowledgment code
        detailsERR
    source
        nameMSH-3-sending application
        softwareSFT-3-software product name ( +SFT-1-software vendor organization)
        versionSFT-2-software certified version or release number
        contact(MSH-22?)
        endpointMSH-24-sending network address
    destination
        nameMSH-5-receiving application
        target
        endpointMSH-25-receiving network address (or MSH-6-receiving facility by implication)
    entererEVN-5-operator ID / ORC-10-entered by / PRT-5-Participation Person:PRT-4-Participation='EP' / ROL where ROL.3 is EP or ORC.10
    authorORC-19-action by / PRT-5-Participation Person:PRT-4-Participation='AUT' / ROL where ROL.3 is IP or ORC.12
    receiverPRT-5-Participation Person:PRT-4-Participation='WAYR' / PRT-8-Participation Organization:PRT-4-Participation='WAYR'
    responsibleORC-12-ordering provider /
PRT-5-Participation Person:PRT-4-Participation='OP' /
PRT-8-Participation Organization:PRT-4-Participation='OP'
/ ROL where ROL.3 is RO or ORC.11
    reasonEVN.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