EHDS openEHR data exchange
0.1.0 - ci-build

EHDS openEHR data exchange, published by Ian. 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/freshehr/EHDS-openEHR-FHIR-IG/ and changes regularly. See the Directory of published versions

Logical Model: DvIntervalDvDateTime

Official URL: https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvInterval-DvDateTime Version: 0.1.0
Draft as of 2026-03-25 Computable Name: DvIntervalDvDateTime

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
.. DvInterval-DvDateTime C 0..* DV_DATE_TIME Interval DateTime

Elements defined in Ancestors:CR, LF, Local_terminology_id, normal_status, normal_range, other_reference_ranges, magnitude_status, accuracy, accuracy, accuracy, value
Constraints: Other_reference_ranges_validity, Is_simple_validity, Normal_range_and_status_consistency, Magnitude_status_valid, Value_valid
... 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.
... magnitude_status 0..1 string 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 `"="` .
... accuracy 0..1 DV_DURATION Time accuracy, expressed as a duration.
... value 1..1 string ISO8601 date/time string.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Is_simple_validity error DvInterval-DvDateTime Is simple validity must satisfy conditional constraints (normal_range .empty() and other_reference_ranges .empty()) implies is_simple()
Magnitude_status_valid error DvInterval-DvDateTime Magnitude status valid must be present magnitude_status.exists() implies valid_magnitude_status() (magnitude_status)
Normal_range_and_status_consistency error DvInterval-DvDateTime 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 DvInterval-DvDateTime Other reference ranges validity must be present other_reference_ranges.exists() implies other_reference_ranges.empty().not()
Value_valid error DvInterval-DvDateTime Value valid null # TODO: manual translation needed

This structure is derived from DV_DATE_TIME

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DvInterval-DvDateTime 0..* DV_DATE_TIME Interval DateTime

Elements defined in Ancestors:CR, LF, Local_terminology_id, normal_status, normal_range, other_reference_ranges, magnitude_status, accuracy, accuracy, accuracy, value

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DvInterval-DvDateTime C 0..* DV_DATE_TIME Interval DateTime

Elements defined in Ancestors:CR, LF, Local_terminology_id, normal_status, normal_range, other_reference_ranges, magnitude_status, accuracy, accuracy, accuracy, value
Constraints: Other_reference_ranges_validity, Is_simple_validity, Normal_range_and_status_consistency, Magnitude_status_valid, Value_valid
... 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.
... magnitude_status 0..1 string 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 `"="` .
... accuracy 0..1 DV_DURATION Time accuracy, expressed as a duration.
... value 1..1 string ISO8601 date/time string.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Is_simple_validity error DvInterval-DvDateTime Is simple validity must satisfy conditional constraints (normal_range .empty() and other_reference_ranges .empty()) implies is_simple()
Magnitude_status_valid error DvInterval-DvDateTime Magnitude status valid must be present magnitude_status.exists() implies valid_magnitude_status() (magnitude_status)
Normal_range_and_status_consistency error DvInterval-DvDateTime 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 DvInterval-DvDateTime Other reference ranges validity must be present other_reference_ranges.exists() implies other_reference_ranges.empty().not()
Value_valid error DvInterval-DvDateTime Value valid null # TODO: manual translation needed

This structure is derived from DV_DATE_TIME

Summary

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DvInterval-DvDateTime C 0..* DV_DATE_TIME Interval DateTime

Elements defined in Ancestors:CR, LF, Local_terminology_id, normal_status, normal_range, other_reference_ranges, magnitude_status, accuracy, accuracy, accuracy, value
Constraints: Other_reference_ranges_validity, Is_simple_validity, Normal_range_and_status_consistency, Magnitude_status_valid, Value_valid
... 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.
... magnitude_status 0..1 string 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 `"="` .
... accuracy 0..1 DV_DURATION Time accuracy, expressed as a duration.
... value 1..1 string ISO8601 date/time string.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Is_simple_validity error DvInterval-DvDateTime Is simple validity must satisfy conditional constraints (normal_range .empty() and other_reference_ranges .empty()) implies is_simple()
Magnitude_status_valid error DvInterval-DvDateTime Magnitude status valid must be present magnitude_status.exists() implies valid_magnitude_status() (magnitude_status)
Normal_range_and_status_consistency error DvInterval-DvDateTime 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 DvInterval-DvDateTime Other reference ranges validity must be present other_reference_ranges.exists() implies other_reference_ranges.empty().not()
Value_valid error DvInterval-DvDateTime Value valid null # TODO: manual translation needed

Differential View

This structure is derived from DV_DATE_TIME

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DvInterval-DvDateTime 0..* DV_DATE_TIME Interval DateTime

Elements defined in Ancestors:CR, LF, Local_terminology_id, normal_status, normal_range, other_reference_ranges, magnitude_status, accuracy, accuracy, accuracy, value

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DvInterval-DvDateTime C 0..* DV_DATE_TIME Interval DateTime

Elements defined in Ancestors:CR, LF, Local_terminology_id, normal_status, normal_range, other_reference_ranges, magnitude_status, accuracy, accuracy, accuracy, value
Constraints: Other_reference_ranges_validity, Is_simple_validity, Normal_range_and_status_consistency, Magnitude_status_valid, Value_valid
... 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.
... magnitude_status 0..1 string 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 `"="` .
... accuracy 0..1 DV_DURATION Time accuracy, expressed as a duration.
... value 1..1 string ISO8601 date/time string.

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
Is_simple_validity error DvInterval-DvDateTime Is simple validity must satisfy conditional constraints (normal_range .empty() and other_reference_ranges .empty()) implies is_simple()
Magnitude_status_valid error DvInterval-DvDateTime Magnitude status valid must be present magnitude_status.exists() implies valid_magnitude_status() (magnitude_status)
Normal_range_and_status_consistency error DvInterval-DvDateTime 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 DvInterval-DvDateTime Other reference ranges validity must be present other_reference_ranges.exists() implies other_reference_ranges.empty().not()
Value_valid error DvInterval-DvDateTime Value valid null # TODO: manual translation needed

This structure is derived from DV_DATE_TIME

Summary

 

Other representations of profile: CSV, Excel