File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
infrastructure/digitaltwins/parser Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,10 @@ object ProcessData {
2121 data class MedicalDeviceUsage (val medicalDeviceID : String , val processId : String )
2222
2323 /* *
24- * An information for the surgical process.
25- * @param info the information of the process.
24+ * The event of patient on operating table.
2625 * @param processId the id of the surgical process.
2726 */
28- data class ProcessInfo ( val info : String , val processId : String )
27+ data class PatientOnOperatingTable ( val processId : String )
2928
3029 /* *
3130 * The event of medical technology usage given its [medicalTechnologyID].
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ import entities.process.PatientData.Saturation
2828import entities.process.PatientData.SystolicPressure
2929import entities.process.ProcessData
3030import entities.process.ProcessData.MedicalTechnologyUsage
31- import entities.process.ProcessData.ProcessInfo
3231import infrastructure.digitaltwins.events.TwinProperties.DTModelID.MEDICAL_TECHNOLOGY_MODEL_ID
3332import infrastructure.digitaltwins.events.TwinProperties.DTModelID.OPERATING_ROOM_MODEL_ID
3433import infrastructure.digitaltwins.events.TwinProperties.DTModelID.PATIENT_MODEL_ID
@@ -117,7 +116,7 @@ class UpdateEventParser {
117116 IS_ON_OPERATING_TABLE .path -> {
118117 ProcessEvent (
119118 key = EventKey .PATIENT_ON_OB_EVENT ,
120- data = ProcessInfo ( " Patient on Operating Bed " , updateTwinEvent.id),
119+ data = ProcessData . PatientOnOperatingTable ( updateTwinEvent.id),
121120 dateTime = updateTwinEvent.eventDateTime
122121 )
123122 }
You can’t perform that action at this time.
0 commit comments