TimeSlot
public struct TimeSlot : Equatable, Codable
Represents an available time for an appointment.
-
An unique identifier for this time slot
Declaration
Swift
public let slotId: String
-
This time slot’s Provider’s national id
Declaration
Swift
public let providerNationalId: String
-
A unique identifier representing the Provider for this time slot
Declaration
Swift
public let providerId: String
-
An identifier representing the Department for this time slot. Guaranteed to be unique in an ehr system, but not guaranteed to be unique across multiple ehr systems
Declaration
Swift
public let departmentId: String
-
A string in the format {department’s ehrSystemName}|{departmentId}
Declaration
Swift
public let departmentIdentifier: String
-
What kind of appointment this time slot is for
Declaration
Swift
public let slotType: String
-
A unique identifier representing the visit type
Declaration
Swift
public let visitTypeId: String
-
How long the appointment is, in minutes
Declaration
Swift
public let durationInMin: Int
-
The starting time and day of the appointment.
Important
Timezone will be local to the appointment.Declaration
Swift
public let slotDateTime: Date
-
init(slotId:
providerNationalId: providerId: departmentId: departmentIdentifier: slotType: visitTypeId: durationInMin: slotDateTime: ) Undocumented
Declaration
Swift
public init( slotId: String, providerNationalId: String, providerId: String, departmentId: String, departmentIdentifier: String, slotType: String, visitTypeId: String, durationInMin: Int, slotDateTime: Date )
-
Declaration
Swift
public init(from decoder: Decoder) throws