NZ Shared Digital Health Record API
0.6.0 - ballot

NZ Shared Digital Health Record API - Local Development build (v0.6.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: SDHRAllergyIntolerance - Mappings

Draft as of 2025-07-25

Mappings for the SDHRAllergyIntolerance resource profile.

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

NameRIM MappingFiveWs Pattern MappingHL7 v2 Mappingdoco
.. AllergyIntolerance
  • Observation[classCode=OBS
  • moodCode=EVN]
... id
... meta
.... id
n/a
.... extension
n/a
.... versionId
.... lastUpdated
.... source
.... profile
.... security
.... tag
... implicitRules
... text
Act.text?
... contained
N/A
... Slices for extension
.... extension:ClientLastUpdated
... modifierExtension
... identifier
id
FiveWs.identifier
IAM-7
.... id
n/a
.... extension
n/a
.... use
Role.code or implied by context
N/A
.... type
Role.code or implied by context
CX.5
.... system
II.root or Role.id.root
CX.4 / EI-2-4
.... value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
.... period
Role.effectiveTime or implied by context
CX.7 + CX.8
.... assigner
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • CX.4 / (CX.4
  • CX.9
  • CX.10)
... clinicalStatus
  • Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS
  • code="clinicalStatus"
  • moodCode=EVN].value
FiveWs.status
... verificationStatus
  • Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS
  • code="verificationStatus"
  • moodCode=EVN].value
FiveWs.status
... type
code
FiveWs.class
IAM-9
... category
value < IntoleranceValue (Agent)
FiveWs.class
AL1-2
... criticality
  • inboundRelationship[typeCode=SUBJ].source[classCode=OBS
  • moodCode=EVN
  • code=SEV
  • value <= SeverityObservation (Severity Level)]
FiveWs.grade
AL1-4
... code
  • .participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT
  • determinerCode=KIND
  • .participation[typeCode=CAGNT
  • negationInd=true].role[classCode=ADMM].player[classCode=MAT
  • determinerCode=KIND
  • Observation.code=ASSERTION; Observation.value
FiveWs.what[x]
AL1-3 / IAM-3
.... id
n/a
.... extension
n/a
.... coding
  • union(.
  • ./translation)
  • C*E.1-8
  • C*E.10-22
..... id
n/a
..... extension
n/a
..... system
./codeSystem
C*E.3
..... version
./codeSystemVersion
C*E.7
..... code
./code
C*E.1
..... display
CV.displayName
C*E.2 - but note this is not well followed
..... userSelected
CD.codingRationale
Sometimes implied by being first
.... text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
... patient
.participation[typeCode=SBJ].role[classCode=PAT]
FiveWs.subject
(PID-3)
.... id
n/a
.... extension
n/a
.... reference
N/A
.... type
N/A
.... identifier
.identifier
.... display
N/A
... encounter
  • .inboundRelationship[typeCode=COMP].source[classCode=ENC
  • moodCode=EVN]
FiveWs.context
... onset[x]
effectiveTime.low
FiveWs.init
... recordedDate
.participation[typeCode=AUT].time
FiveWs.recorded
IAM-13
... recorder
.participation[typeCode=AUT].role
FiveWs.author
... asserter
.participation[typeCode=INF].role
FiveWs.source
IAM-14 (if patient) / IAM-18 (if practitioner)
... lastOccurrence
  • outBoundRelationship[typeCode=SUBJ].target[classCode=OBS
  • moodCode=EVN
  • code <= CommonClinicalObservationType
  • value <= ObservationValue (Reaction Type)].effectiveTime
... note
subjectOf.observationEvent[code="annotation"].value
... reaction
  • outBoundRelationship[typeCode=SUBJ].target[classCode=OBS
  • moodCode=EVN
  • code <= CommonClinicalObservationType
  • value <= ObservationValue (Reaction Type)]
.... id
n/a
.... extension
n/a
.... modifierExtension
N/A
.... substance
  • outBoundRelationship[typeCode=SAS].target[classCode=SBADM
  • code <= ExposureCode].participation[typeCode=CSM].role[classCode=ADMM].player[classCode=MAT
  • determinerCode=KIND
  • code <= ExposureAgentEntityType]
.... manifestation
code
AL1-5
.... description
text
.... onset
effectiveTime.low
AL1-6
.... severity
  • inboundRelationship[typeCode=SUBJ].source[classCode=OBS
  • moodCode=EVN
  • code=SEV
  • value <= SeverityObservation (Severity Level)]
.... exposureRoute
  • outBoundRelationship[typeCode=SAS].target[classCode=SBADM
  • code <= ExposureCode].routeCode
.... note
subjectOf.observationEvent[code="annotation"].value

doco Documentation for this format