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/FHIR/openehr-base-ig/ and changes regularly. See the Directory of published versions

Logical Model: DV_INTERVAL

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

Generic class defining an interval (i.e. range) of a comparable type. An interval is a contiguous subrange of a comparable base type. Used to define intervals of dates, times, quantities (whose units match) and so on. The type parameter, T, must be a descendant of the type DV_ORDERED, which is necessary (but not sufficient) for instances to be compared (_strictly_comparable_ is also needed).

Without the DV_INTERVAL class, quite a few more DV_ classes would be needed to express logical intervals, namely interval versions of all the date/time classes, and of quantity classes. Further, it allows the semantics of intervals to be stated in one place unequivocally, including the conditions for strict comparison.

The basic semantics are derived from the class Interval<T>, described in the support RM.

Original Source: specifications.openehr.org

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_INTERVAL<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> C 0..* DATA_VALUE Generic class defining an interval

Elements defined in Ancestors:CR, LF, Local_terminology_id
Constraints: limits-consistent
... lower<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 0..1 DV_ORDERED Lower bound of the interval.
... upper<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 0..1 DV_ORDERED Upper bound of the interval.
... lower_unbounded<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 boolean True if the interval has no lower bound.
... lower_included<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 boolean True if the lower bound is included in the interval.
... upper_included<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 boolean True if the upper bound is included in the interval.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
limits-consistent error DV_INTERVAL Limits consistent must satisfy range constraints (upper_unbounded.not() and lower_unbounded.not()) implies (lower.is_strictly_comparable_to(upper) and lower <= upper)
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_INTERVAL<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> C 0..* DATA_VALUE Generic class defining an interval

Elements defined in Ancestors:CR, LF, Local_terminology_id
Constraints: limits-consistent
... CR<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 string Carriage return character.
... LF<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 string Line feed character.
... Local_terminology_id<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 string Predefined terminology identifier
... upper<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 0..1 DV_ORDERED Upper bound of the interval.
... lower_unbounded<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 boolean True if the interval has no lower bound.
... upper_unbounded<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 boolean True if the interval has no upper bound.
... lower_included<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 boolean True if the lower bound is included in the interval.
... upper_included<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 boolean True if the upper bound is included in the interval.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
limits-consistent error DV_INTERVAL Limits consistent must satisfy range constraints (upper_unbounded.not() and lower_unbounded.not()) implies (lower.is_strictly_comparable_to(upper) and lower <= upper)

Summary

Mandatory: 0 element(4 nested mandatory elements)

Maturity: 3

Differential View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_INTERVAL<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> C 0..* DATA_VALUE Generic class defining an interval

Elements defined in Ancestors:CR, LF, Local_terminology_id
Constraints: limits-consistent
... lower<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 0..1 DV_ORDERED Lower bound of the interval.
... upper<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 0..1 DV_ORDERED Upper bound of the interval.
... lower_unbounded<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 boolean True if the interval has no lower bound.
... lower_included<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 boolean True if the lower bound is included in the interval.
... upper_included<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 boolean True if the upper bound is included in the interval.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
limits-consistent error DV_INTERVAL Limits consistent must satisfy range constraints (upper_unbounded.not() and lower_unbounded.not()) implies (lower.is_strictly_comparable_to(upper) and lower <= upper)

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DV_INTERVAL<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> C 0..* DATA_VALUE Generic class defining an interval

Elements defined in Ancestors:CR, LF, Local_terminology_id
Constraints: limits-consistent
... CR<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 string Carriage return character.
... LF<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 string Line feed character.
... Local_terminology_id<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 string Predefined terminology identifier
... upper<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 0..1 DV_ORDERED Upper bound of the interval.
... lower_unbounded<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 boolean True if the interval has no lower bound.
... upper_unbounded<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 boolean True if the interval has no upper bound.
... lower_included<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 boolean True if the lower bound is included in the interval.
... upper_included<T : http://openehr.org/fhir/StructureDefinition/DV-ORDERED> 1..1 boolean True if the upper bound is included in the interval.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
limits-consistent error DV_INTERVAL Limits consistent must satisfy range constraints (upper_unbounded.not() and lower_unbounded.not()) implies (lower.is_strictly_comparable_to(upper) and lower <= upper)

Summary

Mandatory: 0 element(4 nested mandatory elements)

Maturity: 3

 

Other representations of profile: CSV, Excel