pub struct TimingRepeat {Show 19 fields
pub id: Option<String>,
pub extension: Vec<Extension>,
pub bounds: Option<TimingRepeatBounds>,
pub count: Option<PositiveInt>,
pub count_max: Option<PositiveInt>,
pub duration: Option<Decimal>,
pub duration_max: Option<Decimal>,
pub duration_unit: Option<Code>,
pub frequency: Option<PositiveInt>,
pub frequency_max: Option<PositiveInt>,
pub period: Option<Decimal>,
pub period_max: Option<Decimal>,
pub period_unit: Option<Code>,
pub start_offset: Option<Quantity>,
pub end_offset: Option<Quantity>,
pub day_of_week: Vec<Code>,
pub time_of_day: Vec<Time>,
pub when: Vec<Code>,
pub offset: Option<UnsignedInt>,
}Expand description
When the event is to occur
A set of rules that describe when the event is scheduled.
Fields§
§id: Option<String>Unique id for inter-element referencing
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
extension: Vec<Extension>Additional content defined by implementations
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
bounds: Option<TimingRepeatBounds>Length/Range of lengths, or (Start and/or end) limits
Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.
count: Option<PositiveInt>Number of times to repeat
A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values.
count_max: Option<PositiveInt>Maximum number of times to repeat
If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times.
duration: Option<Decimal>How long when it happens
How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration.
duration_max: Option<Decimal>How long when it happens (Max)
If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.
duration_unit: Option<Code>s | min | h | d | wk | mo | a - unit of time (UCUM)
The units of time for the duration, in UCUM units Normal practice is to use the ‘mo’ code as a calendar month when calculating the next occurrence.
frequency: Option<PositiveInt>Indicates the number of repetitions that should occur within a period. I.e. Event occurs frequency times per period
The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency.
frequency_max: Option<PositiveInt>Event occurs up to frequencyMax times per period
If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.
period: Option<Decimal>The duration to which the frequency applies. I.e. Event occurs frequency times per period
Indicates the duration of time over which repetitions are to occur; e.g. to express “3 times per day”, 3 would be the frequency and “1 day” would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.
period_max: Option<Decimal>Upper limit of period (3-4 hours)
If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as “do this once every 3-5 days.
period_unit: Option<Code>s | min | h | d | wk | mo | a - unit of time (UCUM)
The units of time for the period in UCUM units Normal practice is to use the ‘mo’ code as a calendar month when calculating the next occurrence.
start_offset: Option<Quantity>Events within the repeat period do not start until startOffset has elapsed
Indicates that the events within the period of the repeat do not start until startOffset has elapsed. Requires both frequency and period to define the repeat cycle. See notes: Periods with start or end offsets.
end_offset: Option<Quantity>Events within the repeat period stop once endOffset before the end of the period
Indicates that the events within the period of the repeat stop endOffset before the period ends. Requires both frequency and period to define the repeat cycle. See notes: Periods with start or end offsets.
day_of_week: Vec<Code>mon | tue | wed | thu | fri | sat | sun
If one or more days of week is provided, then the action happens only on the specified day(s).
time_of_day: Vec<Time>Time of day for action
Specified time of day for action to take place.
when: Vec<Code>Code for time period of occurrence
An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.
offset: Option<UnsignedInt>Minutes from event (before or after)
The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.