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 |
|
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. |
|
|
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. |
|
|
One row of the "DoseRules" sheet, parsed by
|
|
|
The columns of a "DoseRules" row that identify the generic, combined into the |
|
|
The DoseRuleData rows with the same DataGroupKey, with their pharmaceutical forms, products and the warnings from grouping. |
|
|
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. |
|
|
The patient-category columns of a "DoseRules" row: the demographic ranges that decide which patients a rule applies to. |
|
|
One row of the "RenalRules" sheet, parsed by |
|
|
One row of the "Routes" sheet, parsed by |
|
|
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. |
|
|
The dose-type and schedule columns of a "DoseRules" row. |
|
|
One row of the "SolutionRules" sheet, parsed by |
|
|
One row of the "Totals" sheet, parsed by |
|
|
One row of the "Units" sheet, parsed by |
GenPRES