Implementation Guide
ePA Basisfunktionalitäten
Version 1.3.1 - release

## : ExampleSearchsetBundleAuditEvent - JSON Representation

Raw json | Download

    {
      "resourceType" : "Bundle",
      "id" : "example-searchset-audit-event",
      "type" : "searchset",
      "total" : 100,
      "link" : [
        {
          "relation" : "self",
          "url" : "/epa/audit/api/v1/fhir/AuditEvent?_offset=20&_count=10"
        },
        {
          "relation" : "previous",
          "url" : "/epa/audit/api/v1/fhir/AuditEvent?_offset=10&_count=10"
        },
        {
          "relation" : "next",
          "url" : "/epa/audit/api/v1/fhir/AuditEvent?_offset=30&_count=10"
        }
      ],
      "entry" : [
        {
          "fullUrl" : "http://epa4all/epa/AuditEvent/api/v1/fhir/AuditEvent/669699b2-f131-4097-b13d-71413a58aa92",
          "resource" : {
            "resourceType" : "AuditEvent",
            "id" : "669699b2-f131-4097-b13d-71413a58aa92",
            "meta" : {
              "versionId" : "1",
              "lastUpdated" : "2025-01-15T14:43:33.244Z",
              "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" : "E",
            "recorded" : "2025-01-15T14:52:04.928Z",
            "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" : "1-000000000000000"
                  }
                },
                "altId" : "1-000000000000000",
                "name" : "E-Rezept-Fachdienst",
                "requestor" : true
              }
            ],
            "source" : {
              "observer" : {
                "display" : "Elektronische Patientenakte Fachdienst"
              },
              "type" : [
                {
                  "system" : "https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs",
                  "code" : "MEDICATIONSVC",
                  "display" : "Medication Service"
                }
              ]
            },
            "entity" : [
              {
                "name" : "Medication Service",
                "description" : "cancelDispensation_MedicationSvc"
              }
            ]
          },
          "search" : {
            "mode" : "match"
          }
        },
        {
          "fullUrl" : "http://epa4all/epa/AuditEvent/api/v1/fhir/AuditEvent/589b9862-7935-42f5-a06b-11a6f35833ee",
          "resource" : {
            "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.3.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:2.16.840.1.113883.2.9.6.2.7",
                      "code" : "221",
                      "display" : "Medical Doctors"
                    }
                  }
                ],
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleClass",
                      "code" : "PROV",
                      "display" : "healthcare provider"
                    }
                  ]
                },
                "role" : [
                  {
                    "coding" : [
                      {
                        "system" : "urn:oid:1.3.6.1.4.1.12559.11.10.1.3.2.2.2",
                        "code" : "Resident Physician",
                        "display" : "Resident Physician"
                      }
                    ]
                  }
                ],
                "name" : "Dr. Manuel Dos Santos / Clínica de 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"
                  }
                ]
              }
            ]
          },
          "search" : {
            "mode" : "match"
          }
        }
      ]
    }