Item
Namespace: Informedica.GenOrder.Lib
Parent Module: Orderable
Nested types and modules
Functions and values
Function or value | Description |
apply f itm
Signature: f:(Item -> '?7086) -> itm:Item -> '?7086
Type parameters: '?7086 |
Aply f to an |
create (...)
Signature: id:Id -> nm:Name -> cmp_qty:Quantity -> orb_qty:Quantity -> cmp_cnc:Concentration -> orb_cnc:Concentration -> dos:Dose -> dos_adj:DoseAdjust -> Item
|
Create an item with
|
createNew id (nm, u1) u2 adj
Signature: id:Id -> (nm:Name * u1:String) -> u2:string -> adj:string -> Item
|
Create a new item with id: the order id s: the string name of the item u1: the unit of the item u2: the unit of the component that contains the item adj: the unit to adjust the item dose |
fromEqs eqs itm
Signature: eqs:Variable list list -> itm:Item -> Item
|
create an item from |
get
Signature: Item -> Item
|
Utility method to facilitaite type inference |
getDose itm
Signature: itm:Item -> Dose
|
Get the |
getDoseAdjust itm
Signature: itm:Item -> DoseAdjust
|
|
getId itm
Signature: itm:Item -> string
|
Get the unique id of an |
getName itm
Signature: itm:Item -> Name
|
|
getOrderId itm
Signature: itm:Item -> Id
|
Get the order id of an |
toEqs (...)
Signature: adj:VariableUnit -> frq:VariableUnit option -> qty:VariableUnit -> tot:VariableUnit -> tme:VariableUnit option -> rte:VariableUnit option -> cmp_cmp_qty:VariableUnit -> cmp_orb_qty:VariableUnit -> orb_orb_qty:VariableUnit -> itm:Item -> VariableUnit list list
|
The following variables are used
With these variables the following equations are generated depending on prescription type Process
Discontinuous Timed
Discontinuous
Continuous
|
toString itm
Signature: itm:Item -> string list
|
Turn an |
toVarUnt itm
Signature: itm:Item -> VariableUnit * VariableUnit * VariableUnit * VariableUnit * VariableUnit * VariableUnit * VariableUnit * VariableUnit * VariableUnit * VariableUnit
|
Turn an |