{
  "resourceType" : "AuditEvent",
  "id" : "589b9862-7935-42f5-a06b-11a6f35833ee",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2026-11-02T12:05:13.117Z",
    "profile" : ["https://gematik.de/fhir/epa/StructureDefinition/epa-auditevent|1.4.0"]
  },
  "type" : {
    "system" : "http://terminology.hl7.org/CodeSystem/audit-event-type",
    "code" : "document"
  },
  "action" : "R",
  "recorded" : "2026-11-02T12:05:13.117Z",
  "outcome" : "0",
  "agent" : [{
    "type" : {
      "coding" : [{
        "system" : "http://dicom.nema.org/resources/ontology/DCM",
        "code" : "110150",
        "display" : "Application"
      }]
    },
    "who" : {
      "identifier" : {
        "system" : "https://gematik.de/fhir/sid/telematik-id",
        "value" : "9-000000000000000"
      }
    },
    "altId" : "9-000000000000000",
    "name" : "Portugal",
    "requestor" : true
  },
  {
    "extension" : [{
      "url" : "https://gematik.de/fhir/epa/StructureDefinition/epa-healthcare-facility-type-extension",
      "valueCoding" : {
        "system" : "urn:oid:1.3.6.1.4.1.12559.11.10.1.3.2.2.2",
        "code" : "Resident Physician",
        "display" : "Resident Physician"
      }
    }],
    "type" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleClass",
        "code" : "PROV",
        "display" : "healthcare provider"
      }]
    },
    "role" : [{
      "coding" : [{
        "system" : "urn:oid:2.16.840.1.113883.2.9.6.2.7",
        "code" : "221",
        "display" : "Medical Doctors"
      }]
    }],
    "name" : "Clínica de Dos Santos / Dr. Manuel Dos Santos",
    "requestor" : true
  }],
  "source" : {
    "observer" : {
      "display" : "Elektronische Patientenakte Fachdienst"
    },
    "type" : [{
      "system" : "https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs",
      "code" : "XDSSVC",
      "display" : "XDS Document Service"
    }]
  },
  "entity" : [{
    "name" : "XDS Document Service",
    "description" : "RetrieveDocumentSet",
    "detail" : [{
      "type" : "DocumentFormatCode",
      "valueString" : "urn:gematik:ig:pka:v1.0"
    },
    {
      "type" : "DocumentEntryTitle",
      "valueString" : "Patient Summary"
    },
    {
      "type" : "DocumentUniqueId",
      "valueString" : "e196c836-c8c3-47ae-9b9a-7124cbfef42f"
    }]
  }]
}