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
Page standards status: Informative | Maturity Level: 3 |
Definitions for the DV-DURATION logical model.
Guidance on how to interpret the contents of this table can be foundhere
0. DV_DURATION | |
Definition | Represents a period of time with respect to a notional point in time, which is not specified. A sign may be used to indicate the duration is backwards in time rather than forwards. NOTE: two deviations from ISO 8601 are supported, the first, to allow a negative sign, and the second allowing the 'W' designator to be mixed with other designators. See time types section in the Foundation Types model. Used for recording the duration of something in the real world, particularly when there is a need a) to represent the duration in customary format, i.e. days, hours, minutes etc, and b) if it will be used in computational operations with date/time quantities, i.e. additions, subtractions etc. Misuse: Durations cannot be used to represent points in time, or intervals of time. Base definition for all types defined in FHIR type system. |
Short | Represents a period of time with respect to a notional point in time, which is not specified.Base for all types and resources |
Control | 0..* |
Is Modifier | false |
Logical Model | Instances of this logical model are not marked to be the target of a Reference |
Invariants | Other_reference_ranges_validity: Other reference ranges validity must be present (other_reference_ranges.exists() implies other_reference_ranges.empty().not() )Is_simple_validity: Is simple validity must satisfy conditional constraints ( (normal_range .empty() and other_reference_ranges .empty()) implies is_simple() )Normal_range_and_status_consistency: 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)) )Magnitude_status_valid: Magnitude status valid must be present ( magnitude_status.exists() implies valid_magnitude_status() (magnitude_status) )Accuracy_is_percent_validity: Accuracy is percent validity must satisfy conditional constraints ( accuracy = 0 implies accuracy_is_percent.not() )Accuracy_validity: Accuracy validity must satisfy conditional constraints ( accuracy_is_percent implies valid_percentage() (accuracy) )Value_valid: Value valid ( null # TODO: manual translation needed ) |
2. DV_DURATION.CR | |
Definition | Carriage return character. |
Short | Carriage return character. |
Control | 1..1 |
Type | string |
Is Modifier | false |
Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
4. DV_DURATION.LF | |
Definition | Line feed character. |
Short | Line feed character. |
Control | 1..1 |
Type | string |
Is Modifier | false |
Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
6. DV_DURATION.Local-terminology-id | |
Definition | Predefined terminology identifier to indicate it is local to the knowledge resource in which it occurs, e.g. an archetype |
Short | Predefined terminology identifier |
Control | 1..1 |
Type | string |
Is Modifier | false |
Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
8. DV_DURATION.normal-status | |
Definition | 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; see openEHR terminology group |
Short | Optional normal status indicator of value with respect to normal range for this value. |
Control | 0..1 |
Type | http://openehr.org/fhir/StructureDefinition/CODE-PHRASE |
Is Modifier | false |
10. DV_DURATION.normal-range | |
Definition | Optional normal range. |
Short | Optional normal range. |
Control | 0..1 |
Type | http://openehr.org/fhir/StructureDefinition/DV-INTERVAL |
Is Modifier | false |
12. DV_DURATION.other-reference-ranges | |
Definition | Optional tagged other reference ranges for this value in its particular measurement context. |
Short | Optional tagged other reference ranges for this value in its particular measurement context. |
Control | 0..* |
Type | http://openehr.org/fhir/StructureDefinition/REFERENCE-RANGE<http://openehr.org/fhir/StructureDefinition/DV-ORDERED> |
Is Modifier | false |
14. DV_DURATION.magnitude-status | |
Definition | Optional status of magnitude with values:
If not present, assumed meaning is |
Short | Optional status of magnitude with values: * `"="` : magnitude is a point value * `"<"` : value is < magnitude * `">"` : value is > magnitude * `"<="` : value is <= magnitude * `">="` : value is >= magnitude * `"~"` : value is approximately magnitude If not present, assumed meaning is `"="` . |
Control | 0..1 |
Type | string |
Is Modifier | false |
Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
16. DV_DURATION.accuracy | |
Definition | Accuracy of measurement, expressed either as a half-range percent value ( A value of |
Short | Accuracy of measurement, expressed either as a half-range percent value (`_accuracy_is_percent_` = `True`) or a half-range quantity. |
Control | 0..1 |
Type | decimal |
Is Modifier | false |
Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
18. DV_DURATION.accuracy-is-percent | |
Definition | If |
Short | If `True`, indicates that when this object was created, `_accuracy_` was recorded as a percent value; if `False`, as an absolute quantity value. |
Control | 0..1 |
Type | boolean |
Is Modifier | false |
Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
20. DV_DURATION.value | |
Definition | ISO8601 duration string, including described deviations to support negative values and weeks. |
Short | ISO8601 duration string, including described deviations to support negative values and weeks. |
Control | 1..1 |
Type | string |
Is Modifier | false |
Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
Guidance on how to interpret the contents of this table can be foundhere
0. DV_DURATION | |
Definition | Represents a period of time with respect to a notional point in time, which is not specified. A sign may be used to indicate the duration is backwards in time rather than forwards. NOTE: two deviations from ISO 8601 are supported, the first, to allow a negative sign, and the second allowing the 'W' designator to be mixed with other designators. See time types section in the Foundation Types model. Used for recording the duration of something in the real world, particularly when there is a need a) to represent the duration in customary format, i.e. days, hours, minutes etc, and b) if it will be used in computational operations with date/time quantities, i.e. additions, subtractions etc. Misuse: Durations cannot be used to represent points in time, or intervals of time. |
Short | Represents a period of time with respect to a notional point in time, which is not specified. |
Control | 0..* |
Is Modifier | false |
Logical Model | Instances of this logical model are not marked to be the target of a Reference |
Invariants | Value_valid: Value valid (null # TODO: manual translation needed ) |
2. DV_DURATION.value | |
Definition | ISO8601 duration string, including described deviations to support negative values and weeks. |
Short | ISO8601 duration string, including described deviations to support negative values and weeks. |
Control | 1..1 |
Type | string |
Is Modifier | false |
Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
Guidance on how to interpret the contents of this table can be foundhere
0. DV_DURATION | |
Definition | Represents a period of time with respect to a notional point in time, which is not specified. A sign may be used to indicate the duration is backwards in time rather than forwards. NOTE: two deviations from ISO 8601 are supported, the first, to allow a negative sign, and the second allowing the 'W' designator to be mixed with other designators. See time types section in the Foundation Types model. Used for recording the duration of something in the real world, particularly when there is a need a) to represent the duration in customary format, i.e. days, hours, minutes etc, and b) if it will be used in computational operations with date/time quantities, i.e. additions, subtractions etc. Misuse: Durations cannot be used to represent points in time, or intervals of time. |
Short | Represents a period of time with respect to a notional point in time, which is not specified. |
Control | 0..* |
Is Modifier | false |
Logical Model | Instances of this logical model are not marked to be the target of a Reference |
Invariants | Other_reference_ranges_validity: Other reference ranges validity must be present (other_reference_ranges.exists() implies other_reference_ranges.empty().not() )Is_simple_validity: Is simple validity must satisfy conditional constraints ( (normal_range .empty() and other_reference_ranges .empty()) implies is_simple() )Normal_range_and_status_consistency: 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)) )Magnitude_status_valid: Magnitude status valid must be present ( magnitude_status.exists() implies valid_magnitude_status() (magnitude_status) )Accuracy_is_percent_validity: Accuracy is percent validity must satisfy conditional constraints ( accuracy = 0 implies accuracy_is_percent.not() )Accuracy_validity: Accuracy validity must satisfy conditional constraints ( accuracy_is_percent implies valid_percentage() (accuracy) )Value_valid: Value valid ( null # TODO: manual translation needed ) |
2. DV_DURATION.CR | |
Definition | Carriage return character. |
Short | Carriage return character. |
Control | 1..1 |
Type | string |
Is Modifier | false |
Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
4. DV_DURATION.LF | |
Definition | Line feed character. |
Short | Line feed character. |
Control | 1..1 |
Type | string |
Is Modifier | false |
Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
6. DV_DURATION.Local-terminology-id | |
Definition | Predefined terminology identifier to indicate it is local to the knowledge resource in which it occurs, e.g. an archetype |
Short | Predefined terminology identifier |
Control | 1..1 |
Type | string |
Is Modifier | false |
Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
8. DV_DURATION.normal-status | |
Definition | 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; see openEHR terminology group |
Short | Optional normal status indicator of value with respect to normal range for this value. |
Control | 0..1 |
Type | http://openehr.org/fhir/StructureDefinition/CODE-PHRASE |
Is Modifier | false |
10. DV_DURATION.normal-range | |
Definition | Optional normal range. |
Short | Optional normal range. |
Control | 0..1 |
Type | http://openehr.org/fhir/StructureDefinition/DV-INTERVAL |
Is Modifier | false |
12. DV_DURATION.other-reference-ranges | |
Definition | Optional tagged other reference ranges for this value in its particular measurement context. |
Short | Optional tagged other reference ranges for this value in its particular measurement context. |
Control | 0..* |
Type | http://openehr.org/fhir/StructureDefinition/REFERENCE-RANGE<http://openehr.org/fhir/StructureDefinition/DV-ORDERED> |
Is Modifier | false |
14. DV_DURATION.magnitude-status | |
Definition | Optional status of magnitude with values:
If not present, assumed meaning is |
Short | Optional status of magnitude with values: * `"="` : magnitude is a point value * `"<"` : value is < magnitude * `">"` : value is > magnitude * `"<="` : value is <= magnitude * `">="` : value is >= magnitude * `"~"` : value is approximately magnitude If not present, assumed meaning is `"="` . |
Control | 0..1 |
Type | string |
Is Modifier | false |
Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
16. DV_DURATION.accuracy | |
Definition | Accuracy of measurement, expressed either as a half-range percent value ( A value of |
Short | Accuracy of measurement, expressed either as a half-range percent value (`_accuracy_is_percent_` = `True`) or a half-range quantity. |
Control | 0..1 |
Type | decimal |
Is Modifier | false |
Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
18. DV_DURATION.accuracy-is-percent | |
Definition | If |
Short | If `True`, indicates that when this object was created, `_accuracy_` was recorded as a percent value; if `False`, as an absolute quantity value. |
Control | 0..1 |
Type | boolean |
Is Modifier | false |
Primitive Value | This primitive element may be present, or absent, or replaced by an extension |
20. DV_DURATION.value | |
Definition | ISO8601 duration string, including described deviations to support negative values and weeks. |
Short | ISO8601 duration string, including described deviations to support negative values and weeks. |
Control | 1..1 |
Type | string |
Is Modifier | false |
Primitive Value | This primitive element may be present, or absent, or replaced by an extension |