DoseRuleLoader Module
Builds the dose rules, with warnings, from the rows of the DoseRules sheet and the products.
Functions and values
| Function or value |
Description
|
Full Usage:
candidateProducts prods rs
Parameters:
ProductComponent[]
rs : DoseRuleData[]
Returns: ProductComponent array
|
Returns the products whose generic equals, ignoring case, a component of one of the rows.
|
Full Usage:
fromData routeMapping formRoutes prods solutionRules data
Parameters:
RouteMapping array
formRoutes : FormRoute[]
prods : ProductComponent[]
solutionRules : SolutionRule[]
data : DoseRuleData[]
Returns: DoseRule array * Message list
|
The dose rules of the rows, with the warnings. A dose rule without any limit is kept when a solution rule that applies to it limits every component; when a solution rule applies but does not, it is left out with a warning.
|
Full Usage:
getData dataUrlId
Parameters:
string
Returns: Result<DoseRuleData array, Message list>
|
|
Full Usage:
group routeMapping prods chunk
Parameters:
RouteMapping array
prods : ProductComponent[]
chunk : (string list * DoseRuleData array) array
Returns: GroupedRuleData array
|
|
GenPRES