OpenEHR Base package
0.1.0 - First Draft International flag

OpenEHR Base package, published by openEHR + HL7. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/openehr-fhir/base-spec/ and changes regularly. See the Directory of published versions

Logical Model: DV_ORDERED ( Abstract )

Official URL: http://openehr.org/fhir/StructureDefinition/DV-ORDERED Version: 0.1.0
Standards status: Informative Maturity Level: 3 Computable Name: DV_ORDERED

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.

Original Source: specifications.openehr.org

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_ORDERED C 0..* DATA_VALUE This is an abstract type. Child types: DV_ORDINAL, DV_QUANTIFIED, DV_SCALE
Abstract class defining the concept of ordered values, which includes ordinals as well as true quantities.

Elements defined in Ancestors:CR, LF, Local_terminology_id
Constraints: Other_reference_ranges_validity, Is_simple_validity, Normal_range_and_status_consistency
... CR 1..1 string Carriage return character.
... LF 1..1 string Line feed character.
... Local_terminology_id 1..1 string Predefined terminology identifier
... normal_range 0..1 DV_INTERVAL Optional normal range.
... other_reference_ranges 0..* REFERENCE_RANGE<DV_ORDERED> Optional tagged other reference ranges for this value in its particular measurement context.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Is_simple_validity error DV_ORDERED Is simple validity must satisfy conditional constraints (normal_range .empty() and other_reference_ranges .empty()) implies is_simple()
Normal_range_and_status_consistency error DV_ORDERED Normal range and status consistency must be present (normal_range.exists() and normal_status.exists()) implies (normal_status.code_string.is_equal (“N”) xor normal_range.not().has (self))
Other_reference_ranges_validity error DV_ORDERED Other reference ranges validity must be present other_reference_ranges.exists() implies other_reference_ranges.empty().not()

This structure is derived from DATA_VALUE

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_ORDERED C 0..* DATA_VALUE This is an abstract type. Child types: DV_ORDINAL, DV_QUANTIFIED, DV_SCALE
Abstract class defining the concept of ordered values, which includes ordinals as well as true quantities.

Elements defined in Ancestors:CR, LF, Local_terminology_id
Binding: Normal statuses (required)
Constraints: Other_reference_ranges_validity, Is_simple_validity, Normal_range_and_status_consistency
... normal_status 0..1 CODE_PHRASE Optional normal status indicator of value with respect to normal range for this value.
... normal_range 0..1 DV_INTERVAL Optional normal range.
... other_reference_ranges 0..* REFERENCE_RANGE<DV_ORDERED> Optional tagged other reference ranges for this value in its particular measurement context.

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
DV_ORDERED Base required Normal statuses 📦0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
Is_simple_validity error DV_ORDERED Is simple validity must satisfy conditional constraints (normal_range .empty() and other_reference_ranges .empty()) implies is_simple()
Normal_range_and_status_consistency error DV_ORDERED Normal range and status consistency must be present (normal_range.exists() and normal_status.exists()) implies (normal_status.code_string.is_equal (“N”) xor normal_range.not().has (self))
Other_reference_ranges_validity error DV_ORDERED Other reference ranges validity must be present other_reference_ranges.exists() implies other_reference_ranges.empty().not()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_ORDERED C 0..* DATA_VALUE This is an abstract type. Child types: DV_ORDINAL, DV_QUANTIFIED, DV_SCALE
Abstract class defining the concept of ordered values, which includes ordinals as well as true quantities.

Elements defined in Ancestors:CR, LF, Local_terminology_id
Constraints: Other_reference_ranges_validity, Is_simple_validity, Normal_range_and_status_consistency
... CR 1..1 string Carriage return character.
... LF 1..1 string Line feed character.
... Local_terminology_id 1..1 string Predefined terminology identifier
... normal_range 0..1 DV_INTERVAL Optional normal range.
... other_reference_ranges 0..* REFERENCE_RANGE<DV_ORDERED> Optional tagged other reference ranges for this value in its particular measurement context.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Is_simple_validity error DV_ORDERED Is simple validity must satisfy conditional constraints (normal_range .empty() and other_reference_ranges .empty()) implies is_simple()
Normal_range_and_status_consistency error DV_ORDERED Normal range and status consistency must be present (normal_range.exists() and normal_status.exists()) implies (normal_status.code_string.is_equal (“N”) xor normal_range.not().has (self))
Other_reference_ranges_validity error DV_ORDERED Other reference ranges validity must be present other_reference_ranges.exists() implies other_reference_ranges.empty().not()

