pub struct TimingRepeat {Show 32 fields
pub id: Option<String>,
pub extension: Vec<Extension>,
pub bounds: Option<TimingRepeatBounds>,
pub bounds_ext: Option<TimingRepeatBoundsExtension>,
pub count: Option<NonZero<u32>>,
pub count_ext: Option<FieldExtension>,
pub count_max: Option<NonZero<u32>>,
pub count_max_ext: Option<FieldExtension>,
pub duration: Option<f64>,
pub duration_ext: Option<FieldExtension>,
pub duration_max: Option<f64>,
pub duration_max_ext: Option<FieldExtension>,
pub duration_unit: Option<String>,
pub duration_unit_ext: Option<FieldExtension>,
pub frequency: Option<NonZero<u32>>,
pub frequency_ext: Option<FieldExtension>,
pub frequency_max: Option<NonZero<u32>>,
pub frequency_max_ext: Option<FieldExtension>,
pub period: Option<f64>,
pub period_ext: Option<FieldExtension>,
pub period_max: Option<f64>,
pub period_max_ext: Option<FieldExtension>,
pub period_unit: Option<String>,
pub period_unit_ext: Option<FieldExtension>,
pub day_of_week: Vec<Option<DaysOfWeek>>,
pub day_of_week_ext: Vec<Option<FieldExtension>>,
pub time_of_day: Vec<Option<Time>>,
pub time_of_day_ext: Vec<Option<FieldExtension>>,
pub when: Vec<Option<EventTiming>>,
pub when_ext: Vec<Option<FieldExtension>>,
pub offset: Option<u32>,
pub offset_ext: Option<FieldExtension>,
}Expand description
Sub-fields of the repeat field in Timing
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.
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
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.
bounds_ext: Option<TimingRepeatBoundsExtension>Extension field.
count: Option<NonZero<u32>>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.
If you have both bounds and count, then this should be understood as within the bounds period, until count times happens.
count_ext: Option<FieldExtension>Extension field.
count_max: Option<NonZero<u32>>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.
count_max_ext: Option<FieldExtension>Extension field.
duration: Option<f64>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.
For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it’s part of the timing specification (e.g. exercise).
duration_ext: Option<FieldExtension>Extension field.
duration_max: Option<f64>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.
For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it’s part of the timing specification (e.g. exercise).
duration_max_ext: Option<FieldExtension>Extension field.
duration_unit: Option<String>UnitsOfTime; 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.
duration_unit_ext: Option<FieldExtension>Extension field.
frequency: Option<NonZero<u32>>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_ext: Option<FieldExtension>Extension field.
frequency_max: Option<NonZero<u32>>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.
frequency_max_ext: Option<FieldExtension>Extension field.
period: Option<f64>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_ext: Option<FieldExtension>Extension field.
period_max: Option<f64>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_max_ext: Option<FieldExtension>Extension field.
period_unit: Option<String>UnitsOfTime; 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.
period_unit_ext: Option<FieldExtension>Extension field.
day_of_week: Vec<Option<DaysOfWeek>>DayOfWeek; 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).
If no days are specified, the action is assumed to happen every day as otherwise specified.
day_of_week_ext: Vec<Option<FieldExtension>>Extension field.
time_of_day: Vec<Option<Time>>Time of day for action
Specified time of day for action to take place.
When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times. If there’s a timeOfDay, there cannot be a when, or vice versa.
time_of_day_ext: Vec<Option<FieldExtension>>Extension field.
when: Vec<Option<EventTiming>>EventTiming; 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.
When more than one event is listed, the event is tied to the union of the specified events.
when_ext: Vec<Option<FieldExtension>>Extension field.
offset: Option<u32>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.
offset_ext: Option<FieldExtension>Extension field.
Implementations§
Source§impl TimingRepeat
impl TimingRepeat
Sourcepub fn builder() -> TimingRepeatBuilder
pub fn builder() -> TimingRepeatBuilder
Start building a new instance
Trait Implementations§
Source§impl Clone for TimingRepeat
impl Clone for TimingRepeat
Source§fn clone(&self) -> TimingRepeat
fn clone(&self) -> TimingRepeat
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more