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

: AuditEventVerificationSampleOne - XML Representation

Raw xml | Download


<AuditEvent xmlns="http://hl7.org/fhir">
  <id value="b3f9de58-2da4-427c-a39c-07147eac3615"/>
  <type>
    <system value="http://terminology.hl7.org/CodeSystem/audit-event-type"/>
    <code value="rest"/>
  </type>
  <recorded value="2026-07-03T09:15:00+12:00"/>
  <agent>
    <role>
      <coding>
        <system
                value="http://terminology.hl7.org/CodeSystem/extra-security-role-type"/>
        <code value="dataprocessor"/>
      </coding>
    </role>
    <who>
      <identifier>
        <system
                value="https://api.auth.digital.health.nz/realms/hnz-integration/clients"/>
        <value value="2b628d46-bdad-4f91-a3b0-c26e058c7d24"/>
      </identifier>
    </who>
    <requestor value="false"/>
  </agent>
  <agent>
    <role>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleClass"/>
        <code value="PROV"/>
      </coding>
    </role>
    <who>
      <identifier>
        <system value="https://standards.digital.health.nz/ns/hpi-person-id"/>
        <value value="99ZZFX"/>
      </identifier>
    </who>
    <requestor value="true"/>
  </agent>
  <agent>
    <role>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleClass"/>
        <code value="PROV"/>
      </coding>
    </role>
    <who>
      <identifier>
        <system
                value="https://standards.digital.health.nz/ns/hpi-organisation-id"/>
        <value value="GZZ999"/>
      </identifier>
    </who>
    <requestor value="false"/>
  </agent>
  <source>
    <observer>
      <display value="SDHR verification samples"/>
    </observer>
  </source>
  <entity>
    <detail>
      <type value="nhi"/>
      <valueString value="ZZZ0004"/>
    </detail>
    <detail>
      <type value="correlationId"/>
      <valueString value="c500dae6-ac65-4e4f-a4c1-5aa222a6a807"/>
    </detail>
  </entity>
</AuditEvent>