Logo GenPRES

Data Module

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.

Types

Type Description

DataGroupKey

The key that groups the DoseRules rows: rows with the same key belong to one dose rule group and differ only in dose type, dose text, component and substance.

DoseLimitData

The dose-limit columns of a "DoseRules" row. A quantity is per administration, a per-time value is per FreqUnit, and a rate is the speed of continuous delivery. A column ending in Adj is per AdjustUnit. A norm dose has no column of its own: an adjusted minimum equal to the adjusted maximum is the norm, as in the renal rules.

DoseRuleData

One row of the "DoseRules" sheet, parsed by DoseRuleData.parseDoseRuleData and built into DoseRules by DoseRuleLoader.fromData.

GenericData

The columns of a "DoseRules" row that identify the generic, combined into the Generic record. Parsing keeps one narrowing, in the order HPKs, GPKs, Brand, Form (see DoseRuleData.withSingleNarrowing).

GroupedRuleData

The DoseRuleData rows with the same DataGroupKey, with their pharmaceutical forms, products and the warnings from grouping.

LinkRuleData

One row of the "LinkRules" sheet: the dose rule of a linked order and the dose rule of its main order. An empty field matches any value, except the two dose types, and Required, where empty means no. A row with both dose types empty is blank and skipped.

PatientCategoryData

The patient-category columns of a "DoseRules" row: the demographic ranges that decide which patients a rule applies to.

RenalRuleData

One row of the "RenalRules" sheet, parsed by RenalRule.parseRenalRuleData: the adjustment of the dose limits of a matching DoseRule for a renal function. A renal rule does not apply to a patient younger than 28 days.

RouteMapping

One row of the "Routes" sheet, parsed by Mapping.getRouteMapping: a long Z-Index route name and its short Dutch name. Mapping.mapRoute matches either name and returns Long.

RuleSetData

One row of the "RuleSets" sheet: a category, its label, and an indication and a generic the category offers for a location and a department. Several rows make up the rule set of one category.

ScheduleData

The dose-type and schedule columns of a "DoseRules" row.

SolutionRuleData

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

TotalsData

One row of the "Totals" sheet, parsed by Mapping.getTotals and used by Informedica.GenOrder.Lib.Totals.getTotals: for a range of age, weight and gestational age, the unit, time unit and per-time limits of a total intake, such as volume or energy.

UnitMapping

One row of the "Units" sheet, parsed by Mapping.getUnitMapping: a long Z-Index unit name and its short name. Mapping.mapUnit matches Long, Short or MV and returns "{Short}[{Group}]" for UnitsParse.fromString.

Type something to start searching.