ScheduledVisit

public struct ScheduledVisit : Equatable, Codable

Contains details about an upcoming scheduled visit

  • id

    A unique identifier representing this visit

    Declaration

    Swift

    public let id: String
  • The type of visit: Retail, Virtual or At Home

    Declaration

    Swift

    public let type: ScheduledVisitType
  • An enum representing the current status of the visit

    Declaration

    Swift

    public let status: ScheduledVisitStatus
  • The patient’s address

    Declaration

    Swift

    public let address: Address
  • An AppointmentDetails object containing additional details about the appointment

    Declaration

    Swift

    public let appointmentDetails: AppointmentDetails
  • The ID of the department where the visit is scheduled

    Declaration

    Swift

    public let departmentId: String
  • The ehrSystem in which the visit is scheduled

    Declaration

    Swift

    public let ehrSystemName: String
  • A flag to indicate if a new patient record was created or not for a visit

    Declaration

    Swift

    public let isNewPatient: Bool
  • A flag to indicate whether a PRR or a provider indicates that the visit is ready to happen

    Declaration

    Swift

    public let isReadyForVisit: Bool
  • The patient’s contact email

    Declaration

    Swift

    public let patientEmail: String?
  • The unique identifier representing a DexCare Patient

    Declaration

    Swift

    public let patientGuid: String
  • The patient’s contact phone number

    Declaration

    Swift

    public let patientPhone: String?
  • A Timestamps object containing specific dateTimes indicating when the visit was updated

    Declaration

    Swift

    public let timestamps: Timestamps
  • A RetailDepartment containing information about the department where the visit was scheduled. Present only for Retail visit type, nil otherwise.

    Declaration

    Swift

    public var retailDepartment: RetailDepartment?
  • Additional details about the appointment

    See more

    Declaration

    Swift

    public struct AppointmentDetails : Equatable, Codable
  • An struct representing various times at which a ScheduledVisit was updated

    See more

    Declaration

    Swift

    public struct Timestamps : Equatable, Codable