From 7f4bfcda7d864af9b74dcaefa31000243c501831 Mon Sep 17 00:00:00 2001 From: Andrea Acampora Date: Mon, 13 Feb 2023 22:49:56 +0100 Subject: [PATCH] feat: create process state value object --- src/main/kotlin/entities/process/ProcessData.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/entities/process/ProcessData.kt b/src/main/kotlin/entities/process/ProcessData.kt index ac2a3fe..5a4fe37 100644 --- a/src/main/kotlin/entities/process/ProcessData.kt +++ b/src/main/kotlin/entities/process/ProcessData.kt @@ -17,6 +17,12 @@ object ProcessData { * The medical device used in the surgical process. * @param medicalDeviceID the id of the technology. */ - data class MedicalDevice(val medicalDeviceID: String) + data class MedicalDeviceUsage(val medicalDeviceID: String) + + /** + * A state of the surgical process. + * @param state the current state of the process. + */ + data class ProcessState(val state: String) }