Complex Intervals

Periodic Interval of Time (PIVL)

CHI defines one Periodic Interval of Time specialization type:

  1. PIVL<TS.DATETIME> – Periodic Interval of Time

Below are the basic rules for each of the interval specification types:

Note: The "phase", "period", "alignment" and "institutionSpecified" attributes are not allowed.

Example: “3 times per day” would be specified as:

<effectiveTime xsi:type="PIVL_TS">
         <frequency>
                 <numerator xsi:type="INT" specializationType="INT.NONNEG" value="3"/>
                 <denominator xsi:type="PQ" specializationType="PQ.TIME" value="1" unit="d"/>
         </frequency>
</effectiveTime>

General Timing Specification (GTS)

This data type is used to convey two pieces of information: The overall time-period when something occurred (or is to occur) (represented by the first “comp” element), as well as how often it should/did occur within that time-period (represented by the second “comp” element).

CHI defines one General Timing Specification specialization type:

  1. GTS.BOUNDEDPIVL – General Timing Specification (Time-range and Frequency)

Below are the basic rules for each of the interval specification types:

Example: "3 times/day beginning August 3rd 2005 for 3 weeks" would be specified as:

<effectiveTime xsi:type="SXPR_TS">
         <comp xsi:type="IVL_TS" operator="I">
                <low xsi:type="TS" specializationType="TS.FULLDATE" value= "20050803"/>
                <width xsi:type="TS" specializationType="TS.FULLDATE" value="3" unit="wk"/>
         </comp>
         <comp xsi:type="PIVL_TS">
                <frequency>
                        <numerator xsi:type="INT" specializationType="INT.NONNEG" value="3"/>
                        <denominator xsi:type="PQ" specializationType="PQ.TIME" value="1" unit="d"/>
                </frequency>
         </comp>
</effectiveTime>

2.0-SNAPSHOT build 44073 (2013-10-21 14:54:29)