Logo GenPRES

PlanContext Type

An order context in an order plan, with its id, its category, its totals and the link to its main order. The plan data wrap the context, so evaluation and the equation system never see them.

The totals are calculated when the context is evaluated and copied unchanged otherwise, so a stored plan has the totals the prescriber saw.

Record fields

Record Field Description

Category

Full Usage: Category

Field type: OrderCategory

Medication, or the nutrition category of the order

Field type: OrderCategory

Context

Full Usage: Context

Field type: OrderContext

The order context, evaluated with its own patient data

Field type: OrderContext

Id

Full Usage: Id

Field type: string

The id of the context in the order plan

Field type: string

LinkedTo

Full Usage: LinkedTo

Field type: string option

The id of the plan context with the main order of this order; None when the order is not linked

Field type: string option

Totals

Full Usage: Totals

Field type: Totals

The totals of the single scenario the context is narrowed to

Field type: Totals

Type something to start searching.