# ExampleEPAAuditEventConsentDecision - 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)
* **ExampleEPAAuditEventConsentDecision**

## Example AuditEvent: ExampleEPAAuditEventConsentDecision



## Resource Content

```json
{
  "resourceType" : "AuditEvent",
  "id" : "825c3fdd-b784-4370-8dd2-c1d3bed674ec",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2025-01-16T13:12:17.184Z",
    "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" : "U",
  "recorded" : "2025-01-16T13:12:17.184Z",
  "outcome" : "0",
  "agent" : [{
    "type" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleClass",
        "code" : "PAT",
        "display" : "patient"
      }]
    },
    "who" : {
      "identifier" : {
        "system" : "http://fhir.de/sid/gkv/kvid-10",
        "value" : "A123456780"
      }
    },
    "altId" : "A123456780",
    "name" : "Erika Musterfrau",
    "requestor" : true
  }],
  "source" : {
    "observer" : {
      "display" : "Elektronische Patientenakte Fachdienst"
    },
    "type" : [{
      "system" : "https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs",
      "code" : "CDMGMT",
      "display" : "Consent Decision Management"
    }]
  },
  "entity" : [{
    "name" : "ConsentDecision",
    "description" : "updateConsentDecision",
    "detail" : [{
      "type" : "ConsentClass",
      "valueString" : "healthCareProcess"
    },
    {
      "type" : "ConsentClassId",
      "valueString" : "erp-submission"
    },
    {
      "type" : "ConsentDecision",
      "valueString" : "deny"
    }]
  }]
}

```
