Skip to content

Commit 627f7c9

Browse files
chore: add surgery booking model to enum
1 parent 8bf9f0e commit 627f7c9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/kotlin/infrastructure/digitaltwins/events/TwinProperties.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,17 @@ object TwinProperties {
4747
PRE_OPERATING_ROOM_MODEL_ID("dtmi:io:github:smartoperatingblock:PrePostOperatingRoom;1"),
4848
PROCESS_MODEL_ID("dtmi:io:github:smartoperatingblock:SurgicalProcess;1"),
4949
PATIENT_MODEL_ID("dtmi:io:github:smartoperatingblock:Patient;1"),
50-
HEALTH_PROFESSIONAL_MODEL_ID("dtmi:io:github:smartoperatingblock:HealthProfessional;1")
50+
HEALTH_PROFESSIONAL_MODEL_ID("dtmi:io:github:smartoperatingblock:HealthProfessional;1"),
51+
SURGERY_BOOKING_MODEL_ID("dtmi:io:github:smartoperatingblock:SurgeryBooking;1")
5152
}
5253

5354
/**
5455
* The types of digital twin events.
5556
* @param type the event type.
5657
*/
5758
enum class DTEventTypes(val type: String) {
59+
CREATE("Microsoft.DigitalTwins.Twin.Create"),
60+
DELETE("Microsoft.DigitalTwins.Twin.Delete"),
5861
UPDATE("Microsoft.DigitalTwins.Twin.Update"),
5962
RELATIONSHIP_CREATE("Microsoft.DigitalTwins.Relationship.Create"),
6063
RELATIONSHIP_DELETE("Microsoft.DigitalTwins.Relationship.Delete"),

0 commit comments

Comments
 (0)