IHE UK Patient Administration Management (Unofficial)
0.1.0 - ci-build United Kingdom flag

IHE UK Patient Administration Management (Unofficial) - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: PAM Message Header (MSH) - Mappings

Draft as of 2026-11-24

Mappings for the PAMMessageHeader resource profile.

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

NameHL7 v2.5.1 (HSCIC ITK)RIM MappingFiveWs Pattern Mappingdoco
MessageHeader
MSH
Message
MessageHeader / id
MessageHeader / meta
MessageHeader / implicitRules
MessageHeader / language
MessageHeader / text
Act.text?
MessageHeader / contained
N/A
MessageHeader / extension
N/A
MessageHeader / modifierExtension
N/A
MessageHeader / Slices for event[x]
./payload[classCode="CACT" and moodCode="EVN" and isNormalAct()]/code[isNormalDatatype()]/code
FiveWs.what[x]
MessageHeader / Slices for event[x] / event[x]:eventCoding
MSH-9.2
./payload[classCode="CACT" and moodCode="EVN" and isNormalAct()]/code[isNormalDatatype()]/code
FiveWs.what[x]
MessageHeader / destination
./communicationFunction[typeCode="RCV"]
FiveWs.subject
MessageHeader / destination / id
n/a
MessageHeader / destination / extension
n/a
MessageHeader / destination / modifierExtension
N/A
MessageHeader / destination / name
MSH-5
  • unique(./entity[determinerCode="INST" and (classCode=("DEV"
  • "PSN"
  • "ORG"]/name[type='ST' and isNormalDatatype()])
MessageHeader / destination / target
  • unique(./entity[determinerCode="INST" and (classCode=("DEV"
  • "PSN"
  • "ORG"]
MessageHeader / destination / endpoint
./telecom
MessageHeader / destination / receiver
MSH-6
Not directly supported. Could be shared using attentionLine.value with an appropriate keyWordText
FiveWs.subject
MessageHeader / destination / receiver / id
n/a
MessageHeader / destination / receiver / extension
n/a
MessageHeader / destination / receiver / reference
N/A
MessageHeader / destination / receiver / type
N/A
MessageHeader / destination / receiver / identifier
.identifier
MessageHeader / destination / receiver / display
N/A
MessageHeader / sender
MSH-4
Not directly supported. Could be shared using attentionLine.value with an appropriate keyWordText
FiveWs.subject
MessageHeader / sender / id
n/a
MessageHeader / sender / extension
n/a
MessageHeader / sender / reference
N/A
MessageHeader / sender / type
N/A
MessageHeader / sender / identifier
.identifier
MessageHeader / sender / display
N/A
MessageHeader / 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"])
FiveWs.author
MessageHeader / 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"])
FiveWs.author
MessageHeader / source
unique(./communicationFunction[typeCode="SND"])
FiveWs.actor
MessageHeader / source / id
n/a
MessageHeader / source / extension
n/a
MessageHeader / source / modifierExtension
N/A
MessageHeader / source / name
MSH-3
unique(./entity[determinerCode="INST" and classCode="DEV"]/name[type='ST' and isNormalDatatype()])
MessageHeader / source / software
unique(./entity[determinerCode="INST" and classCode="DEV"]/softwareName[isNormalDatatype()])
MessageHeader / source / version
(Not supported)
MessageHeader / source / contact
unique(./entity[determinerCode="INST" and classCode="DEV"]/scopesRole[normalRole() and classCode="CON" and layer[classCode="PSN"]/telecom[isNormalDatatype()])
MessageHeader / source / endpoint
./telecom[isNormalDatatype()]
MessageHeader / 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"])
FiveWs.witness
MessageHeader / reason
unique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/reasonCode[isNormalDatatype()])
FiveWs.why[x]
MessageHeader / response
MSA
./conveyedAcknowledgement
MessageHeader / response / id
n/a
MessageHeader / response / extension
n/a
MessageHeader / response / modifierExtension
N/A
MessageHeader / response / identifier
./acknowledges.id[isNormalDatatype()]
MessageHeader / response / code
./typeCode[isNormalDatatype()]
MessageHeader / response / details
AcknowledgementDetail or Observation[classCode="ALRT" and moodCode="EVN"]
MessageHeader / 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)
MessageHeader / definition
Not directly supported.

doco Documentation for this format