generated from SmartOperatingBlock/kotlin-template-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0f02ca
commit 89cccf0
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
* Copyright (c) 2023. Smart Operating Block | ||
* | ||
* Use of this source code is governed by an MIT-style | ||
* license that can be found in the LICENSE file or at | ||
* https://opensource.org/licenses/MIT. | ||
*/ | ||
|
||
package entities.process | ||
|
||
/** | ||
* The object with all the data for the patient events. | ||
*/ | ||
object PatientData { | ||
|
||
/** | ||
* The [data] of the patient identified by [patientId]. | ||
*/ | ||
data class PatientData<E>(val patientId: String, val data: E) | ||
|
||
/** | ||
* The body [temperature] of the patient. | ||
*/ | ||
data class BodyTemperature(val temperature: Double) | ||
|
||
/** | ||
* The [heartbeat] of the patient. | ||
*/ | ||
data class Heartbeat(val heartbeat: Int) | ||
|
||
/** | ||
* The diastolic [pressure] of the patient. | ||
*/ | ||
data class DiastolicPressure(val pressure: Int) | ||
|
||
/** | ||
* The systolic [pressure] of the patient. | ||
*/ | ||
data class SystolicPressure(val pressure: Int) | ||
|
||
/** | ||
* The [rate] of respiration the patient. | ||
*/ | ||
data class RespiratoryRate(val rate: Int) | ||
|
||
/** | ||
* The [saturation] of the patient oxygen. | ||
*/ | ||
data class Saturation(val saturation: Int) | ||
} |