Schedule Module
Creates a once, once timed, continuous, discontinuous or timed schedule and reads, changes, checks and prints its frequency and time.
Nested modules
| Modules | Description |
|
Holds the serializable shape of a schedule, with one flag per schedule kind, and converts a schedule to and from the Dto. Reading a Dto raises an InvalidOperationException unless exactly one flag is true. |
|
|
Prints the frequency, the time and the prescription text of a schedule as plain text or Markdown. |
Functions and values
| Function or value |
Description
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
Schedule.fromOrdVars ovars schedule
Parameters:
OrderVariable list
-
The list of OrderVariables
schedule : Schedule
-
The old Schedule
Returns: Schedule
|
Create a new Schedule from a list of OrderVariables using an old Schedule.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
Schedule.isFrequencyWithinConstraints useCalc
Parameters:
bool
Returns: Schedule -> bool
|
|
|
|
|
|
|
|
|
Whether the calculated constraints of the time of a continuous or timed schedule hold one value. The dose quantity is then the rate times that fixed time.
|
|
|
Full Usage:
Schedule.isTimeWithinConstraints useCalc
Parameters:
bool
Returns: Schedule -> bool
|
|
|
|
|
|
|
|
|
|
Full Usage:
Schedule.toOrdVars schedule
Parameters:
Schedule
-
The Schedule
Returns: OrderVariable option * OrderVariable option
|
Return a Schedule as a Frequency OrderVariable option and a Time OrderVariable option
|
|
Return a list of strings from a Schedule where each string is a variable name with the value range and the Unit
|
Full Usage:
Schedule.toStringWithConstraints schedule
Parameters:
Schedule
Returns: string list
|
Return a list of strings from a Schedule where each string is a variable name with the value range, the Unit and the constraints
|
GenPRES