Skip to content

Commit 8c10108

Browse files
chore: add process info data for process events
1 parent c0b9332 commit 8c10108

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/main/kotlin/entities/process/ProcessData.kt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ object ProcessData {
1616
/**
1717
* The medical device used in the surgical process.
1818
* @param medicalDeviceID the id of the technology.
19+
* @param processId the id of the surgical process.
1920
*/
20-
data class MedicalDeviceUsage(val medicalDeviceID: String)
21+
data class MedicalDeviceUsage(val medicalDeviceID: String, val processId: String)
2122

2223
/**
23-
* A state of the surgical process.
24-
* @param state the current state of the process.
24+
* An information for the surgical process.
25+
* @param info the information of the process.
26+
* @param processId the id of the surgical process.
2527
*/
26-
data class ProcessState(val state: String)
28+
data class ProcessInfo(val info: String, val processId: String)
2729
}

0 commit comments

Comments
 (0)