OrderSet
Namespace: Informedica.GenOrder.Lib
Types and functions that model a
set of Order
s.
Nested types and modules
Type | Description |
OrderSet | Represents a set of |
Functions and values
Function or value | Description |
add ord ors
Signature: ord:Order -> ors:OrderSet -> OrderSet
|
Add an |
addItemTotals orb ors
Signature: orb:Orderable -> ors:OrderSet -> OrderSet
|
|
addOrderableTotals orb ors
Signature: orb:Orderable -> ors:OrderSet -> OrderSet
|
|
apply f ors
Signature: f:(OrderSet -> '?7136) -> ors:OrderSet -> '?7136
Type parameters: '?7136 |
Apply f to an |
containsItemTotal itm ors
Signature: itm:Item -> ors:OrderSet -> bool
|
Check if |
containsOrderableTotal orb ors
Signature: orb:Orderable -> ors:OrderSet -> bool
|
Check if |
create ords ord_tot itm_tot
Signature: ords:Order list -> ord_tot:(Dose * DoseAdjust) list -> itm_tot:(Dose * DoseAdjust) list -> OrderSet
|
Create an |
empty
Signature: OrderSet
|
The empty |
fromEqs ors eqs
Signature: ors:OrderSet -> eqs:Variable list list -> OrderSet
|
Map a list of |
fromItemEqs eqs ors
Signature: eqs:Variable list list -> ors:OrderSet -> OrderSet
|
Map a list of |
fromOrderableEqs eqs ors
Signature: eqs:Variable list list -> ors:OrderSet -> OrderSet
|
Map a list of |
get
Signature: OrderSet -> OrderSet
|
Utitility function to enable type inference |
getItemTotals ors
Signature: ors:OrderSet -> (Dose * DoseAdjust) list
|
Get the item totals from an |
getItemVarUnts nm ors
Signature: nm:Name -> ors:OrderSet -> ((VariableUnit * VariableUnit * VariableUnit) * (VariableUnit * VariableUnit * VariableUnit)) list
|
Get the |
getOrderableTotals ors
Signature: ors:OrderSet -> (Dose * DoseAdjust) list
|
Get the orderable totals from an |
getOrderableVarUnts ung ors
Signature: ung:UnitGroup -> ors:OrderSet -> ((VariableUnit * VariableUnit * VariableUnit) * (VariableUnit * VariableUnit * VariableUnit)) list
|
Get the |
getOrders ors
Signature: ors:OrderSet -> Order list
|
|
solve n p v u ors
Signature: n:string -> p:Prop -> v:BigRational list -> u:string -> ors:OrderSet -> OrderSet
|
Solve an
|
toEqs ors
Signature: ors:OrderSet -> VariableUnit list list * VariableUnit list list
|
Map an |
toItemEqs ors
Signature: ors:OrderSet -> VariableUnit list list
|
Map an |
toOrderableEqs ors
Signature: ors:OrderSet -> VariableUnit list list
|
Map an |