@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/589b9862-7935-42f5-a06b-11a6f35833ee> a fhir:AuditEvent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "589b9862-7935-42f5-a06b-11a6f35833ee"] ; # 
  fhir:meta [
     fhir:versionId [ fhir:v "1" ] ;
     fhir:lastUpdated [ fhir:v "2026-11-02T12:05:13.117Z"^^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 "document" ]
  ] ; # 
  fhir:action [ fhir:v "R"] ; # 
  fhir:recorded [ fhir:v "2026-11-02T12:05:13.117Z"^^xsd:dateTime] ; # 
  fhir:outcome [ fhir:v "0"] ; # 
  fhir:agent ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ;
           fhir:l <http://dicom.nema.org/resources/ontology/DCM>
         ] ;
         fhir:code [ fhir:v "110150" ] ;
         fhir:display [ fhir:v "Application" ]
       ] )
     ] ;
     fhir:who [
       fhir:identifier [
         fhir:system [
           fhir:v "https://gematik.de/fhir/sid/telematik-id"^^xsd:anyURI ;
           fhir:l <https://gematik.de/fhir/sid/telematik-id>
         ] ;
         fhir:value [ fhir:v "9-000000000000000" ]
       ]
     ] ;
     fhir:altId [ fhir:v "9-000000000000000" ] ;
     fhir:name [ fhir:v "Portugal" ] ;
     fhir:requestor [ fhir:v true ]
  ] [
     fhir:extension ( [
       fhir:url [
         fhir:v "https://gematik.de/fhir/epa/StructureDefinition/epa-healthcare-facility-type-extension"^^xsd:anyURI ;
         fhir:l <https://gematik.de/fhir/epa/StructureDefinition/epa-healthcare-facility-type-extension>
       ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [
           fhir:v "urn:oid:2.16.840.1.113883.2.9.6.2.7"^^xsd:anyURI ;
           fhir:l <urn:oid:2.16.840.1.113883.2.9.6.2.7>
         ] ;
         fhir:code [ fhir:v "221" ] ;
         fhir:display [ fhir:v "Medical Doctors" ]
       ]
     ] ) ;
     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 "PROV" ] ;
         fhir:display [ fhir:v "healthcare provider" ]
       ] )
     ] ;
     fhir:role ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "urn:oid:1.3.6.1.4.1.12559.11.10.1.3.2.2.2"^^xsd:anyURI ;
           fhir:l <urn:oid:1.3.6.1.4.1.12559.11.10.1.3.2.2.2>
         ] ;
         fhir:code [ fhir:v "Resident Physician" ] ;
         fhir:display [ fhir:v "Resident Physician" ]
       ] )
     ] ) ;
     fhir:name [ fhir:v "Dr. Manuel Dos Santos / Clínica de Dos Santos" ] ;
     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 "XDSSVC" ] ;
       fhir:display [ fhir:v "XDS Document Service" ]
     ] )
  ] ; # 
  fhir:entity ( [
     fhir:name [ fhir:v "XDS Document Service" ] ;
     fhir:description [ fhir:v "RetrieveDocumentSet" ] ;
     fhir:detail ( [
       fhir:type [ fhir:v "DocumentFormatCode" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "urn:gematik:ig:pka:v1.0"
       ]
     ] [
       fhir:type [ fhir:v "DocumentEntryTitle" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Patient Summary"
       ]
     ] [
       fhir:type [ fhir:v "DocumentUniqueId" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "e196c836-c8c3-47ae-9b9a-7124cbfef42f"
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

