QuantityAdjust Module
Wraps an order variable as an adjusted quantity such as mg/kg, with the name part qty_adj, and applies the order variable functions to it.
Functions and values
| Function or value |
Description
|
Full Usage:
apply f
Parameters:
OrderVariable -> OrderVariable
Returns: QuantityAdjust -> QuantityAdjust
|
Apply a function to the OrderVariable in a QuantityAdjust
|
|
Apply the constraints of a QuantityAdjust to the OrderVariable Variable
|
|
Set the Variable of a QuantityAdjust to its defined constraints
|
|
|
|
Convert the first unit of a QuantityAdjust (e.g., mg/kg -> g/kg)
|
Full Usage:
create n un adj
Parameters:
Name
-
The Name of the QuantityAdjust
un : Unit
-
The Unit of the QuantityAdjust
adj : Unit
-
The Adjust Unit of the QuantityAdjust
Returns: QuantityAdjust
|
Create a QuantityAdjust with name n
|
|
|
|
Replaces a QuantityAdjust with the OrderVariable of the same name from a list, when the list has one.
|
|
|
|
Check whether a QuantityAdjust has a maximum or a ValueSet constraint
|
|
|
|
Check whether a QuantityAdjust is non-zero positive
|
|
Check whether a QuantityAdjust is solved
|
|
Check whether a QuantityAdjust is within its constraints
|
Full Usage:
name
Returns: string
|
|
|
Set the variable to its nth value, counted from 0.
|
|
Set a QuantityAdjust to non-zero positive values
|
|
Create a Dto for a QuantityAdjust
|
|
|
|
Turn a QuantityAdjust to a string
|
|
Get a string representation of a QuantityAdjust (including constraints)
|
|
Get a ValueUnit Markdown representation of a QuantityAdjust
|
|
Get a ValueUnit string representation of a QuantityAdjust
|
|
Gets the value set of a QuantityAdjust as a Dutch string; None without a value set.
|
GenPRES