This structure is derived from DATA_VALUE

Summary

Maturity: 3

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_ORDERED C 0..* DATA_VALUE This is an abstract type. Child types: DV_ORDINAL, DV_QUANTIFIED, DV_SCALE
Abstract class defining the concept of ordered values, which includes ordinals as well as true quantities.

Elements defined in Ancestors:CR, LF, Local_terminology_id
Constraints: Other_reference_ranges_validity, Is_simple_validity, Normal_range_and_status_consistency
... CR 1..1 string Carriage return character.
... LF 1..1 string Line feed character.
... Local_terminology_id 1..1 string Predefined terminology identifier
... normal_range 0..1 DV_INTERVAL Optional normal range.
... other_reference_ranges 0..* REFERENCE_RANGE<DV_ORDERED> Optional tagged other reference ranges for this value in its particular measurement context.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Is_simple_validity error DV_ORDERED Is simple validity must satisfy conditional constraints (normal_range .empty() and other_reference_ranges .empty()) implies is_simple()
Normal_range_and_status_consistency error DV_ORDERED Normal range and status consistency must be present (normal_range.exists() and normal_status.exists()) implies (normal_status.code_string.is_equal (“N”) xor normal_range.not().has (self))
Other_reference_ranges_validity error DV_ORDERED Other reference ranges validity must be present other_reference_ranges.exists() implies other_reference_ranges.empty().not()

Differential View

This structure is derived from DATA_VALUE

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_ORDERED C 0..* DATA_VALUE This is an abstract type. Child types: DV_ORDINAL, DV_QUANTIFIED, DV_SCALE
Abstract class defining the concept of ordered values, which includes ordinals as well as true quantities.

Elements defined in Ancestors:CR, LF, Local_terminology_id
Binding: Normal statuses (required)
Constraints: Other_reference_ranges_validity, Is_simple_validity, Normal_range_and_status_consistency
... normal_status 0..1 CODE_PHRASE Optional normal status indicator of value with respect to normal range for this value.
... normal_range 0..1 DV_INTERVAL Optional normal range.
... other_reference_ranges 0..* REFERENCE_RANGE<DV_ORDERED> Optional tagged other reference ranges for this value in its particular measurement context.

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
DV_ORDERED Base required Normal statuses 📦0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
Is_simple_validity error DV_ORDERED Is simple validity must satisfy conditional constraints (normal_range .empty() and other_reference_ranges .empty()) implies is_simple()
Normal_range_and_status_consistency error DV_ORDERED Normal range and status consistency must be present (normal_range.exists() and normal_status.exists()) implies (normal_status.code_string.is_equal (“N”) xor normal_range.not().has (self))
Other_reference_ranges_validity error DV_ORDERED Other reference ranges validity must be present other_reference_ranges.exists() implies other_reference_ranges.empty().not()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_ORDERED C 0..* DATA_VALUE This is an abstract type. Child types: DV_ORDINAL, DV_QUANTIFIED, DV_SCALE
Abstract class defining the concept of ordered values, which includes ordinals as well as true quantities.

Elements defined in Ancestors:CR, LF, Local_terminology_id
Constraints: Other_reference_ranges_validity, Is_simple_validity, Normal_range_and_status_consistency
... CR 1..1 string Carriage return character.
... LF 1..1 string Line feed character.
... Local_terminology_id 1..1 string Predefined terminology identifier
... normal_range 0..1 DV_INTERVAL Optional normal range.
... other_reference_ranges 0..* REFERENCE_RANGE<DV_ORDERED> Optional tagged other reference ranges for this value in its particular measurement context.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Is_simple_validity error DV_ORDERED Is simple validity must satisfy conditional constraints (normal_range .empty() and other_reference_ranges .empty()) implies is_simple()
Normal_range_and_status_consistency error DV_ORDERED Normal range and status consistency must be present (normal_range.exists() and normal_status.exists()) implies (normal_status.code_string.is_equal (“N”) xor normal_range.not().has (self))
Other_reference_ranges_validity error DV_ORDERED Other reference ranges validity must be present other_reference_ranges.exists() implies other_reference_ranges.empty().not()

This structure is derived from DATA_VALUE

Summary

Maturity: 3

 

Other representations of profile: CSV, Excel

Contained resources