OpenEHR Base package
0.1.0 - First Draft
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
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
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | DATA_VALUE | Generic class defining an interval (i. Elements defined in Ancestors:CR, LF, Local_terminology_id Constraints: Limits_consistent |
![]() ![]() ![]() |
1..1 | string | Carriage return character. | |
![]() ![]() ![]() |
1..1 | string | Line feed character. | |
![]() ![]() ![]() |
1..1 | string | Predefined terminology identifier | |
![]() |
Id | Grade | Path(s) | Description | Expression |
Limits_consistent | error | DV_INTERVAL | Limits consistent must satisfy range constraints |
(upper_unbounde.not()d and lower_unbounded.not()) implies (lower.is_strictly_comparable_to(upper) and lower <= upper)
|
This structure is derived from DATA_VALUE
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | DATA_VALUE | Generic class defining an interval (i. Elements defined in Ancestors:CR, LF, Local_terminology_id Constraints: Limits_consistent |
![]() |
Id | Grade | Path(s) | Description | Expression |
Limits_consistent | error | DV_INTERVAL | Limits consistent must satisfy range constraints |
(upper_unbounde.not()d and lower_unbounded.not()) implies (lower.is_strictly_comparable_to(upper) and lower <= upper)
|
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | DATA_VALUE | Generic class defining an interval (i. Elements defined in Ancestors:CR, LF, Local_terminology_id Constraints: Limits_consistent |
![]() ![]() ![]() |
1..1 | string | Carriage return character. | |
![]() ![]() ![]() |
1..1 | string | Line feed character. | |
![]() ![]() ![]() |
1..1 | string | Predefined terminology identifier | |
![]() |
Id | Grade | Path(s) | Description | Expression |
Limits_consistent | error | DV_INTERVAL | Limits consistent must satisfy range constraints |
(upper_unbounde.not()d and lower_unbounded.not()) implies (lower.is_strictly_comparable_to(upper) and lower <= upper)
|
This structure is derived from DATA_VALUE
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | DATA_VALUE | Generic class defining an interval (i. Elements defined in Ancestors:CR, LF, Local_terminology_id Constraints: Limits_consistent |
![]() ![]() ![]() |
1..1 | string | Carriage return character. | |
![]() ![]() ![]() |
1..1 | string | Line feed character. | |
![]() ![]() ![]() |
1..1 | string | Predefined terminology identifier | |
![]() |
Id | Grade | Path(s) | Description | Expression |
Limits_consistent | error | DV_INTERVAL | Limits consistent must satisfy range constraints |
(upper_unbounde.not()d and lower_unbounded.not()) implies (lower.is_strictly_comparable_to(upper) and lower <= upper)
|
Differential View
This structure is derived from DATA_VALUE
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | DATA_VALUE | Generic class defining an interval (i. Elements defined in Ancestors:CR, LF, Local_terminology_id Constraints: Limits_consistent |
![]() |
Id | Grade | Path(s) | Description | Expression |
Limits_consistent | error | DV_INTERVAL | Limits consistent must satisfy range constraints |
(upper_unbounde.not()d and lower_unbounded.not()) implies (lower.is_strictly_comparable_to(upper) and lower <= upper)
|
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | DATA_VALUE | Generic class defining an interval (i. Elements defined in Ancestors:CR, LF, Local_terminology_id Constraints: Limits_consistent |
![]() ![]() ![]() |
1..1 | string | Carriage return character. | |
![]() ![]() ![]() |
1..1 | string | Line feed character. | |
![]() ![]() ![]() |
1..1 | string | Predefined terminology identifier | |
![]() |
Id | Grade | Path(s) | Description | Expression |
Limits_consistent | error | DV_INTERVAL | Limits consistent must satisfy range constraints |
(upper_unbounde.not()d and lower_unbounded.not()) implies (lower.is_strictly_comparable_to(upper) and lower <= upper)
|
This structure is derived from DATA_VALUE