MedicationText Module
Writes a medication as YAML text and reads the text back, through the medication Dto. A text that cannot be read returns one error with its line and column.
Functions and values
| Function or value |
Description
|
|
Reads a text into the Dto; an unknown key is an error.
|
|
Reads a medication from a YAML text. Returns every error with the path of its field. A text that cannot be read returns one error with the line and column from the YAML reader.
|
|
Leaves a null and an empty array out, quotes a string another reader would read as a number, a boolean or a null, and indents a sequence under its key.
|
|
GenPRES