DoseRule Module
Creates the dose rules from the G-Standaard dose files, or reads the dose rules from the cache file when the cache file exists, formats a dose rule as text and lists the indications, routes and frequencies of all dose rules.
Nested modules
| Modules | Description |
|
Holds the Dutch texts for the care group, the usage, the dose type and the gender of a dose rule. |
|
|
Holds a getter and a setter for the weight, the body surface area and each dose range of a dose rule. |
Functions and values
| Function or value |
Description
|
|
|
|
|
Full Usage:
_getPrescriptionProducts arg1
Parameters:
'a
Returns: RuleProduct array
Type parameters: 'a |
|
Full Usage:
_getTradeProducts arg1
Parameters:
'a
Returns: RuleProduct array
Type parameters: 'a |
|
Full Usage:
create id gr us dt gp pr tr rt ci ic hr sx ag wt bs fr no ab nk ak nm am un
Parameters:
int
gr : string
us : string
dt : string
gp : RuleGenericProduct[]
pr : RuleProduct[]
tr : RuleProduct[]
rt : string[]
ci : int
ic : string
hr : bool
sx : string
ag : RuleMinMax
wt : RuleMinMax
bs : RuleMinMax
fr : RuleFrequency
no : RuleMinMax
ab : RuleMinMax
nk : RuleMinMax
ak : RuleMinMax
nm : RuleMinMax
am : RuleMinMax
un : string
Returns: DoseRule
|
Create a DoseRule.
|
|
|
Full Usage:
createGenericProduct id nm rt un sl
Parameters:
int
nm : string
rt : string[]
un : string
sl : RuleSubstance[]
Returns: RuleGenericProduct
|
Create a RuleGenericProduct.
|
|
|
|
|
An empty DoseRule.
|
|
Full Usage:
foldMinMax xs
Parameters:
RuleMinMax array
-
The array of MinMax
Returns: RuleMinMax
The most extreme MinMax as a RuleMinMax
|
Get the most extreme min and max values from an array of MinMax.
|
|
|
|
|
|
|
|
|
|
|
|
Map all GenericProducts from all GenPresProducts to RuleGenericProducts. This is a memoized function.
|
|
|
|
|
|
Map all PrescriptionProducts RuleProducts. This is a memoized function.
|
|
|
Full Usage:
indications
Returns: unit -> string array
|
Get all DoseRule indications. This is a memoized function.
|
Full Usage:
indications_ ()
Parameters:
unit
Returns: string array
|
|
Load all DoseRules in memory.
|
|
|
An empty RuleMinMax.
|
|
|
Full Usage:
routes
Returns: unit -> string array
|
Get all DoseRule routes. This is a memoized function.
|
Full Usage:
routes_ ()
Parameters:
unit
Returns: string array
|
|
Full Usage:
toString del dr
Parameters:
string
-
A delimiter
dr : DoseRule
-
The DoseRule
Returns: string
|
Get the string representation of a DoseRule.
|
|
GenPRES