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: SDHRAuditEvent - Mappings

Draft as of 2026-10-20

Mappings for the SDHRAuditEvent resource profile.

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

NameWorkflow PatternRIM MappingDICOM Tag MappingFiveWs Pattern MappingW3C PROVFHIR Provenance Mappingdoco
AuditEvent
Event
ControlAct[moodCode=EVN]
Message
AuditEvent / id
AuditEvent / meta
AuditEvent / implicitRules
AuditEvent / language
AuditEvent / text
Act.text?
AuditEvent / contained
N/A
AuditEvent / extension
AuditEvent / modifierExtension
AuditEvent / type
Event.code
  • .code (type
  • subtype and action are pre-coordinated or sent as translations)
EventId
FiveWs.what[x]
Activity
AuditEvent / type / id
n/a
AuditEvent / type / extension
n/a
AuditEvent / type / system
./codeSystem
AuditEvent / type / version
./codeSystemVersion
AuditEvent / type / code
./code
AuditEvent / type / display
CV.displayName
AuditEvent / type / userSelected
CD.codingRationale
AuditEvent / subtype
  • .code (type
  • subtype and action are pre-coordinated or sent as translations)
EventTypeCode
FiveWs.what[x]
AuditEvent / action
  • .code (type
  • subtype and action are pre-coordinated or sent as translations)
EventActionCode
FiveWs.what[x]
AuditEvent / period
Event.occurred[x]
./effectiveTime[type=IVL_TS]
EventDateTime
FiveWs.done[x]
Activity.startTime & Activity.endTime
Provenance.occurred[x]
AuditEvent / recorded
.effectiveTime
FiveWs.recorded
Activity.when
Provenance.recorded
AuditEvent / outcome
.actionNegationInd
EventOutcomeIndicator
FiveWs.what[x]
AuditEvent / outcomeDesc
.outboundRelationship[typeCode=OUT].target.text
EventOutcomeDescription
FiveWs.what[x]
AuditEvent / purposeOfEvent
Event.reasonCode
* .reasonCode [ControlActReason when Act.class = CACT Control Act] *.outboundRelationship[typeCode=RSON].target
EventPurposeOfUse
FiveWs.why[x]
Activity.Activity
  • Provenance.reason
  • Provenance.activity
AuditEvent / agent
Event.performer
.participation
ActiveParticipant
FiveWs.who
Agent
Provenance.agent
AuditEvent / agent / id
n/a
AuditEvent / agent / extension
n/a
AuditEvent / agent / modifierExtension
N/A
AuditEvent / agent / type
Event.performer.function
.typeCode and/or .functionCode
RoleIdCode
FiveWs.who
Agent.Attribution
Provenance.agent.type
AuditEvent / agent / role
.role
RoleIdCode
FiveWs.who
Agent.Attribution
Provenance.agent.role
AuditEvent / agent / who
Event.performer.actor
.id
UserId
FiveWs.who
Agent.Identity
Provenance.agent.who
AuditEvent / agent / altId
.id (distinguish id type by root)
AlternativeUserId
FiveWs.who
Agent.Identity
AuditEvent / agent / name
.name
UserName
FiveWs.who
Agent.Identity
AuditEvent / agent / requestor
  • If participation.typeCode was author
  • then true
UserIsRequestor
FiveWs.who
AuditEvent / agent / location
Event.location
* Role.Class =SDLOC *Role.Code = ServiceDeliveryLocationRoleType *Entity.Code = PlaceEntityType = df.Types of places for Entity.Class = PLC *EntityClass = PLC = df.A physical place or site with its containing structure. May be natural or man-made. The geographic position of a place might or might not be constant.
FiveWs.where[x]
Activity.location
Provenance.location
AuditEvent / agent / policy
ActPolicyType
ParticipantRoleIDCode
FiveWs.why[x]
Provenance.policy
AuditEvent / agent / media
.player.description.mediaType
MediaType
FiveWs.where[x]
AuditEvent / agent / network
.player.description.reference
FiveWs.where[x]
AuditEvent / agent / network / id
n/a
AuditEvent / agent / network / extension
n/a
AuditEvent / agent / network / modifierExtension
N/A
AuditEvent / agent / network / address
pre-coordinated into URL
NetworkAccessPointID
FiveWs.where[x]
Agent.Location
AuditEvent / agent / network / type
pre-coordinated into URL
NetworkAccessPointTypeCode
FiveWs.where[x]
AuditEvent / agent / purposeOfUse
PurposeOfUse (2.16.840.1.113883.1.11.20448) * .outboundRelationship[typeCode=RSON or SUBJ].target
FiveWs.why[x]
Agent.Activity
AuditEvent / source
  • .participation[typeCode=INF].role[classCode=ASSIGN].player[classCode=DEV
  • determinerCode=INSTANCE]
AuditSourceIdentification
FiveWs.witness
AuditEvent / source / id
n/a
AuditEvent / source / extension
n/a
AuditEvent / source / modifierExtension
N/A
AuditEvent / source / site
.scopedRole[classCode=LOCE].player.desc
AuditEnterpriseSiteId
FiveWs.witness
AuditEvent / source / observer
.id
AuditSourceId
FiveWs.witness
AuditEvent / source / observer / id
n/a
AuditEvent / source / observer / extension
n/a
AuditEvent / source / observer / reference
N/A
AuditEvent / source / observer / type
N/A
AuditEvent / source / observer / identifier
.identifier
AuditEvent / source / observer / display
N/A
AuditEvent / source / type
.code
AuditSourceTypeCode
FiveWs.witness
AuditEvent / entity
.outboundRelationship[typeCode=SUBJ].target or .participation[typeCode=SBJ].role
ParticipantObjectIdentification
FiveWs.what[x]
Entity
  • Provenance.target
  • Provenance.entity
AuditEvent / entity / id
n/a
AuditEvent / entity / extension
n/a
AuditEvent / entity / modifierExtension
N/A
AuditEvent / entity / what
.id
ParticipantObjectID and ParticipantObjectIDTypeCode
FiveWs.what[x]
  • Provenance.target
  • Provenance.entity.what
AuditEvent / entity / type
:Act].code or role.player.code
ParticipantObjectTypeCode
FiveWs.what[x]
Entity.type
Provenance.entity.type
AuditEvent / entity / role
role.code (not sure what this would mean for an Act)
ParticipantObjectTypeCodeRole
FiveWs.context
Entity.role
AuditEvent / entity / lifecycle
target of ObservationEvent[code="lifecycle"].value
ParticipantObjectDataLifeCycle
FiveWs.context
Entity.role
Provenance.entity.role
AuditEvent / entity / securityLabel
.confidentialityCode
ParticipantObjectSensitivity
FiveWs.context
AuditEvent / entity / name
.title
ParticipantObjectName
FiveWs.context
Entity.Label
AuditEvent / entity / description
.text
ParticipantObjectDescription
FiveWs.context
AuditEvent / entity / query
No mapping
ParticipantObjectQuery
FiveWs.context
AuditEvent / entity / detail
  • .inboundRelationship[typeCode=SUBJ].target[classCode=OBS
  • moodCode=EVN]
ParticipantObjectDetail
FiveWs.context
AuditEvent / entity / detail / id
n/a
AuditEvent / entity / detail / extension
n/a
AuditEvent / entity / detail / modifierExtension
N/A
AuditEvent / entity / detail / type
.code
ParticipantObjectDetail.type
FiveWs.context
AuditEvent / entity / detail / value[x]
.value
ParticipantObjectDetail.value
FiveWs.context

doco Documentation for this format