Logo GenPRES

Optics Module

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

Functions and values

Function or value Description

genericProducts

Full Usage: genericProducts

Returns: (FormDosage -> GenericProductLabel list) * (GenericProductLabel list -> FormDosage -> FormDosage)

getForm

Full Usage: getForm

Returns: FormDosage -> string list
Returns: FormDosage -> string list

getGenericProducts

Full Usage: getGenericProducts

Returns: FormDosage -> GenericProductLabel list

getPatientDosages

Full Usage: getPatientDosages

Returns: FormDosage -> PatientDosage list
Returns: FormDosage -> PatientDosage list

getTradeProducts

Full Usage: getTradeProducts

Returns: FormDosage -> TradeProductLabel list
Returns: FormDosage -> TradeProductLabel list

patientDosages

Full Usage: patientDosages

Returns: (FormDosage -> PatientDosage list) * (PatientDosage list -> FormDosage -> FormDosage)
Returns: (FormDosage -> PatientDosage list) * (PatientDosage list -> FormDosage -> FormDosage)

setForm

Full Usage: setForm

Returns: string list -> FormDosage -> FormDosage
Returns: string list -> FormDosage -> FormDosage

setGenericProducts

Full Usage: setGenericProducts

Returns: GenericProductLabel list -> FormDosage -> FormDosage

setPatientDosages

Full Usage: setPatientDosages

Returns: PatientDosage list -> FormDosage -> FormDosage
Returns: PatientDosage list -> FormDosage -> FormDosage

setTradeProducts

Full Usage: setTradeProducts

Returns: TradeProductLabel list -> FormDosage -> FormDosage

tradeProducts

Full Usage: tradeProducts

Returns: (FormDosage -> TradeProductLabel list) * (TradeProductLabel list -> FormDosage -> FormDosage)

Type something to start searching.