Patient Module
Creates a patient from an identity and patient data, sets the ages at a date and writes the patient data as text without the identity.
Nested modules
| Modules | Description |
|
Calculates the body surface area of a patient from the calculation weight and height with the Mosteller or the Du Bois formula. Returns None when the calculation weight or the calculation height is missing. |
|
|
Holds the Dto of a patient, with the identity fields and the patient data, and converts a patient to and from the Dto. Returns the validation errors of an invalid Dto. |
|
|
Holds the validator that checks that the id, the name and the birth date of a patient are all given or all absent. |
Functions and values
| Function or value |
Description
|
|
|
Full Usage:
create idn dat
Parameters:
PatientIdentity option
dat : PatientData
Returns: Patient
|
Creates a patient from an identity, None for an anonymous patient, and the patient data.
|
Full Usage:
createAt dt idn dat
Parameters:
DateTime
idn : PatientIdentity option
dat : PatientData
Returns: Patient
|
Creates a patient from an identity and patient data, with the ages set at a date.
|
|
|
|
|
The anonymous patient with nothing known.
|
GenPRES