Informedica.GenForm.Lib Namespace
| Type/Module | Description |
|
Maps the access of a patient to an access device, and an access device to and from its string form for the Dto. |
|
|
Checks the mapping of dose rules back to sheet rows by a round trip of the rows through the dose rules. Loading merges all rows with the same identity, such as the same source, generic, route, patient, dose type and dose text, into one dose rule, so the mapping back cannot return the separate rows. Instead, runPass checks that every input row that loading keeps is contained in an output row with the same identity. Quantities are compared in base units, so 1000 mg equals 1 g. A first pass on the source data reports a missing row when the source has different content under one identity. A second pass on the output of the first pass, which has one rule per identity, finds every row, and fixpointDelta compares the rows of both passes. |
|
|
Creates the cached resource provider for a spreadsheet and reloads its cache, gives access to the loaded resources of a provider, and filters dose rules, solution rules and prescription rules for a patient. |
|
|
Checks the limits and frequencies of a dose rule against the G-Standaard dose rules and grades each difference. |
|
|
Creates a dose limit, tests the target and the limits of a dose limit, reads a norm dose and prints dose ranges. |
|
|
Builds dose rules from grouped sheet rows, adds form limits and products, reconstitutes and pre-dilutes the products of a dose rule, removes empty limits and the dose rules left without limits, maps dose rules back to rows, filters dose rules and reports warnings. |
|
|
Parses the rows of the DoseRules sheet, sets the hash ids and the numbers of the rows, removes the values a dose type does not use, refuses the dose rules with a wrong unit or range or without a generic or route, and writes the rows as TSV. |
|
|
Builds the dose rules, with warnings, from the rows of the DoseRules sheet and the products. |
|
|
Parses a dose type from a name and a dose text, compares dose types, returns the sort order number of a dose type, returns a dose type as text, and replaces the dose text of a dose type. |
|
|
Builds the dose rule export rows with the G-Standaard check, writes the rows to a TSV file, and sets the ids of solution rule rows. The round-trip check of the rows is in the Analyze module. |
|
|
Holds the empty dose filter and the empty solution filter, and sets the patient data of a dose filter. |
|
|
Formats a formulary message as text for the log and holds a logger without any output. |
|
|
Parses and prints the gender of a rule, maps the gender of a patient to a rule gender, and tests a gender against a filter. |
|
|
Creates a generic from a label, a form and product ids, and returns the label or the generic name as text. |
|
|
Creates the label of a generic from a name, a form and a brand, and returns the label or the generic name as text. |
|
|
Creates, cleans and reads a HashId. |
|
|
Returns the name of a limit target and tells whether a limit target is the orderable, a component or a substance. |
|
|
Turns the rows of the LinkRules sheet into link rules, checks the rows against the dose rules, and matches a side of a link rule against an order. |
|
|
Logs a formulary message through a logger at the informative, warning or error level. |
|
|
Reads the Units, Routes, FormRoute, ValidForms, Totals, RuleSets and LinkRules sheets into rows and maps unit names and route names. |
|
|
Creates patient categories, tests whether one patient can be in two categories, tests whether a rule applies to the department and location of a patient, returns a sort value for a category, and returns a category as Dutch text. |
|
|
Reads patient data in the terms of the rules and tests whether a patient is an adult or matches a patient category. |
|
|
Creates a pharmaceutical form from a text, a solution when the text contains vloeistof and a solid otherwise, and returns the text. |
|
|
Combines the dose rules for a filter with the matching solution rules and renal rules into prescription rules for a patient. |
|
|
Parses the Formulary sheet and builds, reconstitutes, pre-dilutes and filters the product components from G-Standaard products and Formulary rows. |
|
|
Creates product ids from GPK and HPK codes and parses the codes of a sheet cell separated by semicolons. |
|
|
Maps the renal function of a patient to the renal function of the renal rules and converts a renal function to and from text. |
|
|
Parses the RenalRules sheet into renal rules, selects the renal rules for a patient and applies a renal rule to a dose rule. |
|
|
Declares the resources of the formulary, loads each resource once in dependency order, and provides the loaded resources with an optional cache. |
|
|
Creates the ids of the data rows of a rule. |
|
|
Checks the rows of the RuleSets sheet against the dose rules, expands the rows without a generic, builds a rule set per kind and selects the rows of a rule set for a patient. |
|
|
The dose rule selection of a kind: the rows of the "RuleSets" sheet of one category. |
|
|
Parses the SolutionRules sheet into solution rules, filters the solution rules, and reports warnings for the rows and against the dose rules. |
|
|
Declares the type of a Kinderformularium entry and the type of a link provider, converts a source to text, finds the Kinderformularium entry of a generic for a route, and builds the Markdown link to the Kinderformularium or the Farmacotherapeutisch Kompas for a generic. |
|
|
Fetches the medication index of the Nederlands Kinderformularium and parses the JSON into a list of medications. A failed fetch returns an error with the reason. |
|
|
Holds the domain types of the formulary: products, dose rules, solution rules, renal rules, prescription rules, filters and the row types of the sheets. |
|
|
Holds helper modules for parallel work, results, messages, sheet downloads, TSV cells, numbers, units, values with a unit and ranges used across the formulary library. |
|
|
Checks whether a patient has the access device of a rule and whether two access devices can belong to one patient. |
GenPRES