Logo GenPRES

AdultMark Type

Whether a patient counts as an adult. The server sets it from the age and the choice of the user.

Union cases

Union case Description

Adult

Full Usage: Adult

From 18 years: an adult without a mark.

MarkableAdult marked

Full Usage: MarkableAdult marked

Parameters:
    marked : bool

From 16 to 18 years, or without an age: an adult when the user marks the patient as one.

marked : bool

NotAdult

Full Usage: NotAdult

Younger than 16 years: the patient cannot be marked as an adult.

Instance members

Instance member Description

this.IsAdult

Full Usage: this.IsAdult

Returns: bool
Returns: bool

this.IsMarkableAdult

Full Usage: this.IsMarkableAdult

Returns: bool
Returns: bool

this.IsNotAdult

Full Usage: this.IsNotAdult

Returns: bool
Returns: bool

Type something to start searching.