Logo GenPRES

Types Module

Holds the domain types of the formulary: products, dose rules, solution rules, renal rules, prescription rules, filters and the row types of the sheets.

Types and nested modules

Type/Module Description

Data

Holds the record types of the sheet rows other than FormRoute, Reconstitution and Formulary: the unit and route mappings, the totals, the rule sets, the link rules and the dose rules. The module is declared after the domain types, so the domain types cannot refer to the row types.

ProductType (Module)

Tells whether a product type is virtual, which is true for a parenteral or an enteral product built from a Formulary row.

ATC

AccessDevice

The types for Access.

Age

The age a rule applies to: an age range, or adults. A rule for adults applies from 18 years, and to a patient marked as an adult; it does not apply to an unmarked patient without an age.

Brand

ComponentLimit

ComponentSelection

The components a prescriber selected.

DilutionLimit

A limit on one component or one substance in the solution: how much of the component or substance the solution may hold, and in what concentration.

DilutionTarget

What a DilutionLimit applies to: one component or one substance in the solution.

DoseFilter

A Filter to get the DoseRules for a specific Patient.

DoseLimit

A DoseLimit for a pharmaceutical form or Substance.

DoseReduction

DoseRule

The DoseRule type. A DoseRule is uniquely identified by the combination of Source, Generic, pharmaceutical form, Brand, Route, Indication, PatientCategory and DoseType (where DoseType also carries the original dose text as its case payload).

DoseType

Possible Dose Types.

FilterOptions

The values a dose filter can choose from

FormRoute

One row of the "FormRoute" sheet, parsed by Mapping.getFormRoutes: the default values for a pharmaceutical form on a route. Field names equal sheet column names except where noted. A boolean column is true only for the text "true", in any case. Every column is required.

FormularyProduct

One row of the "Formulary" sheet, parsed by Product.parseFormularyProducts: a product of the hospital formulary.

GPK

Gender

Possible Genders.

Generic

GenericLabel

Generic can be constructed by different pathways

GenericName

GrpNo

HPK

HashId

A hash of the fields that identify a sheet row, a rule or a group of rules: 12 lowercase hexadecimal characters, or empty when the hash is not calculated yet.

Indication

LimitTarget

LinkRequirement

Whether a linked order can be prescribed without its main order.

LinkRule

A parsed row of the LinkRules sheet: the order that may be linked, its main order, and whether the link is required.

LinkSide

One side of a link rule: what an order must match, by the dose rule it comes from. An empty generic, route or indication matches any value, and a dose type with an empty text matches any text. The route compares by the route mapping, so a long and a short name of a route match.

MainGroup

Message

MinMax

NormDose

NutritionCategory

The categories of nutrition.

PatientCategory

A PatientCategory to which a Rule applies.

PatientData

The patient data from GenCORE that selects the rules.

PharmaceuticalForm

Distinguish between a solution and a solid pharmaceutical form

Predilution

A predilution rule: a volume of a liquid product diluted with a volume of one diluent, for a route, an indication, a location, a department and an age and weight range.

PrescriptionRule

A PrescriptionRule for a specific Patient with a DoseRule and a list of SolutionRules.

ProductComponent

A Product type.

ProductFilter

ProductId

ProductPredilution

A predilution of a product: a predilution rule with the substances of its diluent.

ProductReconstitution

A reconstitution of a product: a reconstitution rule with the substances of its solvent.

ProductType (Type)

Reconstitution

One row of the "Reconstitution" sheet, parsed by Product.Reconstitution.parseReconstitution: the one solvent that dissolves a product for administration, for a route, a location, a department and an age and weight range. Field names equal sheet column names except where noted. Every column is required.

RenalFunction

RenalLimit

A renal adjustment of the DoseLimit for a pharmaceutical form or Substance.

RenalRule

Route

RuleCheck

RuleDataId

The ids of the data rows a rule is built from, as the data has them. A rule only copies these ids; it does not calculate them.

RuleSetKind

What a rule set selects the dose rules for.

SolutionFilter

SolutionLimit

The limits on the solution as a whole, which an order applies to the orderable.

SolutionRule

A SolutionRule for a Generic, pharmaceutical form, Route, Indication, DoseType, PatientCategory and Dose range: the diluents and the limits for the solution.

SolutionRuleComparison

Whether the solution rules count when two prescription rules are compared.

Source

SubGroup

SubstanceItem

A substance of a product.

TradeProduct

pH

Type something to start searching.