Print Module
Prints an order as prescription, preparation and administration, as rows of text blocks or as text, with the reconstitution and predilution of its product.
Functions and values
| Function or value |
Description
|
Full Usage:
predilutionText word products
Parameters:
string
products : ComponentProduct list
Returns: string option
|
The product volume, the diluent volume and the diluent of the predilution joined by a word, such as "3 mL verdund met 7 mL gluc 5%", when exactly one product applies and that product is pre-diluted.
|
Full Usage:
printOrderTo useAdj printMd sns ord
Parameters:
bool
printMd : bool
sns : string array
ord : Order
Returns: string * string * string
|
|
Full Usage:
printOrderToMd printAdj
Parameters:
bool
Returns: string array -> Order -> string * string * string
|
Prints an order as three Markdown strings: the prescription, the preparation and the administration. The substance names in the array pick the items to print.
|
Full Usage:
printOrderToString useAdj
Parameters:
bool
Returns: string array -> Order -> string * string * string
|
Prints an order as three strings: the prescription, the preparation and the administration. The substance names in the array pick the items to print.
|
|
|
Full Usage:
printPredilution products
Parameters:
ComponentProduct list
Returns: TextBlock[][]
|
The preparation row such as "3 mL verdunnen met 7 mL gluc 5%" in the first column, when exactly one product applies and that product is pre-diluted. Returns no row otherwise.
|
|
|
Full Usage:
printReconstitution products
Parameters:
ComponentProduct list
Returns: TextBlock[][]
|
The preparation row with the text "oplossen in" and the solvent volume and the solvent in the first column, when exactly one product applies and that product is reconstituted. Returns no row otherwise.
|
Full Usage:
reconstitutionText products
Parameters:
ComponentProduct list
Returns: string option
|
The solvent volume and the solvent of the reconstitution, such as "10 mL NaCl 0,9%", when exactly one product applies and that product is reconstituted.
|
|
|
|
|
|
|
Full Usage:
wrap tb ovars s
Parameters:
string -> TextBlock
ovars : OrderVariable list
s : string
Returns: TextBlock
|
|
GenPRES