From 4d44b6395d6b30a35b3204ddcfe23fc4e08aa3d0 Mon Sep 17 00:00:00 2001 From: Aleksandr Lisianoi Date: Wed, 26 Jun 2024 15:05:27 +0200 Subject: [PATCH] Fix AuditEvent.source.type: must be an array of CodeableConcept See: https://hl7.org/fhir/auditevent-definitions.html#AuditEvent.source.type --- src/openapi/I_Audit_Event.yaml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/src/openapi/I_Audit_Event.yaml b/src/openapi/I_Audit_Event.yaml index 9bbbb3c..1de829b 100644 --- a/src/openapi/I_Audit_Event.yaml +++ b/src/openapi/I_Audit_Event.yaml @@ -867,9 +867,10 @@ components: type: string example: Elektronische Patientenakte Fachdienst type: - allOf: - - description: "Code specifying the type of source where event originated. CDMGMT | ENTITMGMT | DEVICEMGMT | HRRSVC | XDSSVC | MEDICATIONSVC | CONMGMT" - - $ref: '#/components/schemas/Coding' + description: "Code specifying the type of source where event originated. CDMGMT | ENTITMGMT | DEVICEMGMT | HRRSVC | XDSSVC | MEDICATIONSVC | CONMGMT" + type: array + items: + $ref: '#/components/schemas/CodeableConcept' AuditEvent_Entity: type: object @@ -935,9 +936,10 @@ components: observer: display: Elektronische Patientenakte Fachdienst type: - system: https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs - code: XDSSVC - display: XDS Document Service + - coding: + - system: https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs + code: XDSSVC + display: XDS Document Service entity: - name: Arztbrief4711 description: operation:provide-and-register-document-set-b @@ -977,9 +979,10 @@ components: observer: display: Elektronische Patientenakte Fachdienst type: - system: https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs - code: MEDICATIONSVC - display: Medication Service + - coding: + - system: https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs + code: MEDICATIONSVC + display: Medication Service entity: - name: MedicationDispense description: operation:cancel-dispensation @@ -1016,9 +1019,10 @@ components: observer: display: Elektronische Patientenakte Fachdienst type: - system: https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs - code: MEDICATIONSVC - display: Medication Service + - coding: + - system: https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs + code: MEDICATIONSVC + display: Medication Service entity: - name: MedicationRequest description: Bundle:searchset