Print Module
Prints the schedule and the doses of a dose rule and writes the dose rules of a generic as Markdown.
Functions and values
| Function or value |
Description
|
|
|
|
|
|
|
Full Usage:
printGenerics getLink generics doseRules
Parameters:
LinkProvider
generics : DoseRule[] -> Generic array
doseRules : DoseRule[]
Returns: string array
|
|
|
|
|
|
Full Usage:
toMarkdown getLink rules
Parameters:
LinkProvider
-
Returns the formulary link of a dose rule source, route and generic; without a link the text is the name
of the source in italics.
rules : DoseRule array
-
The dose rules to write.
Returns: string
|
Writes the dose rules of one generic as markdown: per indication, route and patient category the products, synonyms, dose types, schedules and dose limits, and per dose type the formulary link with the patient text and the schedule text of the source.
With rules of several generics, only the last generic is written; use
|
GenPRES