Closed wanghaisheng closed 9 years ago
Example
A series of appointments for radiotherapy:
<schedule>
<event>
<start value="2012-01-07T09:00:00+10:00" />
<end value="2012-01-07T13:00:00+10:00" />
</event>
<event>
<start value="2012-01-14T09:00:00+10:00" />
<end value="2012-01-14T13:00:00+10:00" />
</event>
<event>
<start value="2012-01-22T11:00:00+10:00" />
<end value="2012-01-22T15:00:00+10:00" />
</event>
</schedule>
BID (twice a day) (no start or end specified):
<schedule>
<repeat>
<frequency value="2" />
<duration value="1" />
<units value="d" />
</repeat>
</schedule>
1/2 an hour before breakfast for 10 days from 23-Dec 2011:
<schedule>
<event>
<start value="2011-12-23" />
</event>
<repeat>
<when value="ACM" />
<duration value="30" />
<units value="min" />
<end value="2012-01-02" />
</repeat>
</schedule>
其中对repeat元素的说明 repeat I 0..1 Element Only if there is none or one event
这里repeat的使用 是不是说当event超过1个时就不能使用repeat