Health New Zealand Te Whatu Ora Shared Care FHIR API
0.4.7 - release New Zealand flag

Health New Zealand Te Whatu Ora Shared Care FHIR API - Local Development build (v0.4.7) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: OnlineGPEncounter - Mappings

Active as of 2026-10-13

Mappings for the OnlineGPEncounter resource profile.

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

NameWorkflow PatternRIM MappingFiveWs Pattern MappingHL7 v2 Mappingdoco
Encounter
Event
Encounter[@moodCode='EVN']
Encounter / id
Encounter / meta
Encounter / meta / id
n/a
Encounter / meta / extension
n/a
Encounter / meta / versionId
Encounter / meta / lastUpdated
Encounter / meta / source
Encounter / meta / profile
Encounter / meta / security
Encounter / meta / Slices for tag
Encounter / meta / Slices for tag / tag:correlationId
Encounter / meta / Slices for tag / tag:correlationId / id
n/a
Encounter / meta / Slices for tag / tag:correlationId / extension
n/a
Encounter / meta / Slices for tag / tag:correlationId / system
./codeSystem
C*E.3
Encounter / meta / Slices for tag / tag:correlationId / version
./codeSystemVersion
C*E.7
Encounter / meta / Slices for tag / tag:correlationId / code
./code
C*E.1
Encounter / meta / Slices for tag / tag:correlationId / display
CV.displayName
C*E.2 - but note this is not well followed
Encounter / meta / Slices for tag / tag:correlationId / userSelected
CD.codingRationale
Sometimes implied by being first
Encounter / implicitRules
Encounter / language
Encounter / text
Act.text?
Encounter / contained
N/A
Encounter / Slices for extension
Encounter / Slices for extension / extension:cscHolder
Encounter / Slices for extension / extension:regCode
Encounter / Slices for extension / extension:diagnosis
Encounter / modifierExtension
N/A
Encounter / identifier
Event.identifier
.id
FiveWs.identifier
PV1-19
Encounter / identifier / id
n/a
Encounter / identifier / extension
n/a
Encounter / identifier / use
Role.code or implied by context
N/A
Encounter / identifier / type
Role.code or implied by context
CX.5
Encounter / identifier / system
II.root or Role.id.root
CX.4 / EI-2-4
Encounter / identifier / value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
Encounter / identifier / period
Role.effectiveTime or implied by context
CX.7 + CX.8
Encounter / identifier / period / id
n/a
Encounter / identifier / period / extension
n/a
Encounter / identifier / period / start
./low
DR.1
Encounter / identifier / period / end
./high
DR.2
Encounter / 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)
Encounter / status
Event.status
.statusCode
FiveWs.status
  • No clear equivalent in HL7 v2; active/finished could be inferred from PV1-44
  • PV1-45
  • PV2-24; inactive could be inferred from PV2-16
Encounter / statusHistory
n/a
Encounter / class
.inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code
FiveWs.class
PV1-2
Encounter / classHistory
n/a
Encounter / type
Event.code
.code
FiveWs.class
PV1-4 / PV1-18
Encounter / serviceType
Event.code
n/a
PV1-10
Encounter / priority
.priorityCode
FiveWs.grade
PV2-25
Encounter / subject
Event.subject
.participation[typeCode=SBJ]/role[classCode=PAT]
FiveWs.subject
PID-3
Encounter / subject / id
n/a
Encounter / subject / extension
n/a
Encounter / subject / reference
N/A
Encounter / subject / type
N/A
Encounter / subject / identifier
.identifier
Encounter / subject / identifier / id
n/a
Encounter / subject / identifier / extension
n/a
Encounter / subject / identifier / use
Role.code or implied by context
N/A
Encounter / subject / identifier / type
Role.code or implied by context
CX.5
Encounter / subject / identifier / system
II.root or Role.id.root
CX.4 / EI-2-4
Encounter / subject / identifier / value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
Encounter / subject / identifier / period
Role.effectiveTime or implied by context
CX.7 + CX.8
Encounter / subject / 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)
Encounter / subject / display
N/A
Encounter / episodeOfCare
Event.context
n/a
FiveWs.context
  • PV1-54
  • PV1-53
Encounter / basedOn
Event.basedOn
.reason.ClinicalDocument
Encounter / participant
Event.performer
.participation[typeCode=PFM]
ROL
Encounter / participant / id
n/a
Encounter / participant / extension
n/a
Encounter / participant / modifierExtension
N/A
Encounter / participant / type
Event.performer.function
.functionCode
ROL-3 (or maybe PRT-4)
Encounter / participant / period
.time
  • ROL-5
  • ROL-6 (or maybe PRT-5)
