NZ Shared Digital Health Record API
1.0.1 - 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.0.1 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-06-05

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

Name | RIM Mapping | FiveWs Pattern Mapping | HL7 v2 Mapping
--- | --- | --- | ---
AllergyIntolerance | Observation[classCode=OBS moodCode=EVN] |  |
id |  |  |
meta |  |  |
id | n/a |  |
extension | n/a |  |
versionId |  |  |
lastUpdated |  |  |
source |  |  |
profile |  |  |
security |  |  |
tag |  |  |
implicitRules |  |  |
language |  |  |
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 |  |
Documentation for this format