Schedule class

A schedule of appointments.

Inheritance
Available extensions

Constructors

Schedule({String? id, Meta? meta, FixedList<Identifier>? identifier, bool? active, FixedList<CodeableConcept>? serviceCategory, FixedList<CodeableConcept>? serviceType, FixedList<CodeableConcept>? specialty, FixedList<Reference>? actor, Period? planningHorizon, String? comment})
Constructs a new Schedule.
Schedule.fromJson(JsonObject json)
Creates a Schedule instance from the provided JSON object.

Properties

active → bool?
Whether this schedule is currently active or not.
no setter
actor → FixedList<Reference>?
The actors that are available to perform services in this schedule.
no setter
comment → String?
Comments on the schedule to describe any extended information. Such as custom constraints on the schedule.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String?
The id of the resource
no setterinherited
identifier → FixedList<Identifier>?
External Ids for this item.
no setter
json → JsonObject
finalinherited
meta → Meta?
The metadata of the resource
no setterinherited
planningHorizon → Period?
The period of time that the schedule refers to.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceCategory → FixedList<CodeableConcept>?
A broad categorization of the service that is to be performed during this schedule.
no setter
serviceType → FixedList<CodeableConcept>?
The type of appointments that can be booked into this schedule (ideally this would be an identifiable service - which is at a location, rather than the location itself).
no setter
specialty → FixedList<CodeableConcept>?
The specialty of a practitioner that would be required to perform the services requested in this schedule.
no setter

Methods

copyWith({String? id, Meta? meta, FixedList<Identifier>? identifier, bool? active, FixedList<CodeableConcept>? serviceCategory, FixedList<CodeableConcept>? serviceType, FixedList<CodeableConcept>? specialty, FixedList<Reference>? actor, Period? planningHorizon, String? comment}) → Schedule
Creates a copy of the Schedule instance and allows for non-destructive mutation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
validate(List<FieldDefinition> fieldDefinitions) → ValidationResult

Available on Resource, provided by the ResourceValidationExtensions extension

Validates the resource based on the provided fieldDefinitions.
withFieldResource<T2 extends Resource>(FieldDefinition<T2> field, T2 resource, {required T constructor(JsonObject)}) → T

Available on T, provided by the ResourceExtensions extension

Creates a clone of the resource with the provided field updated with another resource
withFieldValue(FieldDefinition field, JsonValue value, {required T constructor(JsonObject)}) → T

Available on T, provided by the ResourceExtensions extension

Creates a clone of the resource with the provided field updated with another resource
withNullField<T2>(FieldDefinition<T2> field, {required T constructor(JsonObject)}) → UpdateResult<T>

Available on T, provided by the ResourceExtensions extension

withUndefinedField<T2>(FieldDefinition<T2> field, {required T constructor(JsonObject)}) → UpdateResult<T>

Available on T, provided by the ResourceExtensions extension

Operators

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

Constants

activeField → const FieldDefinition<bool>
Field definition for active.
actorField → const FieldDefinition<FixedList<Reference>>
Field definition for actor.
commentField → const FieldDefinition<String>
Field definition for comment.
fieldDefinitions → const List<FieldDefinition<Object>>
All field definitions for Schedule.
identifierField → const FieldDefinition<FixedList<Identifier>>
Field definition for identifier.
planningHorizonField → const FieldDefinition<Period>
Field definition for planningHorizon.
serviceCategoryField → const FieldDefinition<FixedList<CodeableConcept>>
Field definition for serviceCategory.
serviceTypeField → const FieldDefinition<FixedList<CodeableConcept>>
Field definition for serviceType.
specialtyField → const FieldDefinition<FixedList<CodeableConcept>>
Field definition for specialty.