Logo GenPRES

GestationalAge Module

Reads the gestational age of a patient and tells whether the gestational age may be given, or is required and missing.

Functions and values

Function or value Description

GestationalAge.isMissing ga

Full Usage: GestationalAge.isMissing ga

Parameters:
Returns: bool

Whether the gestational age is needed and not given.

ga : GestationalAge
Returns: bool

GestationalAge.mayBeGiven ga

Full Usage: GestationalAge.mayBeGiven ga

Parameters:
Returns: bool

Whether the gestational age may be given.

ga : GestationalAge
Returns: bool

GestationalAge.value ga

Full Usage: GestationalAge.value ga

Parameters:
Returns: AgeWeeksDays option

Returns the gestational age, or None when none is given.

ga : GestationalAge
Returns: AgeWeeksDays option

Type something to start searching.