OrderEffect Type
One effect on an order. An action is run as a list of effects.
Union cases
| Union case |
Description
|
Full Usage:
CoarsenIncrements maxCount
Parameters:
int
|
Makes the increment of the volume quantities larger, so the orderable quantity has at most maxCount values. Does not apply to a continuous order.
|
Full Usage:
ConstrainOrderVariableRange(OrderVariableReference, ValueUnit)
Parameters:
OrderVariableReference
Item2 : ValueUnit
|
Narrows the current range of the variable to a single value.
|
|
Drops the values a search proves impossible from the list of the variable and solves the order with values, so the other lists follow. A value the search cannot decide stays. Runs only when the dose count has more than one value, the only case found to offer values that no complete order reaches.
|
Turns the first component quantity, dose quantity or rate that is a min, increment and max into a list of values and solves the order, until none is left. With an original order, the list also has the value of the variable in that order, when the pruning dropped that value and it lies within the calculated constraints. |
|
Full Usage:
EnumerateRateValues(ValueCap, RateSelection, original)
Parameters:
ValueCap
Item2 : RateSelection
original : Order option
|
Turns the rate of a timed order into a list once its dose quantity has a single value. With an original order, the list also has the rate of that order, as for EnumerateOrderVariableValues.
|
|
Calculates the calculated constraints from the defined constraints by running the effects on a copy of the order, so the values of the order stay. When the effects fail, the calculated constraints stay as they are.
|
Full Usage:
RecordCalculatedConstraints
|
Stores the current range of every variable as its calculated constraints. |
Full Usage:
SelectNearestComponentQuantity
|
Sets each component quantity to the nearest value above it, else below it, and solves the order with values. |
Full Usage:
SelectOrderVariableValue(OrderVariableReference, Choice)
Parameters:
OrderVariableReference
Item2 : Choice
|
Narrows the current range of the variable to the value the choice selects from the range at the time the effect runs.
|
|
Sets every variable of the order back to the target.
|
Full Usage:
SetBackUndetermined(kept, stays, SetBackTo)
Parameters:
OrderVariableReference list
stays : OrderVariableReference list
Item3 : SetBackTo
|
Sets back to the target every variable that the variables in kept do not determine, except the variables in stays. A step puts the variable it moves in stays: its value changes and the step sets that value.
|
Full Usage:
SetNormDose
|
Sets the dose to the median of its values and solves the order for min and max. |
Full Usage:
SetOrderVariableRangeBack(OrderVariableReference, SetBackTo)
Parameters:
OrderVariableReference
Item2 : SetBackTo
|
Sets the current range of the variable back to the target.
|
|
Solves the order.
|
|
Runs the effects in turn. When one fails, the order is returned as it was before the first effect.
|
Full Usage:
Unless(OrderCondition list, OrderEffect)
Parameters:
OrderCondition list
Item2 : OrderEffect
|
Runs the effect only when none of the conditions holds on the order at that time.
|
Instance members
| Instance member |
Description
|
Full Usage:
this.IsCoarsenIncrements
Returns: bool
|
|
Full Usage:
this.IsConstrainOrderVariableRange
Returns: bool
|
|
Full Usage:
this.IsDropImpossibleValues
Returns: bool
|
|
Full Usage:
this.IsEnumerateOrderVariableValues
Returns: bool
|
|
Full Usage:
this.IsEnumerateRateValues
Returns: bool
|
|
Full Usage:
this.IsRecalculateConstraints
Returns: bool
|
|
Full Usage:
this.IsRecordCalculatedConstraints
Returns: bool
|
|
Full Usage:
this.IsSelectNearestComponentQuantity
Returns: bool
|
|
Full Usage:
this.IsSelectOrderVariableValue
Returns: bool
|
|
Full Usage:
this.IsSetAllOrderVariableRangesBack
Returns: bool
|
|
Full Usage:
this.IsSetBackUndetermined
Returns: bool
|
|
Full Usage:
this.IsSetNormDose
Returns: bool
|
|
Full Usage:
this.IsSetOrderVariableRangeBack
Returns: bool
|
|
Full Usage:
this.IsSolveOrder
Returns: bool
|
|
Full Usage:
this.IsTry
Returns: bool
|
|
Full Usage:
this.IsUnless
Returns: bool
|
|
GenPRES