Logo GenPRES

Order Module

Holds the constructors for the shared order record and for the records an order is built from.

Nested modules

Modules Description

Component

Creates a component of an orderable from an id, a name, a form, the quantity and count variables, a dose, the items and the products.

Dose

Creates the dose of an order from the quantity, per time, rate and total variables, plain and per adjust unit.

Item

Creates an item of a component from a name, the quantity and concentration variables, a dose and the additional flag.

OrderVariable

Creates an order variable and narrows the values of an order variable to one chosen value, or clears the values without a choice.

Orderable

Creates an orderable from a name, the quantity and count variables, a dose and the components.

Prescription

Creates the schedule of an order from the schedule kind flags, the frequency and the time.

ValueUnit

Creates the shared value with unit record from values, a unit, a unit group, whether the unit is written in short form, as mg, or in long form, as milligram, a language and a JSON text.

Variable

Creates the shared variable record from a name, whether the values must be above zero, the minimum, whether the minimum is included, the increment, the maximum, whether the maximum is included, and the values.

Functions and values

Function or value Description

create id adj_qty orb prs rte tme sta sto

Full Usage: create id adj_qty orb prs rte tme sta sto

Parameters:
Returns: Order
id : string
adj_qty : OrderVariable
orb : Orderable
prs : Schedule
rte : string
tme : OrderVariable
sta : DateTime
sto : DateTime option
Returns: Order

Type something to start searching.