Class DV_ORDINAL

Models rankings and scores, e.g. pain, Apgar values, etc, where there is a) implied ordering,
b) no implication that the distance between each value is constant, and c) the total number
of values is finite. Note that although the term ordinal' in mathematics means natural
numbers only, here any integer is allowed, since negative and zero values are often used
by medical professionals for values around a neutral point. Examples of sets of ordinal values:
-3, -2, -1, 0, 1, 2, 3 -- reflex response values
0, 1, 2 -- Apgar values

This class is used for recording any clinical datum which is customarily recorded using
symbolic values. Example: the results on a urinalysis strip, e.g.

Declaration :

Directly inherited by : DV_PROPORTION

Artifact : DV_ORDINAL

Attribut value

Value in ordered enumeration of values. Any integer value can be used.

Declaration :

Attribut symbol

Coded textual representation of this value in the enumeration, which may
be strings made from + symbols, or other enumerations of terms such
as mild , moderate , severe , or even the same number series as the values,
e.g. 1 , 2 , 3 . Codes come from archetype.

Declaration :

Operation limits

Limits of the ordinal enumeration, to allow comparison of an ordinal
value to its limits.

Declaration :

All public operations : is_normal , is_simple , is_strictly_comparable_to , limits , operator<