Encounter / participant / individual
Event.performer.actor
.role
FiveWs.who
ROL-4
Encounter / participant / individual / id
n/a
Encounter / participant / individual / extension
n/a
Encounter / participant / individual / reference
N/A
Encounter / participant / individual / type
N/A
Encounter / participant / individual / identifier
.identifier
Encounter / participant / individual / identifier / id
n/a
Encounter / participant / individual / identifier / extension
n/a
Encounter / participant / individual / identifier / use
Role.code or implied by context
N/A
Encounter / participant / individual / identifier / type
Role.code or implied by context
CX.5
Encounter / participant / individual / identifier / system
II.root or Role.id.root
CX.4 / EI-2-4
Encounter / participant / individual / identifier / value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
Encounter / participant / individual / identifier / period
Role.effectiveTime or implied by context
CX.7 + CX.8
Encounter / participant / individual / 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)
Encounter / participant / individual / display
N/A
Encounter / appointment
Event.basedOn
  • .outboundRelationship[typeCode=FLFS].target[classCode=ENC
  • moodCode=APT]
SCH-1 / SCH-2
Encounter / period
Event.occurrence[x]
.effectiveTime (low & high)
FiveWs.done[x]
  • PV1-44
  • PV1-45
Encounter / period / id
n/a
Encounter / period / extension
n/a
Encounter / period / start
./low
DR.1
Encounter / period / end
./high
DR.2
Encounter / length
Event.occurrence[x]
.lengthOfStayQuantity
(PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes
Encounter / reasonCode
Event.reasonCode
.reasonCode
FiveWs.why[x]
PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )
Encounter / reasonReference
Event.reasonCode
.reasonCode
FiveWs.why[x]
PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )
Encounter / diagnosis
.outboundRelationship[typeCode=RSON]
Encounter / account
.pertains.A_Account
Encounter / hospitalization
  • .outboundRelationship[typeCode=COMP].target[classCode=ENC
  • moodCode=EVN]
Encounter / hospitalization / id
n/a
Encounter / hospitalization / extension
n/a
Encounter / hospitalization / modifierExtension
N/A
Encounter / hospitalization / preAdmissionIdentifier
.id
PV1-5
Encounter / hospitalization / origin
.participation[typeCode=ORG].role
Encounter / hospitalization / admitSource
.admissionReferralSourceCode
PV1-14
Encounter / hospitalization / reAdmission
n/a
PV1-13
Encounter / hospitalization / dietPreference
  • .outboundRelationship[typeCode=COMP].target[classCode=SBADM
  • moodCode=EVN
  • code="diet"]
PV1-38
Encounter / hospitalization / specialCourtesy
.specialCourtesiesCode
PV1-16
Encounter / hospitalization / specialArrangement
.specialArrangementCode
PV1-15 / OBR-30 / OBR-43
Encounter / hospitalization / destination
.participation[typeCode=DST]
PV1-37
Encounter / hospitalization / dischargeDisposition
.dischargeDispositionCode
PV1-36
Encounter / location
.participation[typeCode=LOC]
Encounter / location / id
n/a
Encounter / location / extension
n/a
Encounter / location / modifierExtension
N/A
Encounter / location / location
Event.location
.role
FiveWs.where[x]
PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43
Encounter / location / status
.role.statusCode
Encounter / location / physicalType
Encounter / location / period
.time
Encounter / serviceProvider
Event.performer.actor
.particiaption[typeCode=PFM].role
PL.6 & PL.1
Encounter / serviceProvider / id
n/a
Encounter / serviceProvider / extension
n/a
Encounter / serviceProvider / reference
N/A
Encounter / serviceProvider / type
N/A
Encounter / serviceProvider / identifier
.identifier
Encounter / serviceProvider / identifier / id
n/a
Encounter / serviceProvider / identifier / extension
n/a
Encounter / serviceProvider / identifier / use
Role.code or implied by context
N/A
Encounter / serviceProvider / identifier / type
Role.code or implied by context
CX.5
Encounter / serviceProvider / identifier / system
II.root or Role.id.root
CX.4 / EI-2-4
Encounter / serviceProvider / identifier / value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
Encounter / serviceProvider / identifier / period
Role.effectiveTime or implied by context
CX.7 + CX.8
Encounter / serviceProvider / 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)
Encounter / serviceProvider / display
N/A
Encounter / partOf
Event.partOf
  • .inboundRelationship[typeCode=COMP].source[classCode=COMP
  • moodCode=EVN]

doco Documentation for this format