<AuditEvent xmlns="http://hl7.org/fhir">
<id value="633ecbbf-d105-4e35-8c9f-0536ee7b6c59"/>
<meta>
<versionId value="1"/>
<lastUpdated value="2026-10-03T02:00:04.322Z"/>
<profile
value="https://gematik.de/fhir/epa/StructureDefinition/epa-auditevent|1.3.0"/>
</meta>
<type>
<system value="http://terminology.hl7.org/CodeSystem/audit-event-type"/>
<code value="rest"/>
</type>
<action value="U"/>
<recorded value="2026-10-03T02:00:04.322Z"/>
<outcome value="0"/>
<agent>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-RoleClass"/>
<code value="PAT"/>
<display value="patient"/>
</coding>
</type>
<who>
<identifier>
<system value="http://fhir.de/sid/gkv/kvid-10"/>
<value value="A123456780"/>
</identifier>
</who>
<altId value="A123456780"/>
<name value="Erika Musterfrau"/>
<requestor value="true"/>
</agent>
<source>
<observer>
<display value="Elektronische Patientenakte Fachdienst"/>
</observer>
<type>
<system
value="https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs"/>
<code value="CDMGMT"/>
<display value="Consent Decision Management"/>
</type>
</source>
<entity>
<name value="DataUsagePurpose"/>
<description value="updateDataUsagePurposes"/>
<detail>
<type value="purpose3"/>
<valueString value="deny"/>
</detail>
<detail>
<type value="purpose7"/>
<valueString value="permit"/>
</detail>
</entity>
</AuditEvent>