Weight Module
Creates the actual, birth, admission and calculation weights of a patient, tells whether the calculation weight is measured and writes each weight as text.
Nested modules
| Modules | Description |
|
Holds the Dto of the weights of a patient and converts the weights to and from the Dto. Returns the error of the first invalid weight. |
|
|
Holds a getter and setter pair for the actual, calculation, birth and admission weights of a patient. |
|
|
Gets the actual, birth, admission and calculation weights of a patient. |
Functions and values
| Function or value |
Description
|
|
|
|
|
|
|
Full Usage:
calculationToString fixPrec w
Parameters:
int
w : Weight
Returns: string option
|
|
Full Usage:
create act birth adm calc
Parameters:
WeightAtDate list
birth : WeightValue option
adm : WeightAtDate list
calc : Source<WeightAtDate> option
Returns: Weight
|
|
|
|
|
True when the calculation weight is measured; false for an estimate or without a calculation weight.
|
Full Usage:
toString fixPrec w
Parameters:
int
w : Weight
Returns: string list * string option * string list * string option
|
Writes the weights. The lists are sorted from the latest date to the earliest, with the undated weights last.
|
|
GenPRES