# ExampleEPAAuditEventEntitlementLEI - Implementation Guide ePA Basisfunktionalitäten v1.3.1

Implementation Guide

ePA Basisfunktionalitäten

Version 1.3.1 - release 

* [**Table of Contents**](toc.md)
* [**FHIR-Artefakte**](artifacts.md)
* **ExampleEPAAuditEventEntitlementLEI**

## Example AuditEvent: ExampleEPAAuditEventEntitlementLEI



## Resource Content

```json
{
  "resourceType" : "AuditEvent",
  "id" : "69b6ab63-03c5-4e4c-b9d8-dc68e51487c4",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2026-07-22T09:05:04.232Z",
    "profile" : ["https://gematik.de/fhir/epa/StructureDefinition/epa-auditevent|1.3.0"]
  },
  "type" : {
    "system" : "http://terminology.hl7.org/CodeSystem/audit-event-type",
    "code" : "rest"
  },
  "action" : "C",
  "recorded" : "2026-07-22T09:05:04.232Z",
  "outcome" : "0",
  "agent" : [{
    "type" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleClass",
        "code" : "PROV",
        "display" : "healthcare provider"
      }]
    },
    "who" : {
      "identifier" : {
        "system" : "https://gematik.de/fhir/sid/telematik-id",
        "value" : "1-883110000092404"
      }
    },
    "altId" : "1-883110000092404",
    "name" : "Praxis Dr. John Doe",
    "requestor" : true
  }],
  "source" : {
    "observer" : {
      "display" : "Elektronische Patientenakte Fachdienst"
    },
    "type" : [{
      "system" : "https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs",
      "code" : "ENTITMGMT",
      "display" : "Entitlement Management"
    }]
  },
  "entity" : [{
    "name" : "EntitlementManagement",
    "description" : "setEntitlementPs",
    "detail" : [{
      "type" : "UserName",
      "valueString" : "Praxis Dr. John Doe"
    },
    {
      "type" : "UserId",
      "valueString" : "1-883110000092404"
    },
    {
      "type" : "entitledValidTo",
      "valueString" : "2026-10-20T22:59:59Z"
    }]
  }]
}

```
