MedicalTechnology

@Serializable
data class MedicalTechnology(val id: MedicalTechnologyID, val name: String, val description: String? = null, val type: MedicalTechnologyType, val inUse: Boolean = false)

It describes a Medical Technology used inside an Operating Room. A medical technology is of a particular type and is identified by its id and described by a name and a description. The technology can be inUse inside the Operating Room.

Constructors

Link copied to clipboard
constructor(id: MedicalTechnologyID, name: String, description: String? = null, type: MedicalTechnologyType, inUse: Boolean = false)

Properties

Link copied to clipboard
val description: String? = null
Link copied to clipboard
Link copied to clipboard
val inUse: Boolean = false
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Extension method to obtain the api dto of a medical technology.