Abstract class defining the concept of ordered values, which includes ordinals as well as
true quantities. It defines the functions <' and is_strictly_comparable_to, the latter of
which must evaluate to True for instances being compared with the <' function, or
used as limits in the DV_INTERVAL<T> class.
Data value types which are to be used as limits in the DV_INTERVAL<T> class must
inherit from this class, and implement the function is_strictly_comparable_to to ensure
that instances compare meaningfully. For example, instances of DV_QUANTITY can only
be compared if they measure the same kind of physical quantity.
Declaration :
Directly inherited by : DV_ORDINAL DV_QUANTIFIED
Artifact : DV_ORDERED
Attribut normal_status |
Optional normal status indicator of value with respect to normal range for this
value. Often included by lab, even if the normal range itself is not included.
Coded by ordinals in series HHH, HH, H, (nothing), L, LL, LLL
Declaration :
Operation is_strictly_comparable_to |
Test if two instances are strictly comparable.
Declaration :
Operation operator< |
Tests if this item is less than other, which must be of the same concrete type.
Declaration :
Operation is_simple |
True if this quantity has no reference ranges.
Declaration :
Operation is_normal |
Value is in the normal range, determined by comparison of the value to the
normal_range if present, or by the normal_status marker if present.
Declaration :
Relation normal_range (<directional aggregation>) |
Optional normal range.
Declaration :
Relation other_reference_ranges (<directional aggregation>) |
Optional tagged other reference ranges for this value in its particular
measurement context.
Declaration :
Operation ~DV_ORDERED |
Declaration :
All public operations : is_normal , is_simple , is_strictly_comparable_to , operator<