Package-level declarations

Types

Link copied to clipboard
interface Event<out E>

Interface that models a generic event with no additional fields but only with a key, a payload data of type E and the dateTime of the event itself.

Link copied to clipboard
@Serializable
data class MedicalTechnologyEvent(val key: String, val data: MedicalTechnologyUsagePayload, val dateTime: String) : Event<MedicalTechnologyUsagePayload>

Medical Technology update event.

Link copied to clipboard

Module that wraps the possible keys for a MedicalTechnologyEvent.

Link copied to clipboard
@Serializable
data class MedicalTechnologyUsagePayload(val medicalTechnologyID: String, val inUse: Boolean)

MedicalTechnologyEvent payload that refers to the usage described by the inUse property of a medical technology identified by its medicalTechnologyID.

Link copied to clipboard
@Serializable
data class RoomEvent<E : RoomEventPayload>(val key: String, val roomId: String, val roomType: RoomTypePayload, val data: E, val dateTime: String) : Event<E>

Room environment conditions update event. In addition to a normal Event it has the roomId and the roomType to which the event refers.

Link copied to clipboard

Module that wraps the possible keys for a RoomEvent.

Link copied to clipboard

Interface that identify a data payload that is accepted inside a RoomEvent.

Link copied to clipboard

Module that wraps all the RoomEvent data payloads.

Link copied to clipboard

The type of the room described in the RoomEvent.