ScheduleRetailAppointmentFailedReason
public enum ScheduleRetailAppointmentFailedReason : Error, FailedReasonType
Based on visit-service controller source code here: https://github.com/providenceinnovation/visit-service/blob/517f56d0aae74f7edf14db40a1d2007da1999a0a/app/src/controllers/retailvisitcontroller.ts#L323
Server-side unit tests: https://github.com/providenceinnovation/visit-service/blob/517f56d0aae74f7edf14db40a1d2007da1999a0a/app/test/unit/controllers/retailvisitcontroller.test.ts#L1726
-
Patient has no demographics associated.
Declaration
Swift
case patientNotLinked
-
Item is not found
Declaration
Swift
case patientNotFound
-
Patient Account is locked. Please call customer service.
Declaration
Swift
case patientAccountLocked
-
Time slot booked to has been taken. Please try another time slot
Declaration
Swift
case conflictSlotUnavailable
-
Patient already has a time slot booked already
Declaration
Swift
case conflictPatientDoubleBooked
-
An error happened when booking an appointment. Please try a new time slot
Declaration
Swift
case unknownAppointmentConflict
-
An error happen on the server. If this continues, please notify us.
Declaration
Swift
case internalServerError
-
Validation of information failed. Please see message returned for more info
Declaration
Swift
case missingInformation(message: String)
-
A generic failure if we don’t handle any specific schedule errors
Declaration
Swift
case failed(reason: FailedReason)
-
Undocumented
Declaration
Swift
public func failedReason() -> FailedReason?