@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://gematik.de/fhir/epa/AuditEvent/daf3263b-41ba-420c-aacd-bf98dc16d315> a fhir:AuditEvent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "daf3263b-41ba-420c-aacd-bf98dc16d315"] ; # 
  fhir:meta [
     fhir:versionId [ fhir:v "1" ] ;
     fhir:lastUpdated [ fhir:v "2026-04-28T21:17:03.047Z"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "https://gematik.de/fhir/epa/StructureDefinition/epa-auditevent|1.3.0"^^xsd:anyURI ;
       fhir:l <https://gematik.de/fhir/epa/StructureDefinition/epa-auditevent?version=1.3.0>
     ] )
  ] ; # 
  fhir:type [
     fhir:system [
       fhir:v "http://terminology.hl7.org/CodeSystem/audit-event-type"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/CodeSystem/audit-event-type>
     ] ;
     fhir:code [ fhir:v "rest" ]
  ] ; # 
  fhir:action [ fhir:v "C"] ; # 
  fhir:recorded [ fhir:v "2026-04-28T21:17:03.047Z"^^xsd:dateTime] ; # 
  fhir:outcome [ fhir:v "0"] ; # 
  fhir:agent ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleClass"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-RoleClass>
         ] ;
         fhir:code [ fhir:v "PAT" ] ;
         fhir:display [ fhir:v "patient" ]
       ] )
     ] ;
     fhir:who [
       fhir:identifier [
         fhir:system [
           fhir:v "http://fhir.de/sid/gkv/kvid-10"^^xsd:anyURI ;
           fhir:l <http://fhir.de/sid/gkv/kvid-10>
         ] ;
         fhir:value [ fhir:v "A123456780" ]
       ]
     ] ;
     fhir:altId [ fhir:v "A123456780" ] ;
     fhir:name [ fhir:v "Erika Musterfrau" ] ;
     fhir:requestor [ fhir:v true ]
  ] ) ; # 
  fhir:source [
     fhir:observer [
       fhir:display [ fhir:v "Elektronische Patientenakte Fachdienst" ]
     ] ;
     fhir:type ( [
       fhir:system [
         fhir:v "https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs"^^xsd:anyURI ;
         fhir:l <https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs>
       ] ;
       fhir:code [ fhir:v "CDMGMT" ] ;
       fhir:display [ fhir:v "Consent Decision Management" ]
     ] )
  ] ; # 
  fhir:entity ( [
     fhir:name [ fhir:v "UdpMedication" ] ;
     fhir:description [ fhir:v "setUserSpecificMedicationDeny" ] ;
     fhir:detail ( [
       fhir:type [ fhir:v "UserId" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "2-883110000092414"
       ]
     ] [
       fhir:type [ fhir:v "UserName" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Zahnarztpraxis Norbert Freiherr Schomaker"
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

