Logo GenPRES

Validation Module

Holds the validators and the options for a gestational age: 20 to 52 weeks and 0 to 6 days.

Functions and values

Function or value Description

dayOptions

Full Usage: dayOptions

Returns: int<MeasureProduct<day, MeasureOne>> list

The days of a gestational age the user picks from.

Returns: int<MeasureProduct<day, MeasureOne>> list

maxDays

Full Usage: maxDays

Returns: int
Returns: int

maxWeeks

Full Usage: maxWeeks

Returns: int
Returns: int

minWeeks

Full Usage: minWeeks

Returns: int
Returns: int

validateDays

Full Usage: validateDays

Returns: Validator<int, int<MeasureProduct<day, MeasureOne>>>
Returns: Validator<int, int<MeasureProduct<day, MeasureOne>>>

validateWeeks

Full Usage: validateWeeks

Returns: Validator<int, int<MeasureProduct<week, MeasureOne>>>
Returns: Validator<int, int<MeasureProduct<week, MeasureOne>>>

weekOptions

Full Usage: weekOptions

Returns: int<MeasureProduct<week, MeasureOne>> list

The weeks of a gestational age the user picks from.

Returns: int<MeasureProduct<week, MeasureOne>> list

Type something to start searching.