Logo GenPRES

Types Module

Holds the domain types of the order library: order variables, orders, medications, order commands, actions and effects, scenarios, filters, order contexts, totals, order plans and standard orders.

Types and nested modules

Type/Module Description

Events

Holds the event type for what happens while an order is created and solved, used for logging.

Exceptions

Holds the message type for an order that could not be created or could not be solved.

Logging

Holds the order message type, which wraps an order exception message or an order event as a logging message.

ActionFailure

Why an action or effect stops.

BolusTexts

The texts of a standard order on the emergency list.

ChangePropertyCommand

Changes an order property. A decrease or increase steps by the increment constraint and can go below the min or above the max. Min and max set the calculated min or max. Median sets the median of the calculated values, or of the increment between the min and the max.

Choice

How a value is selected from the range a variable offers.

Component

Models a Component in an Orderable

ComponentPredilution

The predilution a product was made with: a product volume diluted with a volume of a diluent.

ComponentProduct

A product a component can be made of, with the strength of each of its substances.

ComponentReconstitution

The reconstitution a product was made with: the solvent and its volumes.

ComponentSelection

Type alias for ComponentSelection from Informedica.GenForm.Lib.Types

Concentration

Type that represents a concentration

Constraints

Represents constraints that can be applied to an OrderVariable

Count

Type that represents a count

DilutionLimit

Type alias for DilutionLimit from Informedica.GenForm.Lib.Types

Dose

Represents a Dose with various quantity measurements

DoseLimit

Type alias for DoseLimit from Informedica.GenForm.Lib.Types

DoseProperty

The variables of a dose. Total and TotalAdjust are only set back by a recipe, never selected.

DoseType

Type alias for DoseType from Informedica.GenForm.Lib.Types

DtoError

Why a Dto does not parse to its domain value.

EquationMapping

A string list that represents either a product or sum equation mapping

Filter

Filter for selecting order scenarios based on various criteria

FilterField

A field of the filter. A choice names the field with the index of an option; a clear names only the field.

Frequency

Type that represents a frequency

Gender

Type alias for Gender from Informedica.GenForm.Lib.Types

Id

An Id is represented by a string

InfusionTexts

The texts of a standard order on the continuous medication list.

IntakeTotal

A total as a text block with the total and its norm, the state of the total against the norm, the norm, and where the norm comes from. The name Total is taken by the order variable of a dose total.

Item

Models an Item (substance) in a Component

LinkError

Why an order plan refuses the link of a context to its main order.

Medication

A medication order made from the products and the matching dose rule. It maps to the Orderable and the Schedule of an Order.

MinMax

Type alias for MinMax from Informedica.GenForm.Lib.Types

NearestSide

The side of a target value on which the nearest value of a range is taken.

NormDose

Type alias for NormDose from Informedica.GenForm.Lib.Types

NormSource

Where the norm of a total comes from.

NutritionCategory

Type alias for NutritionCategory from Informedica.GenForm.Lib.Types

Order

Models a complete order with all its properties

OrderAction

An action on an order. The action names the variable; the recipe that runs it is chosen per action.

OrderCategory

The category of the order in an order context: medication, or a nutrition category. It is stored on the context, not derived from the generic, because electrolytes and glucose can also be prescribed as medication. An order plan has one context per nutrition category, except for any number of supplements, each under an enteral feeding, and any number of electrolyte and glucose orders.

OrderCommand

Commands that can be executed on an order for calculations

OrderCondition

A state of an order an effect can depend on.

OrderContext

The filter, the patient data and the scenarios calculated for them. The filter selects the scenario.

OrderEffect

One effect on an order. An action is run as a list of effects.

OrderEquation

An order equation is either a product equation or a sum equation

OrderPlan

The order plan of a patient. The orders of the plan are the scenarios of its narrowed contexts and are not stored apart from the contexts.

OrderPlanError

Why an order plan refuses a change. The server writes the message for each case, so the label of a category stays out of the domain.

OrderPropertyChange

Represents different types of property changes that can be applied to an order

OrderScenario

The representation of an order scenario with prescription, preparation, and administration information

OrderType

The different possible order types

OrderVariable

An OrderVariable represents the combination of a Variable and Constraints

OrderVariableReference

One variable of an order, named by its level and property, with the names of its component and item.

Orderable

Models an Orderable item that can be prescribed

Outcome<'a>

What an evaluation answers when it does not fail: the value evaluated, or the value as it was sent together with the reason it could not be evaluated.

PatientData

Type alias for PatientData from Informedica.GenForm.Lib.Types

PatientDataError

Type alias for PatientDataError from Informedica.GenCore.Lib.Patients

PerTime

Type that represents a quantity per time unit

PerTimeAdjust

Type that represents an adjusted quantity per time for dose calculations

PlanContext

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.

PrescriptionRule

Type alias for PrescriptionRule from Informedica.GenForm.Lib.Types

Product

Type alias for ProductComponent from Informedica.GenForm.Lib.Types

ProductComponent

The product components that are used by the medication order. A product component maps to a Component in an Orderable. The first component in the list is the main component. The medication order quantities unit is the same as the unit used for the main component.

ProductStrength

The strength of one substance of a product.

Quantity

Type that represents a quantity

QuantityAdjust

Type that represents an adjusted quantity for dose calculations

Rate

Type that represents a rate

RateAdjust

Type that represents an adjusted rate for dose calculations

RateList

Whether a list is made for the orderable dose rate too. A timed order gets a rate list only when its dose quantity has a single value.

RateSelection

Whether the median of a rate list is selected, or the whole list is offered.

Recipe

The recipes. A step or percentile recipe is named after its target variable. ReCalcDose recalculates the dose quantity, ReCalcPerTime the dose quantity and the frequency, and ReCalcTime the rate.

Refusal

Why an evaluation is refused.

Schedule

Type that represents different prescription patterns

SeedSource

The source of filter choices that are not set through the fields of the filter.

SetBackTo

The range an effect sets the current range of a variable back to.

SetCommand

What setting a variable with a choice runs.

Shape

How a value can be set on an order variable, decided by the shape of its current range.

SolveMode

Whether an order is solved for its min and max, or for its values.

StandardOrder

An order context narrowed to one scenario, with the texts a list shows for it.

StandardOrderTexts

The texts a list shows for a standard order.

StandardOrderWarning

Why a rule of a rule set gives no standard orders.

StartStop

Represents start time or start and stop time for an order

StepIncrement

The increment a step moves by: the one the rules define, or the calculated one, which can be larger.

SubstanceItem

A substance in a product. A substance maps to an Item in a Component.

TextBlock

A text with the severity it is shown with, from Valid to Alert.

Time

Type that represents a time duration

Total

Type that represents a total quantity

TotalAdjust

Type that represents an adjusted total for dose calculations

TotalNorm

The norm of a total per kg per time, in the unit of its Totals row: the norm of the row, or the norm the prescriber set for the patient.

TotalState

The state of a total against the norm of its Totals row.

Totals

The totals of the nutrients and substances, each with its text and its state against its norm.

ValueCap

The maximum number of values in a list made from a min, increment and max: the default for the dose type, or the larger one.

Type something to start searching.