Timing class

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.

Constructors

Timing({FixedList<DateTime>? event, Repeat? repeat, CodeableConcept? code})
Creates a new Timing instance.
Timing.fromJson(JsonObject _json)
Creates a new Timing instance from a JsonObject.

Properties

code CodeableConcept?
A code for the timing schedule (or just text in code.text). The code is interpreted in the context of the ValueSet specified in the containing resource, and may be a specific code, or a more general category, such as "BID" (twice a day) or "Q4H" (every 4 hours).
no setter
event FixedList<DateTime>?
Identifies specific times when the event occurs.
no setter
hashCode int
The hash code for this object.
no setteroverride
json → JsonObject
Converts this Timing instance to a JSON object.
no setter
repeat Repeat?
A set of rules that describe when the event is scheduled.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({FixedList<DateTime>? event, Repeat? repeat, CodeableConcept? code}) Timing
Creates a deep copy of this Timing.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

codeField → const FieldDefinition<CodeableConcept>
Field definition for code
eventField → const FieldDefinition<FixedList<DateTime>>
Field definition for event
fieldDefinitions → const List<FieldDefinition<Object>>
All field definitions for Timing
repeatField → const FieldDefinition<Repeat>
Field definition for repeat