Models Module
Holds the constructors, the empty values and the logic for the shared types, used by both the client and the server.
Types and nested modules
| Type/Module | Description |
|
Holds the empty formulary, without options, choices, patient data or text. |
|
|
Reads the gestational age of a patient and tells whether the gestational age may be given, or is required and missing. |
|
|
Holds the empty intervention, with every text empty and every number absent. |
|
|
Returns the Dutch display name of a nutrition category. |
|
|
Holds the constructors for the shared order record and for the records an order is built from. |
|
|
Holds the empty order context and the changes a user makes to an order context: filter choices, diluent, components, scenario and order variable values. |
|
|
Creates an order plan and returns the orders of an order plan and the order contexts counted in the totals of an order plan. |
|
|
Creates an order scenario from the picks, the option lists, the text blocks, the order and the rule flags, without reconstitution or predilution text. |
|
|
Holds the empty parenteralia, without options, choices, patient data or text. |
|
|
Holds the empty patient data, the constructors, the readers and the validation of patient data, shared by the client and the server. Patient data can be incomplete, so validate checks only the minimum. This module calculates no age: the server sets the ages, the adult mark, the gestational age and the estimates with GenCORE, and ServerApi.Patient.toCore maps the patient data to GenCORE patient data. Patient logic that only the server needs belongs in GenFORM or GenCORE. |
|
|
Holds the empty intake totals, in which no total is calculated. |
|
|
The reason patient data are not valid. |
GenPRES