Intervals of various forms (IVL, PIVL, EIVL) are used to express and interval or range of time. Table 4 provides examples of how to represent intervals of time and how OpenSHR will interpret that range of time.
Table 4 - Intervals of time
Example |
OpenSHR Interpretation |
<effectiveTime> |
Starting April 02, 2014 and ending January 01, 2015 |
<effectiveTime> |
Starting on April 02, 2014 and has not ended, will not end (until infinity) |
<effectiveTime> |
Ending January 01, 2015, unknown start date or always occurring (start date of infinity) |
<effectiveTime> |
Started sometime in 2014 |
<effectiveTime> |
Ending sometime in 2015 |
Note: Because of limitations imposed on OpenMRS' data-model, when sending intervals to OpenSHR both the low and high values must have the same precision. In the case of different date precisions used, OpenSHR will use the lowest precision of the two.