Implementation Guide
ePA Basisfunktionalitäten
Version 1.3.2 - release

## : ExampleEPAAuditEventConstraintBatch - XML Representation

Raw xml | Download

    <AuditEvent xmlns="http://hl7.org/fhir">
      <id value="532c1540-8403-4b57-8349-279f53443f23"/>
      <meta>
        <versionId value="1"/>
        <lastUpdated value="2026-03-10T13:50:04.047Z"/>
        <profile
                 value="https://gematik.de/fhir/epa/StructureDefinition/epa-auditevent|1.4.0"/>
      </meta>
      <type>
        <system value="http://terminology.hl7.org/CodeSystem/audit-event-type"/>
        <code value="rest"/>
      </type>
      <action value="C"/>
      <recorded value="2026-03-10T13:50:04.047Z"/>
      <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="CONMGMT"/>
          <display value="Constraint Management"/>
        </type>
      </source>
      <entity>
        <name value="GeneralDenyPolicy"/>
        <description value="batchSetDenyPolicyAssignment"/>
        <detail>
          <type value="DocumentTitle"/>
          <valueString value="Befund von Dr. Mustermann"/>
        </detail>
        <detail>
          <type value="RootDocumentId"/>
          <valueString
                       value="urn:uuid:0ab6dc6f-d5f2-4d89-8782-6794b6f372f2^^^^urn:gematik:iti:xds:2023:rootDocumentUniqueId"/>
        </detail>
      </entity>
      <entity>
        <name value="GeneralDenyPolicy"/>
        <description value="batchSetDenyPolicyAssignment"/>
        <detail>
          <type value="DocumentTitle"/>
          <valueString value="Brief von Dr. Mustermann"/>
        </detail>
        <detail>
          <type value="RootDocumentId"/>
          <valueString
                       value="urn:uuid:256181de-e732-48d7-8cbb-acdc133dde66^^^^urn:gematik:iti:xds:2023:rootDocumentUniqueId"/>
        </detail>
      </entity>
      <entity>
        <name value="GeneralDenyPolicy"/>
        <description value="batchSetDenyPolicyAssignment"/>
        <detail>
          <type value="CategoryId"/>
          <valueString value="dental"/>
        </detail>
      </entity>
    </AuditEvent>