description: Das AuditEvent-Profil für die Protokollierung des Zugriffs auf einen FHIR Data Service der Telematikinfrastruktur (TI) package_name: de.gematik.tiflow derivation: constraint name: TIFlowAuditEventRest type: AuditEvent elements: type: pattern: type: Coding value: {code: rest, system: 'http://terminology.hl7.org/CodeSystem/audit-event-type'} mustSupport: true index: 0 elements: system: {index: 1} code: {index: 2} required: [system, code] subtype: {mustSupport: true, index: 3} action: {mustSupport: true, index: 4} outcome: {mustSupport: true, index: 5} agent: mustSupport: true index: 6 elements: type: mustSupport: true index: 7 elements: coding: elements: system: {mustSupport: true, index: 8} code: {mustSupport: true, index: 9} required: [system, code] required: [type] slicing: rules: open ordered: false discriminator: - {path: type, type: value} min: null slices: user: match: {type: null} schema: index: 10 elements: type: elements: coding: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/extra-security-role-type'} index: 11 code: pattern: {type: Code, value: humanuser} index: 12 who: elements: identifier: type: Identifier mustSupport: true index: 13 elements: value: {mustSupport: true, index: 14} required: [value] required: [identifier] client: match: {type: null} schema: index: 15 elements: type: binding: {strength: required, valueSet: 'https://gematik.de/fhir/tiflow/ValueSet/tiflow-audit-event-agent-type-vs'} index: 16 elements: coding: elements: system: pattern: {type: Uri, value: 'http://dicom.nema.org/resources/ontology/DCM|01'} index: 17 code: pattern: {type: Code, value: '110150'} index: 18 who: elements: identifier: type: Identifier mustSupport: true index: 19 elements: value: {mustSupport: true, index: 20} required: [value] required: [identifier] internal: match: {type: null} schema: index: 21 elements: type: elements: coding: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/extra-security-role-type'} index: 22 code: pattern: {type: Code, value: dataprocessor} index: 23 name: short: Name des FHIR Data Service mustSupport: true pattern: {type: String, value: TI-Flow-Fachdienst} index: 24 required: [name] source: mustSupport: true index: 25 elements: site: {mustSupport: true, index: 26} observer: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Device'] index: 27 elements: reference: {index: 28} required: [reference] required: [site] entity: mustSupport: true index: 29 elements: type: mustSupport: true index: 30 elements: system: {mustSupport: true, index: 31} code: {mustSupport: true, index: 32} required: [system, code] required: [type] slicing: rules: open ordered: false discriminator: - {path: type, type: value} min: 1 slices: patient: match: {type: null} schema: _required: true index: 33 elements: what: elements: identifier: {type: Identifier, mustSupport: true, index: 34} required: [identifier] type: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/audit-entity-type'} index: 35 code: pattern: {type: Code, value: Patient} index: 36 task: match: {type: null} schema: index: 37 elements: what: elements: identifier: {type: Identifier, mustSupport: true, index: 38} required: [identifier] type: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/audit-entity-type'} index: 39 code: pattern: {type: Code, value: Task} index: 40 service: match: {type: null} schema: index: 41 elements: type: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/audit-entity-type'} index: 42 code: pattern: {type: Code, value: '4'} index: 43 name: {short: Name des FHIR Data Service, mustSupport: true, index: 44} required: [name] package_version: 2.0.0 class: profile kind: resource url: https://gematik.de/fhir/tiflow/StructureDefinition/audit-event-rest base: http://hl7.org/fhir/StructureDefinition/AuditEvent version: 2.0.0 required: [entity]