Implementation Guide
ePA Basisfunktionalitäten
Version 1.3.2 - release

## : ExampleEPAAuditEventEntitlementLEI - XML Representation

Raw xml | Download

    <AuditEvent xmlns="http://hl7.org/fhir">
      <id value="69b6ab63-03c5-4e4c-b9d8-dc68e51487c4"/>
      <meta>
        <versionId value="1"/>
        <lastUpdated value="2026-07-22T09:05:04.232Z"/>
        <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-07-22T09:05:04.232Z"/>
      <outcome value="0"/>
      <agent>
        <type>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-RoleClass"/>
            <code value="PROV"/>
            <display value="healthcare provider"/>
          </coding>
        </type>
        <who>
          <identifier>
            <system value="https://gematik.de/fhir/sid/telematik-id"/>
            <value value="1-883110000092404"/>
          </identifier>
        </who>
        <altId value="1-883110000092404"/>
        <name value="Praxis Dr. John Doe"/>
        <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="ENTITMGMT"/>
          <display value="Entitlement Management"/>
        </type>
      </source>
      <entity>
        <name value="EntitlementManagement"/>
        <description value="setEntitlementPs"/>
        <detail>
          <type value="UserName"/>
          <valueString value="Praxis Dr. John Doe"/>
        </detail>
        <detail>
          <type value="UserId"/>
          <valueString value="1-883110000092404"/>
        </detail>
        <detail>
          <type value="entitledValidTo"/>
          <valueString value="2026-10-20T22:59:59Z"/>
        </detail>
      </entity>
    </AuditEvent>