<?xml version="1.0" encoding="UTF-8"?>

<Bundle xmlns="http://hl7.org/fhir">
  <id value="BundleVerificationSamplesPageTwoResponseExample"/>
  <type value="searchset"/>
  <timestamp value="2026-07-03T10:00:05+12:00"/>
  <total value="2"/>
  <link>
    <relation value="self"/>
    <url value="https://api.uat.sdhr.digital.health.nz/s2s/AuditEvent/$verification-samples?_count=1&amp;_offset=1"/>
  </link>
  <entry>
    <fullUrl value="https://api.uat.sdhr.digital.health.nz/s2s/AuditEvent/6ebffb1a-61a1-4646-857e-51d4153b698d"/>
    <resource>
      <AuditEvent>
        <id value="6ebffb1a-61a1-4646-857e-51d4153b698d"/>
        <meta>
          <profile value="https://fhir-ig.digital.health.nz/sdhr/StructureDefinition/SDHRAuditEvent"/>
        </meta>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="AuditEvent_6ebffb1a-61a1-4646-857e-51d4153b698d"> </a><p class="res-header-id"><b>Generated Narrative: AuditEvent 6ebffb1a-61a1-4646-857e-51d4153b698d</b></p><a name="6ebffb1a-61a1-4646-857e-51d4153b698d"> </a><a name="hc6ebffb1a-61a1-4646-857e-51d4153b698d"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-SDHRAuditEvent.html">SDHRAuditEvent</a></p></div><p><b>type</b>: <a href="http://terminology.hl7.org/7.2.0/CodeSystem-audit-event-type.html#audit-event-type-rest">Audit Event ID: rest</a> (Restful Operation)</p><p><b>subtype</b>: <a href="http://hl7.org/fhir/R4/codesystem-restful-interaction.html#restful-interaction-search-type">FHIR Restful Interactions: search-type</a> (search-type)</p><p><b>action</b>: Execute</p><p><b>recorded</b>: 2026-07-03 09:20:00+1200</p><p><b>outcome</b>: Success</p><p><b>outcomeDesc</b>: Successful search access sample returned for verification workflow.</p><h3>Agents</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Who</b></td><td><b>Requestor</b></td></tr><tr><td style="display: none">*</td><td>Identifier: HPIProvider/1234</td><td>true</td></tr></table><h3>Sources</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Observer</b></td></tr><tr><td style="display: none">*</td><td>HNZ API Gateway</td></tr></table><blockquote><p><b>entity</b></p><p><b>what</b>: Identifier: <code>https://standards.digital.health.nz/ns/nhi</code>/ZKC7284</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <a href="AllergyIntolerance-AllergyIntoleranceExample.html">AllergyIntolerance Allergy to penicillin (finding)</a></p><h3>Details</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style="display: none">*</td><td>correlationId</td><td>c500dae6-ac65-4e4f-a4c1-5aa222a6a807</td></tr></table></blockquote></div>
        </text>
        <type>
          <system value="http://terminology.hl7.org/CodeSystem/audit-event-type"/>
          <code value="rest"/>
          <display value="Restful Operation"/>
        </type>
        <subtype>
          <system value="http://hl7.org/fhir/restful-interaction"/>
          <code value="search-type"/>
          <display value="search-type"/>
        </subtype>
        <action value="E"/>
        <recorded value="2026-07-03T09:20:00+12:00"/>
        <outcome value="0"/>
        <outcomeDesc value="Successful search access sample returned for verification workflow."/>
        <agent>
          <who>
            <identifier>
              <system value="https://standards.digital.health.nz/ns/hpi-person-id"/>
              <value value="1234"/>
            </identifier>
          </who>
          <requestor value="true"/>
        </agent>
        <source>
          <observer>
            <display value="HNZ API Gateway"/>
          </observer>
        </source>
        <entity>
          <what>
            <identifier>
              <system value="https://standards.digital.health.nz/ns/nhi"/>
              <value value="ZKC7284"/>
            </identifier>
          </what>
        </entity>
        <entity>
          <what>
            <reference value="AllergyIntolerance/AllergyIntoleranceExample"/>
          </what>
          <detail>
            <type value="correlationId"/>
            <valueString value="c500dae6-ac65-4e4f-a4c1-5aa222a6a807"/>
          </detail>
        </entity>
      </AuditEvent>
    </resource>
  </entry>
</Bundle>