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 {
21
21
data class MedicalDeviceUsage (val medicalDeviceID : String , val processId : String )
22
22
23
23
/* *
24
- * An information for the surgical process.
25
- * @param info the information of the process.
24
+ * The event of patient on operating table.
26
25
* @param processId the id of the surgical process.
27
26
*/
28
- data class ProcessInfo ( val info : String , val processId : String )
27
+ data class PatientOnOperatingTable ( val processId : String )
29
28
30
29
/* *
31
30
* 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
28
28
import entities.process.PatientData.SystolicPressure
29
29
import entities.process.ProcessData
30
30
import entities.process.ProcessData.MedicalTechnologyUsage
31
- import entities.process.ProcessData.ProcessInfo
32
31
import infrastructure.digitaltwins.events.TwinProperties.DTModelID.MEDICAL_TECHNOLOGY_MODEL_ID
33
32
import infrastructure.digitaltwins.events.TwinProperties.DTModelID.OPERATING_ROOM_MODEL_ID
34
33
import infrastructure.digitaltwins.events.TwinProperties.DTModelID.PATIENT_MODEL_ID
@@ -117,7 +116,7 @@ class UpdateEventParser {
117
116
IS_ON_OPERATING_TABLE .path -> {
118
117
ProcessEvent (
119
118
key = EventKey .PATIENT_ON_OB_EVENT ,
120
- data = ProcessInfo ( " Patient on Operating Bed " , updateTwinEvent.id),
119
+ data = ProcessData . PatientOnOperatingTable ( updateTwinEvent.id),
121
120
dateTime = updateTwinEvent.eventDateTime
122
121
)
123
122
}
You can’t perform that action at this time.
0 commit comments