Logo GenPRES

PatientCategory Module

Creates a patient category from ranges of gestational age, age, weight and body surface area and a gender, and turns the category into text.

Nested modules

Modules Description

Dto

Holds the Dto of a patient category and the conversions to and from the Dto. A Dto with an invalid range gives None.

Optics

Holds the setters for the gender and for the limits of the ranges of a patient category.

Functions and values

Function or value Description

create ga age wght bsa gend

Full Usage: create ga age wght bsa gend

Parameters:
Returns: PatientCategory

Create a PatientCategory.

ga : MinMax
age : MinMax
wght : MinMax
bsa : MinMax
gend : Gender
Returns: PatientCategory

empty

Full Usage: empty

Returns: PatientCategory

An empty PatientCategory.

Returns: PatientCategory

genderToString _arg1

Full Usage: genderToString _arg1

Parameters:
Returns: string

Get the string representation of a Gener.

_arg1 : Gender
Returns: string

stringToGender s

Full Usage: stringToGender s

Parameters:
    s : string

Returns: Gender

Create a Gender from a string.

s : string
Returns: Gender

toString arg1

Full Usage: toString arg1

Parameters:
Returns: string

Get the string representation of a PatientCategory.

arg0 : PatientCategory
Returns: string

Type something to start searching.