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 |
|
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. |
|
|
Tells whether a product type is virtual, which is true for a parenteral or an enteral product built from a Formulary row. |
|
|
|
|
|
The types for Access. |
|
|
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. |
|
|
|
|
|
|
|
|
The components a prescriber selected. |
|
|
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. |
|
|
What a DilutionLimit applies to: one component or one substance in the solution. |
|
|
A Filter to get the DoseRules for a specific Patient. |
|
|
A DoseLimit for a pharmaceutical form or Substance. |
|
|
|
|
|
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). |
|
|
Possible Dose Types. |
|
|
The values a dose filter can choose from |
|
|
One row of the "FormRoute" sheet, parsed by |
|
|
One row of the "Formulary" sheet, parsed by |
|
|
|
|
|
Possible Genders. |
|
|
|
|
|
Generic can be constructed by different pathways |
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
|
|
|
|
|
|
Whether a linked order can be prescribed without its main order. |
|
|
A parsed row of the LinkRules sheet: the order that may be linked, its main order, and whether the link is required. |
|
|
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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The categories of nutrition. |
|
|
A PatientCategory to which a Rule applies. |
|
|
The patient data from GenCORE that selects the rules. |
|
|
Distinguish between a solution and a solid pharmaceutical form |
|
|
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. |
|
|
A PrescriptionRule for a specific Patient with a DoseRule and a list of SolutionRules. |
|
|
A Product type. |
|
|
|
|
|
|
|
|
A predilution of a product: a predilution rule with the substances of its diluent. |
|
|
A reconstitution of a product: a reconstitution rule with the substances of its solvent. |
|
|
|
|
|
One row of the "Reconstitution" sheet, parsed by |
|
|
|
|
|
A renal adjustment of the DoseLimit for a pharmaceutical form or Substance. |
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
What a rule set selects the dose rules for. |
|
|
|
|
|
The limits on the solution as a whole, which an order applies to the orderable. |
|
|
A SolutionRule for a Generic, pharmaceutical form, Route, Indication, DoseType, PatientCategory and Dose range: the diluents and the limits for the solution. |
|
|
Whether the solution rules count when two prescription rules are compared. |
|
|
|
|
|
|
|
|
A substance of a product. |
|
|
|
|
|
|
GenPRES