{
"description": "Defines the data structure for audit events in the ePA system.",
"_filename": "StructureDefinition-epa-auditevent.json",
"package_name": "de.gematik.epa",
"date": "2024-07-10",
"derivation": "constraint",
"publisher": "gematik GmbH",
"fhirVersion": "4.0.1",
"name": "EPAAuditEvent",
"abstract": false,
"type": "AuditEvent",
"experimental": "false",
"resourceType": "StructureDefinition",
"title": "AuditEvent for the ePA (Elektronische Patientenakte)",
"package_version": "1.0.2",
"status": "active",
"id": "b3db810c-b5b5-462e-8408-421bf80b66f4",
"kind": "resource",
"url": "https://gematik.de/fhir/epa/StructureDefinition/epa-auditevent",
"version": "1.0.2",
"differential": {
"element": [ {
"id": "AuditEvent.type",
"path": "AuditEvent.type",
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/epa/ValueSet/epa-auditevent-type-vs"
}
}, {
"id": "AuditEvent.subtype",
"max": "0",
"path": "AuditEvent.subtype"
}, {
"id": "AuditEvent.action",
"min": 1,
"path": "AuditEvent.action",
"short": "Type of action performed during the event. CREATE: C | READ: R | UPDATE: U | DELETE: D | EXECUTE: E",
"definition": "Type of action performed during the event. CREATE: C | READ: R | UPDATE: U | DELETE: D | EXECUTE: E",
"mustSupport": true
}, {
"id": "AuditEvent.period",
"max": "0",
"path": "AuditEvent.period"
}, {
"id": "AuditEvent.recorded",
"path": "AuditEvent.recorded",
"mustSupport": true
}, {
"id": "AuditEvent.outcome",
"min": 1,
"path": "AuditEvent.outcome",
"short": "success: 0; failure: 4; major failure: 12",
"definition": "success: 0; failure: 4; major failure: 12",
"mustSupport": true
}, {
"id": "AuditEvent.outcomeDesc",
"max": "0",
"path": "AuditEvent.outcomeDesc"
}, {
"id": "AuditEvent.purposeOfEvent",
"max": "0",
"path": "AuditEvent.purposeOfEvent"
}, {
"id": "AuditEvent.agent",
"max": "1",
"path": "AuditEvent.agent",
"mustSupport": true
}, {
"id": "AuditEvent.agent.type",
"min": 1,
"path": "AuditEvent.agent.type",
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/epa/ValueSet/epa-participlationrole-type-vs"
},
"mustSupport": true
}, {
"id": "AuditEvent.agent.role",
"max": "0",
"path": "AuditEvent.agent.role"
}, {
"id": "AuditEvent.agent.who",
"min": 1,
"path": "AuditEvent.agent.who",
"short": "The subject Id of the IDToken",
"definition": "The subject Id of the IDToken"
}, {
"id": "AuditEvent.agent.who.identifier",
"min": 1,
"path": "AuditEvent.agent.who.identifier",
"type": [ {
"code": "Identifier",
"profile": [ "http://fhir.de/StructureDefinition/identifier-telematik-id", "http://fhir.de/StructureDefinition/identifier-kvid-10" ]
} ]
}, {
"id": "AuditEvent.agent.altId",
"path": "AuditEvent.agent.altId",
"short": "Alternative User identity (e.g. Telematik-ID or the KVNR)",
"definition": "Alternative User identity (e.g. Telematik-ID or the KVNR)",
"mustSupport": true
}, {
"id": "AuditEvent.agent.name",
"min": 1,
"path": "AuditEvent.agent.name",
"short": "Name of HCP or Insurant or a Service (e.g. E-Rezept-Fachdienst)",
"definition": "Name of HCP or Insurant or a Service (e.g. E-Rezept-Fachdienst)"
}, {
"id": "AuditEvent.agent.requestor",
"path": "AuditEvent.agent.requestor",
"fixedBoolean": false
}, {
"id": "AuditEvent.agent.location",
"max": "0",
"path": "AuditEvent.agent.location"
}, {
"id": "AuditEvent.agent.policy",
"max": "0",
"path": "AuditEvent.agent.policy"
}, {
"id": "AuditEvent.agent.media",
"max": "0",
"path": "AuditEvent.agent.media"
}, {
"id": "AuditEvent.agent.network",
"max": "0",
"path": "AuditEvent.agent.network"
}, {
"id": "AuditEvent.agent.purposeOfUse",
"max": "0",
"path": "AuditEvent.agent.purposeOfUse"
}, {
"id": "AuditEvent.source",
"path": "AuditEvent.source",
"mustSupport": true
}, {
"id": "AuditEvent.source.observer.display",
"path": "AuditEvent.source.observer.display",
"fixedString": "Elektronische Patientenakte Fachdienst"
}, {
"id": "AuditEvent.source.type",
"max": "1",
"min": 1,
"path": "AuditEvent.source.type",
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/epa/ValueSet/epa-auditevent-sourcetype-vs"
},
"mustSupport": true
}, {
"id": "AuditEvent.entity",
"min": 1,
"path": "AuditEvent.entity",
"mustSupport": true
}, {
"id": "AuditEvent.entity.what",
"max": "0",
"path": "AuditEvent.entity.what"
}, {
"id": "AuditEvent.entity.type",
"max": "0",
"path": "AuditEvent.entity.type"
}, {
"id": "AuditEvent.entity.role",
"max": "0",
"path": "AuditEvent.entity.role"
}, {
"id": "AuditEvent.entity.lifecycle",
"max": "0",
"path": "AuditEvent.entity.lifecycle"
}, {
"id": "AuditEvent.entity.securityLabel",
"max": "0",
"path": "AuditEvent.entity.securityLabel"
}, {
"id": "AuditEvent.entity.name",
"path": "AuditEvent.entity.name",
"short": "The title of the XDS document, FHIR resource or object name of a service (e.g. Entitlement Service, Device Management, ...).",
"definition": "The title of the XDS document, FHIR resource or object name of a service (e.g. Entitlement Service, Device Management, ...).",
"mustSupport": true
}, {
"id": "AuditEvent.entity.description",
"path": "AuditEvent.entity.description",
"short": "The OperationId",
"definition": "The OperationId",
"mustSupport": true
}, {
"id": "AuditEvent.entity.query",
"max": "0",
"path": "AuditEvent.entity.query"
}, {
"id": "AuditEvent.entity.detail",
"path": "AuditEvent.entity.detail",
"mustSupport": true
}, {
"id": "AuditEvent.entity.detail.type",
"path": "AuditEvent.entity.detail.type",
"short": "The Name of the property (e.g. Document Format, DocumentID, ...).",
"definition": "The Name of the property (e.g. Document Format, DocumentID, ...).",
"mustSupport": true
}, {
"id": "AuditEvent.entity.detail.value[x]",
"path": "AuditEvent.entity.detail.value[x]",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "$this",
"type": "type"
} ]
}
}, {
"path": "AuditEvent.entity.detail.value[x]",
"min": 1,
"definition": "Property value (e.g. urn:gematik:ig:Zahnbonusheft:v1.1.0)",
"short": "Property value (e.g. urn:gematik:ig:Zahnbonusheft:v1.1.0)",
"type": [ {
"code": "string"
} ],
"mustSupport": true,
"sliceName": "valueString",
"max": "1",
"id": "AuditEvent.entity.detail.value[x]:valueString"
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/AuditEvent"
}