臺灣核心實作指引(TW Core IG)
0.3.0 - Trial Use

This page is part of the 臺灣核心實作指引(TW Core IG) (v0.3.0: Releases) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: TWCoreMessageHeader - Mappings

Active as of 2024-10-15

Mappings for the MessageHeader-twcore resource profile.

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

TWCoreMessageHeader
MessageHeaderMSH / MSA / ERR
   event[x]MSH-9.2
   destination
      nameMSH-5
      endpointMSH-25 (or MSH-6)
      receiverPRT-5:PRT-4='WAYR' / PRT-8:PRT-4='WAYR'
   senderPRT-5:PRT-4='WAYR' / PRT-8:PRT-4='WAYR'
   entererEVN-5 / ORC-10 / PRT-5:PRT-4='EP' / ROL where ROL.3 is EP or ORC.10
   authorORC-19 / PRT-5:PRT-4='AUT' / ROL where ROL.3 is IP or ORC.12
   source
      nameMSH-3
      softwareSFT-3 ( +SFT-1)
      versionSFT-2
      contact(MSH-22?)
      endpointMSH-24
   responsibleORC-12 / PRT-5:PRT-4='OP' / PRT-8:PRT-4='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
   responseMSA
      identifierMSA-2
      codeMSA-1
      detailsERR

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

TWCoreMessageHeader
MessageHeaderEntity. Role, or Act, Message
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   event[x]./payload[classCode="CACT" and moodCode="EVN" and isNormalAct()]/code[isNormalDatatype()]/code
   destination./communicationFunction[typeCode="RCV"]
      idn/a
      extensionn/a
      modifierExtensionN/A
      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
      receiverNot directly supported. Could be shared using attentionLine.value with an appropriate keyWordText
   senderNot directly supported. Could be shared using attentionLine.value with an appropriate keyWordText
   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"])
   sourceunique(./communicationFunction[typeCode="SND"])
      idn/a
      extensionn/a
      modifierExtensionN/A
      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()]
   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()])
   response./conveyedAcknowledgement
      idn/a
      extensionn/a
      modifierExtensionN/A
      identifier./acknowledges.id[isNormalDatatype()]
      code./typeCode[isNormalDatatype()]
      detailsAcknowledgementDetail or Observation[classCode="ALRT" and moodCode="EVN"]
   focusunique(./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)
   definitionNot directly supported.

Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

TWCoreMessageHeader
MessageHeader
   event[x]FiveWs.what[x]
   destinationFiveWs.subject[x], FiveWs.subject
      receiverFiveWs.subject[x], FiveWs.subject
   senderFiveWs.subject[x], FiveWs.subject
   entererFiveWs.author
   authorFiveWs.author
   sourceFiveWs.actor
   responsibleFiveWs.witness
   reasonFiveWs.why[x]