Reconstitution Module
Parses the Reconstitution sheet and selects the reconstitution rules for a location, a department, a route and a patient.
Functions and values
| Function or value |
Description
|
Full Usage:
filter routeMapping filter rs
Parameters:
RouteMapping array
filter : DoseFilter
rs : Reconstitution[]
Returns: Reconstitution array
|
|
Full Usage:
get dataUrlId
Parameters:
string
Returns: Result<Reconstitution array, Message list>
|
|
Full Usage:
matches routeMapping loc dep rte r
Parameters:
RouteMapping array
loc : string option
dep : string option
rte : string option
r : Reconstitution
Returns: bool
|
Whether a reconstitution applies to a location, a department and a route, as matchesSetting decides.
|
|
Whether the age and the weight of a patient are in the ranges of a reconstitution.
|
Full Usage:
parseReconstitution data
Parameters:
string array array
Returns: Result<Reconstitution array, Message list>
|
Parses the Reconstitution sheet; the first row holds the column names. A row without a solvent or a solvent volume above 0 mL is left out. Returns an error when a column is missing.
|
|
Returns the age range in days and the weight range in grams of a reconstitution as a patient category.
|
GenPRES