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
|
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.
|
Full Usage:
AdminText
Field type: string
|
sheet column "AdminText": the administration instructions
|
Full Usage:
CVL
Field type: string
|
the venous access, "x" when the rule applies to it
|
Full Usage:
CombY
Field type: string list
|
sheet column "CombY", '|'-separated: the generics that can be given through the same line
|
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.
|
Full Usage:
Department
Field type: string option
|
sheet column "Dep": the department or ward
|
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.
|
|
sheet column "Div": the number of equal parts one unit of the prepared solution can be divided into, see the Div on the SolutionRule
|
Full Usage:
DoseText
Field type: string
|
|
Full Usage:
DoseType
Field type: string
|
one of: once, onceTimed, discontinuous, timed, continuous
|
Full Usage:
Form
Field type: string
|
|
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
|
Full Usage:
Generic
Field type: string
|
The generic of the rule
|
Full Usage:
HPKs
Field type: string array
|
sheet column "HPKs", ';'-separated: the trade products the rule applies to
|
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.
|
|
Full Usage:
Indication
Field type: string
|
|
Full Usage:
Location
Field type: string option
|
sheet column "Loc": the location, hospital or institute
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the highest pH of the prepared solution
|
|
|
|
the maximum quantity per AdjustUnit; sheet column "MaxQtyAdj"
|
|
|
|
|
|
|
|
age bounds in DAYS
|
|
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.
|
|
the dose range that selects this solution rule; not a dose limit
|
|
infusion (drip) rate bounds in mL/hour
|
|
gestational age bounds in DAYS
|
|
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
|
|
the lowest pH of the prepared solution
|
|
|
|
the minimum quantity per AdjustUnit; sheet column "MinQtyAdj"
|
|
total volume bounds in mL
|
|
volume bounds in mL per AdjustUnit
|
|
weight bounds in GRAMS
|
Full Usage:
NonCombY
Field type: string list
|
sheet column "NonCombY", '|'-separated: the generics that cannot be given through the same line
|
Full Usage:
Notes
Field type: string
|
sheet column "Notes": any additional notes
|
Full Usage:
PVL
Field type: string
|
|
Full Usage:
PrepText
Field type: string
|
sheet column "PrepText": the preparation instructions
|
|
standard substance quantities, ';'-separated
|
Full Usage:
Route
Field type: string
|
|
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.
|
|
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.
|
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.
|
|
|
the shelf life of the prepared solution in minutes
|
Full Usage:
SourceText
Field type: string
|
the original source text the rule is built on
|
Full Usage:
Substance
Field type: string
|
|
Full Usage:
Unit
Field type: string
|
sheet column "Unit": the substance unit the quantity and concentration limits below are expressed in
|
|
standard volumes in mL, ';'-separated
|
GenPRES