Skip to content

Commit 38387fe

Browse files
committed
Fix AuditEvent.source.type: must be an array of CodeableConcept
See: https://hl7.org/fhir/auditevent-definitions.html#AuditEvent.source.type
1 parent b838393 commit 38387fe

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

src/openapi/I_Audit_Event.yaml

+16-12
Original file line numberDiff line numberDiff line change
@@ -867,9 +867,10 @@ components:
867867
type: string
868868
example: Elektronische Patientenakte Fachdienst
869869
type:
870-
allOf:
871-
- description: "Code specifying the type of source where event originated. CDMGMT | ENTITMGMT | DEVICEMGMT | HRRSVC | XDSSVC | MEDICATIONSVC | CONMGMT"
872-
- $ref: '#/components/schemas/Coding'
870+
description: "Code specifying the type of source where event originated. CDMGMT | ENTITMGMT | DEVICEMGMT | HRRSVC | XDSSVC | MEDICATIONSVC | CONMGMT"
871+
type: array
872+
items:
873+
$ref: '#/components/schemas/CodeableConcept'
873874

874875
AuditEvent_Entity:
875876
type: object
@@ -935,9 +936,10 @@ components:
935936
observer:
936937
display: Elektronische Patientenakte Fachdienst
937938
type:
938-
system: https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs
939-
code: XDSSVC
940-
display: XDS Document Service
939+
- coding:
940+
system: https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs
941+
code: XDSSVC
942+
display: XDS Document Service
941943
entity:
942944
- name: Arztbrief4711
943945
description: operation:provide-and-register-document-set-b
@@ -977,9 +979,10 @@ components:
977979
observer:
978980
display: Elektronische Patientenakte Fachdienst
979981
type:
980-
system: https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs
981-
code: MEDICATIONSVC
982-
display: Medication Service
982+
- coding:
983+
system: https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs
984+
code: MEDICATIONSVC
985+
display: Medication Service
983986
entity:
984987
- name: MedicationDispense
985988
description: operation:cancel-dispensation
@@ -1016,9 +1019,10 @@ components:
10161019
observer:
10171020
display: Elektronische Patientenakte Fachdienst
10181021
type:
1019-
system: https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs
1020-
code: MEDICATIONSVC
1021-
display: Medication Service
1022+
- coding:
1023+
system: https://gematik.de/fhir/epa/CodeSystem/epa-auditevent-sourcetype-cs
1024+
code: MEDICATIONSVC
1025+
display: Medication Service
10221026
entity:
10231027
- name: MedicationRequest
10241028
description: Bundle:searchset

0 commit comments

Comments
 (0)