TimingRepeat class

TimingRepeat Specifies an event that may occur multiple times. Timing

Annotations
  • @freezed

Constructors

TimingRepeat({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<FhirExtension>? extension_, List<FhirExtension>? modifierExtension, FhirDuration? boundsDuration, Range? boundsRange, Period? boundsPeriod, FhirPositiveInt? count, @JsonKey(name: '_count') Element? countElement, FhirPositiveInt? countMax, @JsonKey(name: '_countMax') Element? countMaxElement, FhirDecimal? duration, @JsonKey(name: '_duration') Element? durationElement, FhirDecimal? durationMax, @JsonKey(name: '_durationMax') Element? durationMaxElement, @JsonKey(unknownEnumValue: TimingRepeatDurationUnit.unknown) TimingRepeatDurationUnit? durationUnit, @JsonKey(name: '_durationUnit') Element? durationUnitElement, FhirPositiveInt? frequency, @JsonKey(name: '_frequency') Element? frequencyElement, FhirPositiveInt? frequencyMax, @JsonKey(name: '_frequencyMax') Element? frequencyMaxElement, FhirDecimal? period, @JsonKey(name: '_period') Element? periodElement, FhirDecimal? periodMax, @JsonKey(name: '_periodMax') Element? periodMaxElement, @JsonKey(unknownEnumValue: TimingRepeatPeriodUnit.unknown) TimingRepeatPeriodUnit? periodUnit, @JsonKey(name: '_periodUnit') Element? periodUnitElement, List<FhirCode>? dayOfWeek, @JsonKey(name: '_dayOfWeek') List<Element?>? dayOfWeekElement, List<FhirTime>? timeOfDay, @JsonKey(name: '_timeOfDay') List<Element?>? timeOfDayElement, List<TimingRepeatWhen>? when, @JsonKey(name: '_when') List<Element?>? whenElement, FhirUnsignedInt? offset, @JsonKey(name: '_offset') Element? offsetElement})
TimingRepeat Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out.
const
factory
TimingRepeat.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
TimingRepeat.fromJsonString(String source)
Acts like a constructor, returns a TimingRepeat, accepts a String as an argument, mostly because I got tired of typing it out
factory
TimingRepeat.fromYaml(dynamic yaml)
Factory constructor that accepts a String in YAML format as an argument
factory

Properties

boundsDuration FhirDuration?
boundsDuration 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.
no setterinherited
boundsPeriod Period?
boundsPeriod 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.
no setterinherited
boundsRange Range?
boundsRange 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.
no setterinherited
copyWith → $TimingRepeatCopyWith<TimingRepeat>
no setterinherited
count FhirPositiveInt?
count 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.
no setterinherited
countElement Element?
countElement Extensions for count
no setterinherited
countMax FhirPositiveInt?
countMax If present, indicates that the count is a range - so to perform the action between count and countMax times.
no setterinherited
countMaxElement Element?
countMaxElement Extensions for countMax
no setterinherited
dayOfWeek List<FhirCode>?
dayOfWeek If one or more days of week is provided, then the action happens only on the specified day(s).
no setterinherited
dayOfWeekElement List<Element?>?
dayOfWeekElement Extensions for dayOfWeek
no setterinherited
duration FhirDecimal?
duration 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.
no setterinherited
durationElement Element?
durationElement Extensions for duration
no setterinherited
durationMax FhirDecimal?
durationMax If present, indicates that the duration is a range - so to perform the action between duration and durationMax time length.
no setterinherited
durationMaxElement Element?
durationMaxElement Extensions for durationMax
no setterinherited
durationUnit TimingRepeatDurationUnit?
no setterinherited
durationUnitElement Element?
durationUnitElement Extensions for durationUnit
no setterinherited
extension_ List<FhirExtension>?
extension 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 manageable, 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.
no setterinherited
fhirId String?
id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
no setterinherited
frequency FhirPositiveInt?
frequency 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.
no setterinherited
frequencyElement Element?
frequencyElement Extensions for frequency
no setterinherited
frequencyMax FhirPositiveInt?
frequencyMax If present, indicates that the frequency is a range - so to repeat between frequency and frequencyMax times within the period or period range.
no setterinherited
frequencyMaxElement Element?
frequencyMaxElement Extensions for frequencyMax
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
modifierExtension List<FhirExtension>?
modifierExtension May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, 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. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
no setterinherited
offset FhirUnsignedInt?
offset 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.
no setterinherited
offsetElement Element?
offsetElement Extensions for offset
no setterinherited
period FhirDecimal?
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.
no setterinherited
periodElement Element?
periodElement Extensions for period
no setterinherited
periodMax FhirDecimal?
periodMax 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.
no setterinherited
periodMaxElement Element?
periodMaxElement Extensions for periodMax
no setterinherited
periodUnit TimingRepeatPeriodUnit?
no setterinherited
periodUnitElement Element?
periodUnitElement Extensions for periodUnit
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeOfDay List<FhirTime>?
timeOfDay Specified time of day for action to take place.
no setterinherited
timeOfDayElement List<Element?>?
timeOfDayElement Extensions for timeOfDay
no setterinherited
when List<TimingRepeatWhen>?
when An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.
no setterinherited
whenElement List<Element?>?
whenElement Extensions for when
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toJsonString() String
Another convenience method because more and more I'm transmitting FHIR data as a String and not a Map
toString() String
A string representation of this object.
inherited
toYaml() String
Produces a Yaml formatted String version of the object

Operators

operator ==(Object other) bool
The equality operator.
inherited