Dosage Module
Creates a dosage with start, single, rate and total dose ranges and a frequency, converts the units and turns the dosage into text.
Models the dosage of a substance. The name of a dosage is the name of the substance.
Per dosage the followingDoseRange items can be defined:
StartDosage dosage at the start SingleDosage dosage per administration RateDosage dosage rate, has a rate unit TotalDosage dosage per time period, has a Frequency
Nested modules
| Modules | Description |
|
Holds the Dto of a dosage and the conversions to and from the Dto. |
|
|
Holds the getter and setter for the name of a dosage, the setters for the rules and for whether the dosage is high risk, the lenses, getters and setters for the frequency, and the lenses on the limits and units of the start, single, rate and total dose ranges. |
Functions and values
| Function or value |
Description
|
|
|
|
|
Full Usage:
createFrequency frs tu mi
Parameters:
Frequencies
tu : TimeUnit
mi : Option<ValueUnit>
Returns: Frequency
|
Creates the Frequency for a TotalDosage.
|
An empty Dosage.
|
|
|
An empty Frequency.
|
|
|
|
GenPRES