Logo GenPRES

AdultMark Type

The mark of a patient as an adult, set from the age of the patient 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 years to under 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.