Logo GenPRES

EGFRBandOptions Module

Parses the rows of the eGFR band sheet into the options the user picks from, with a warning for every problem in the rows.

Functions and values

Function or value Description

EGFRBandOptions.bands

Full Usage: EGFRBandOptions.bands

Returns: EGFRBand list

The four bands, from high to low.

Returns: EGFRBand list

EGFRBandOptions.ofRows rows

Full Usage: EGFRBandOptions.ofRows rows

Parameters:
    rows : string[][]

Returns: EGFRBandOption list * EGFRBandSheetWarning list

Parses the rows of the sheet, header first, into the options in the order of the bands, with a warning for every problem. A sheet without rows gives no options and no warnings.

rows : string[][]
Returns: EGFRBandOption list * EGFRBandSheetWarning list

EGFRBandOptions.requiredColumns

Full Usage: EGFRBandOptions.requiredColumns

Returns: string list

The columns the sheet must have.

Returns: string list

EGFRBandOptions.sheet

Full Usage: EGFRBandOptions.sheet

Returns: string

The sheet of the eGFR bands.

Returns: string

EGFRBandOptions.tryBand minimum maximum

Full Usage: EGFRBandOptions.tryBand minimum maximum

Parameters:
    minimum : string
    maximum : string

Returns: EGFRBand option

Returns the band that a minimum and a maximum name, with an empty text for no limit; None when they name no band.

minimum : string
maximum : string
Returns: EGFRBand option

Type something to start searching.