Logo GenPRES

SolutionRuleData Type

One row of the "SolutionRules" sheet, parsed by SolutionRule.parseSolutionRuleData and built into SolutionRules by SolutionRule.map: how a medication is diluted and administered.

Field names equal sheet column names except where noted. Generic, Route and Indication must match the corresponding DoseRule. Every column is required: a missing column fails the parse.

Record fields

Record Field Description

AdjustUnit

Full Usage: AdjustUnit

Field type: string

the patient adjustment unit (kg, m2). A row with a volume or a quantity per adjust needs it. Rows belong to one rule only when this cell is the same, so every row of a rule repeats the cell.

Field type: string

AdminText

Full Usage: AdminText

Field type: string

sheet column "AdminText": the administration instructions

Field type: string

CVL

Full Usage: CVL

Field type: string

the venous access, "x" when the rule applies to it

Field type: string

CombY

Full Usage: CombY

Field type: string list

sheet column "CombY", '|'-separated: the generics that can be given through the same line

Field type: string list

Component

Full Usage: Component

Field type: string

sheet column "Component": the component the row limits. The value "diluent" without a substance limits the chosen diluent of the rule.

Field type: string

Department

Full Usage: Department

Field type: string option

sheet column "Dep": the department or ward

Field type: string option

Diluents

Full Usage: Diluents

Field type: string list

sheet column "Diluents": the diluents, '|'-separated. An order takes the first one when none is chosen. Rows belong to one rule only when this cell is the same, so every row of a rule, the diluent row too, repeats the cell.

Field type: string list

Div

Full Usage: Div

Field type: BigRational option

sheet column "Div": the number of equal parts one unit of the prepared solution can be divided into, see the Div on the SolutionRule

Field type: BigRational option

DoseText

Full Usage: DoseText

Field type: string
Field type: string

DoseType

Full Usage: DoseType

Field type: string

one of: once, onceTimed, discontinuous, timed, continuous

Field type: string

Form

Full Usage: Form

Field type: string
Field type: string

GPKs

Full Usage: GPKs

Field type: string array

sheet column "GPKs", ';'-separated: the generic products the rule applies to, with the same substances in different strengths

Field type: string array

Generic

Full Usage: Generic

Field type: string

The generic of the rule

Field type: string

HPKs

Full Usage: HPKs

Field type: string array

sheet column "HPKs", ';'-separated: the trade products the rule applies to

Field type: string array

Id

Full Usage: Id

Field type: HashId

A hash of every field of the row except RowId, RowNo, RuleId and SourceText, the dilution limits included. SolutionRule.setDataId calculates it. The Ids of the rows of a rule become the FullIds of SolutionRule.DataId.

Field type: HashId

Indication

Full Usage: Indication

Field type: string
Field type: string

Location

Full Usage: Location

Field type: string option

sheet column "Loc": the location, hospital or institute

Field type: string option

MaxAge

Full Usage: MaxAge

Field type: BigRational option
Field type: BigRational option

MaxConc

Full Usage: MaxConc

Field type: BigRational option
Field type: BigRational option

MaxDose

Full Usage: MaxDose

Field type: BigRational option
Field type: BigRational option

MaxDrip

Full Usage: MaxDrip

Field type: BigRational option
Field type: BigRational option

MaxGestAge

Full Usage: MaxGestAge

Field type: BigRational option
Field type: BigRational option

MaxPerc

Full Usage: MaxPerc

Field type: BigRational option
Field type: BigRational option

MaxPh

Full Usage: MaxPh

Field type: decimal<MeasureProduct<pH, MeasureOne>> option

the highest pH of the prepared solution

Field type: decimal<MeasureProduct<pH, MeasureOne>> option

MaxQty

Full Usage: MaxQty

Field type: BigRational option
Field type: BigRational option

MaxQtyAdj

Full Usage: MaxQtyAdj

Field type: BigRational option

the maximum quantity per AdjustUnit; sheet column "MaxQtyAdj"

Field type: BigRational option

MaxVol

Full Usage: MaxVol

Field type: BigRational option
Field type: BigRational option

MaxVolAdj

Full Usage: MaxVolAdj

