TRxHub IG
0.1.0 - ci-build

TRxHub IG - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: TRxHubPatient - Mappings

Draft as of 2026-10-08

Mappings for the trxhub-patient resource profile.

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

NameRIM MappingCDA (R2)FiveWs Pattern MappingHL7 v2 MappingLOINC code for the elementdoco
Patient
Patient[classCode=PAT]
ClinicalDocument.recordTarget.patientRole
Patient / id
Patient / meta
Patient / implicitRules
Patient / language
Patient / text
Act.text?
Patient / contained
N/A
Patient / extension
N/A
Patient / modifierExtension
N/A
Patient / identifier
id
.id
FiveWs.identifier
PID-3
Patient / active
statusCode
n/a
FiveWs.status
Patient / name
name
.patient.name
  • PID-5
  • PID-9
Patient / name / id
n/a
Patient / name / extension
n/a
Patient / name / use
unique(./use)
  • XPN.7
  • but often indicated by which field contains the name
Patient / name / text
./formatted
implied by XPN.11
Patient / name / family
./part[partType = FAM]
XPN.1/FN.1
Patient / name / given
./part[partType = GIV]
XPN.2 + XPN.3
Patient / name / prefix
./part[partType = PFX]
XPN.5
Patient / name / suffix
./part[partType = SFX]
XPN/4
Patient / name / period
./usablePeriod[type="IVL<TS>"]
XPN.13 + XPN.14
Patient / Slices for telecom
telecom
.telecom
  • PID-13
  • PID-14
  • PID-40
Patient / Slices for telecom / telecom:email
telecom
.telecom
  • PID-13
  • PID-14
  • PID-40
Patient / Slices for telecom / telecom:email / id
n/a
Patient / Slices for telecom / telecom:email / extension
n/a
Patient / Slices for telecom / telecom:email / system
./scheme
XTN.3
Patient / Slices for telecom / telecom:email / value
./url
XTN.1 (or XTN.12)
Patient / Slices for telecom / telecom:email / use
unique(./use)
XTN.2 - but often indicated by field
Patient / Slices for telecom / telecom:email / rank
n/a
n/a
Patient / Slices for telecom / telecom:email / period
./usablePeriod[type="IVL<TS>"]
N/A
Patient / Slices for telecom / telecom:phone
telecom
.telecom
  • PID-13
  • PID-14
  • PID-40
Patient / Slices for telecom / telecom:phone / id
n/a
Patient / Slices for telecom / telecom:phone / extension
n/a
Patient / Slices for telecom / telecom:phone / system
./scheme
XTN.3
Patient / Slices for telecom / telecom:phone / value
./url
XTN.1 (or XTN.12)
Patient / Slices for telecom / telecom:phone / use
unique(./use)
XTN.2 - but often indicated by field
Patient / Slices for telecom / telecom:phone / rank
n/a
n/a
Patient / Slices for telecom / telecom:phone / period
./usablePeriod[type="IVL<TS>"]
N/A
Patient / gender
player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender
.patient.administrativeGenderCode
PID-8
Patient / birthDate
player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime
.patient.birthTime
PID-7
21112-8
Patient / deceased[x]
  • player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd
  • player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime
n/a
PID-30 (bool) and PID-29 (datetime)
Patient / address
addr
.addr
PID-11
Patient / address / id
n/a
Patient / address / extension
n/a
Patient / address / use
unique(./use)
XAD.7
Patient / address / type
unique(./use)
XAD.18
Patient / address / text
./formatted
XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6
Patient / address / line
AD.part[parttype = AL]
XAD.1 and XAD.2 have different meanings for a company address than for a person address)
Patient / address / city
AD.part[parttype = CTY]
XAD.3
Patient / address / district
AD.part[parttype = CNT | CPA]
XAD.9
Patient / address / state
AD.part[parttype = STA]
XAD.4
Patient / address / postalCode
AD.part[parttype = ZIP]
XAD.5
Patient / address / country
AD.part[parttype = CNT]
XAD.6
Patient / address / period
./usablePeriod[type="IVL<TS>"]
XAD.12 / XAD.13 + XAD.14
Patient / maritalStatus
player[classCode=PSN]/maritalStatusCode
.patient.maritalStatusCode
PID-16
Patient / multipleBirth[x]
  • player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd
  • player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber
n/a
  • PID-24 (bool)
  • PID-25 (integer)
Patient / photo
player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc
n/a
OBX-5 - needs a profile
Patient / contact
player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]
n/a
Patient / contact / id
n/a
Patient / contact / extension
n/a
Patient / contact / modifierExtension
N/A
Patient / contact / relationship
code
n/a
  • NK1-7
  • NK1-3
Patient / contact / name
name
n/a
NK1-2
Patient / contact / telecom
telecom
n/a
  • NK1-5
  • NK1-6
  • NK1-40
Patient / contact / address
addr
n/a
NK1-4
Patient / contact / gender
player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender
n/a
NK1-15
Patient / contact / organization
scoper
n/a
  • NK1-13
  • NK1-30
  • NK1-31
  • NK1-32
  • NK1-41
Patient / contact / period
effectiveTime
n/a
Patient / communication
LanguageCommunication
patient.languageCommunication
Patient / communication / id
n/a
Patient / communication / extension
n/a
Patient / communication / modifierExtension
N/A
Patient / communication / language
player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code
.languageCode
  • PID-15
  • LAN-2
Patient / communication / language / id
n/a
Patient / communication / language / extension
n/a
Patient / communication / language / coding
  • union(.
  • ./translation)
  • C*E.1-8
  • C*E.10-22
Patient / communication / language / coding / id
n/a
Patient / communication / language / coding / extension
n/a
Patient / communication / language / coding / system
./codeSystem
C*E.3
Patient / communication / language / coding / version
./codeSystemVersion
C*E.7
Patient / communication / language / coding / code
./code
C*E.1
Patient / communication / language / coding / display
CV.displayName
C*E.2 - but note this is not well followed
Patient / communication / language / coding / userSelected
CD.codingRationale
Sometimes implied by being first
Patient / communication / language / text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
Patient / communication / preferred
preferenceInd
.preferenceInd
PID-15
Patient / generalPractitioner
subjectOf.CareEvent.performer.AssignedEntity
n/a
PD1-4
Patient / managingOrganization
scoper
.providerOrganization
Patient / link
outboundLink
n/a
Patient / link / id
n/a
Patient / link / extension
n/a
Patient / link / modifierExtension
N/A
Patient / link / other
id
n/a
  • PID-3
  • MRG-1
Patient / link / type
typeCode
n/a

doco Documentation for this format