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

<AuditEvent xmlns="http://hl7.org/fhir">
  <id value="auditevent-opschoning-grace-reset"/>
  <meta>
    <profile value="http://koppeltaal.nl/fhir/StructureDefinition/KT2AuditEvent"/>
    <security>
      <system value="http://vzvz.nl/fhir/CodeSystem/koppeltaal-security-label"/>
      <code value="kt2-delete-flow"/>
      <display value="KT2 delete flow"/>
    </security>
  </meta>
  <language value="nl-NL"/>
  <text>
    <status value="generated"/><div xml:lang="nl-NL" xmlns="http://www.w3.org/1999/xhtml" lang="nl-NL">Example of an aggregated deletion lifecycle AuditEvent: holds cleared, grace period restarted (archive, action U)</div>
  </text>
  <extension url="http://koppeltaal.nl/fhir/StructureDefinition/trace-id">
    <valueId value="3c8f5e4d-1a6b-4f9c-0e3d-7b4a8c1f2e53"/>
  </extension>
  <extension url="http://koppeltaal.nl/fhir/StructureDefinition/request-id">
    <valueId value="Hr4xM9oFz6sYp1Ud"/>
  </extension>
  <type>
    <system value="http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle"/>
    <code value="archive"/>
    <display value="Archive Record Lifecycle Event"/>
  </type>
  <action value="U"/>
  <recorded value="2026-07-31T06:00:00+00:00"/>
  <outcome value="0"/>
  <agent>
    <type>
      <coding>
        <system value="http://dicom.nema.org/resources/ontology/DCM"/>
        <code value="110153"/>
        <display value="Source Role ID"/>
      </coding>
    </type>
    <who>
      <reference value="Device/device-koppeltaalvoorziening"/>
      <type value="Device"/>
    </who>
    <requestor value="true"/>
  </agent>
  <source>
    <site value="Koppeltaal Domein X"/>
    <observer>
      <reference value="Device/device-koppeltaalvoorziening"/>
      <type value="Device"/>
    </observer>
  </source>
  <entity>
    <what>
      <reference value="Patient/patient-botje-minimaal"/>
      <type value="Patient"/>
    </what>
    <type>
      <system value="http://hl7.org/fhir/resource-types"/>
      <code value="Patient"/>
      <display value="Patient"/>
    </type>
    <role>
      <system value="http://terminology.hl7.org/CodeSystem/object-role"/>
      <code value="1"/>
      <display value="Patient"/>
    </role>
  </entity>
</AuditEvent>