Field type: BigRational option
Field type: BigRational option

MaxWeight

Full Usage: MaxWeight

Field type: BigRational option
Field type: BigRational option

MinAge

Full Usage: MinAge

Field type: BigRational option

age bounds in DAYS

Field type: BigRational option

MinConc

Full Usage: MinConc

Field type: BigRational option

Concentration bounds in Unit/mL. On a row with a Substance the bounds are the concentration of the substance in the prepared solution. On a row with a Component, no Substance and the Unit mL, the bounds are the fraction of the whole prepared solution, other components and diluent included, that the component may be: 1 part in 8 is the value 0.125.

Field type: BigRational option

MinDose

Full Usage: MinDose

Field type: BigRational option

the dose range that selects this solution rule; not a dose limit

Field type: BigRational option

MinDrip

Full Usage: MinDrip

Field type: BigRational option

infusion (drip) rate bounds in mL/hour

Field type: BigRational option

MinGestAge

Full Usage: MinGestAge

Field type: BigRational option

gestational age bounds in DAYS

Field type: BigRational option

MinPerc

Full Usage: MinPerc

Field type: BigRational option

administration fraction: the fraction of the preparation that makes up one dose, for example 0.5 for half the preparation and 1 for the whole preparation

Field type: BigRational option

MinPh

Full Usage: MinPh

Field type: decimal<MeasureProduct<pH, MeasureOne>> option

the lowest pH of the prepared solution

Field type: decimal<MeasureProduct<pH, MeasureOne>> option

MinQty

Full Usage: MinQty

Field type: BigRational option
Field type: BigRational option

MinQtyAdj

Full Usage: MinQtyAdj

Field type: BigRational option

the minimum quantity per AdjustUnit; sheet column "MinQtyAdj"

Field type: BigRational option

MinVol

Full Usage: MinVol

Field type: BigRational option

total volume bounds in mL

Field type: BigRational option

MinVolAdj

Full Usage: MinVolAdj

Field type: BigRational option

volume bounds in mL per AdjustUnit

Field type: BigRational option

MinWeight

Full Usage: MinWeight

Field type: BigRational option

weight bounds in GRAMS

Field type: BigRational option

NonCombY

Full Usage: NonCombY

Field type: string list

sheet column "NonCombY", '|'-separated: the generics that cannot be given through the same line

Field type: string list

Notes

Full Usage: Notes

Field type: string

sheet column "Notes": any additional notes

Field type: string

PVL

Full Usage: PVL

Field type: string
Field type: string

PrepText

Full Usage: PrepText

Field type: string

sheet column "PrepText": the preparation instructions

Field type: string

Quantities

Full Usage: Quantities

Field type: BigRational array

standard substance quantities, ';'-separated

Field type: BigRational array

Route

Full Usage: Route

Field type: string
Field type: string

RowId

Full Usage: RowId

Field type: HashId

A hash of the fields that identify the row: the fields of the rule, with the kind and the name of the dilution target. Of the rows with the same RowId, SolutionRule.dedupRowsByRowId keeps the first with a dilution limit, and warns when their dilution limits differ. SolutionRule.setDataHashIds calculates it.

Field type: HashId

RowNo

Full Usage: RowNo

Field type: int

The place of the row in its rule, for a strict order of the rows in the rule, counted from 0. SolutionRule.setDataHashIds calculates it.

Field type: int

RuleId

Full Usage: RuleId

Field type: HashId

A hash of the fields that identify the solution rule: every field that is the same for all rows of the rule, except the source text. SolutionRule.setDataHashIds calculates it.

Field type: HashId

ShelfLife

Full Usage: ShelfLife

Field type: BigRational option

the shelf life of the prepared solution in minutes

Field type: BigRational option

SourceText

Full Usage: SourceText

Field type: string

the original source text the rule is built on

Field type: string

Substance

Full Usage: Substance

Field type: string
Field type: string

Unit

Full Usage: Unit

Field type: string

sheet column "Unit": the substance unit the quantity and concentration limits below are expressed in

Field type: string

Volumes

Full Usage: Volumes

Field type: BigRational array

standard volumes in mL, ';'-separated

Field type: BigRational array

Type something to start searching.