NZ Shared Digital Health Record API
1.1.6 - release

NZ Shared Digital Health Record API, published by Health New Zealand. This guide is not an authorized publication; it is the continuous build for version 1.1.6 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/tewhatuora/fhir-sdhr/ and changes regularly. See the Directory of published versions

Resource Profile: SDHRAllergyIntolerance - Mappings

Active as of 2026-10-20

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

doco Documentation for this format