Logo GenPRES

FormDosage Module

Creates the dosage of pharmaceutical forms with generic products and trade products. A form that is empty or only white space gives None.

Nested modules

Modules Description

Dto

Holds the Dto of a form dosage and the conversions to and from the Dto. The conversion from the Dto leaves out a patient dosage with an invalid Dto.

GenericProduct

Creates a generic product label from a GPK and a label and reads the GPK and the label.

Optics

Holds the lenses, getters and setters for the forms, the products and the patient dosages of a form dosage.

TradeProduct

Creates a trade product label from an HPK and a label and reads the HPK and the label.

Functions and values

Function or value Description

create frms gps tps

Full Usage: create frms gps tps

Parameters:
Returns: FormDosage option

Create a FormDosage.

If the list of Forms is empty, None is returned.

frms : string list

The list of Forms

gps : GenericProductLabel list

The list of GenericProducts

tps : TradeProductLabel list

The list of TradeProducts

Returns: FormDosage option

Type something to start searching.