ScheduledVisit
public struct ScheduledVisit : Equatable, Codable
Contains details about an upcoming scheduled visit
-
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
AppointmentDetailsobject containing additional details about the appointmentDeclaration
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
Timestampsobject containing specific dateTimes indicating when the visit was updatedDeclaration
Swift
public let timestamps: Timestamps -
init(id:type: status: address: appointmentDetails: departmentId: ehrSystemName: isNewPatient: isReadyForVisit: patientEmail: patientGuid: patientPhone: timestamps: clinic: ) Undocumented
Declaration
Swift
public init( id: String, type: ScheduledVisitType, status: ScheduledVisitStatus, address: Address, appointmentDetails: AppointmentDetails, departmentId: String, ehrSystemName: String, isNewPatient: Bool, isReadyForVisit: Bool, patientEmail: String?, patientGuid: String, patientPhone: String?, timestamps: Timestamps, clinic: Clinic? ) -
Additional details about the appointment
See moreDeclaration
Swift
public struct AppointmentDetails : Equatable, Codable -
An struct representing various times at wchich a
See moreScheduledVisitwas updatedDeclaration
Swift
public struct Timestamps : Equatable, Codable
View on GitHub
Install in Dash
ScheduledVisit Structure Reference