@@ -53,6 +53,7 @@ channels:
53
53
- " $ref " : ' #/components/messages/medicalDeviceUsageEvent'
54
54
- " $ref " : " #/components/messages/processInfoEvent"
55
55
- " $ref " : ' #/components/messages/medicalTechnologyUsageEvent'
56
+ - " $ref " : ' #/components/messages/patientTrackedEvent'
56
57
57
58
58
59
tracking-events :
@@ -116,6 +117,13 @@ components:
116
117
contentType : application/json
117
118
payload :
118
119
$ref : " #/components/schemas/medicalTechnologyUsageEventPayload"
120
+ patientTrackedEvent :
121
+ name : patientTracked
122
+ title : The Tracking Event of a Patient
123
+ summary : the event about patient tracking.
124
+ contentType : application/json
125
+ payload :
126
+ $ref : " #/components/schemas/patientTrackedEventPayload"
119
127
120
128
trackingEvent :
121
129
name : trackingEvent
@@ -228,6 +236,19 @@ components:
228
236
type : string
229
237
description : the timestamp of the event.
230
238
239
+ patientTrackedEventPayload :
240
+ type : object
241
+ properties :
242
+ key :
243
+ type : string
244
+ description : The key of the event.
245
+ data :
246
+ type : object
247
+ $ref : " #/components/schemas/patientTracked"
248
+ dateTime :
249
+ type : string
250
+ description : the timestamp of the event.
251
+
231
252
trackingEventPayload :
232
253
type : object
233
254
properties :
@@ -310,3 +331,19 @@ components:
310
331
processId :
311
332
type : string
312
333
description : The id of the process.
334
+
335
+ patientTracked :
336
+ type : object
337
+ properties :
338
+ patientId :
339
+ type : string
340
+ description : The id of the tracked patient.
341
+ roomId :
342
+ type : string
343
+ description : The id of the room in which the patient is tracked.
344
+ entered :
345
+ type : boolean
346
+ description : True if the patient is entered, false if he's exited.
347
+ roomType :
348
+ type : string
349
+ description : The type of the room in which the patient is tracked.
0 commit comments