Class RescheduleAppointmentPage

java.lang.Object
Common.UserInterface
UI.AppointmentPages.RescheduleAppointmentPage

public class RescheduleAppointmentPage extends UserInterface
The RescheduleAppointmentPage class provides functionality for rescheduling appointments for a patient. It extends UserInterface and interacts with the PatientAM manager to manage appointment details.
  • Constructor Details

    • RescheduleAppointmentPage

      public RescheduleAppointmentPage(PatientAM patientAM, Account patient)
      Constructs a RescheduleAppointmentPage with the specified PatientAM and Account instances.
      Parameters:
      patientAM - the manager used to access and manage patient's appointments
      patient - the account of the patient whose appointments are being rescheduled
  • Method Details

    • displayOptions

      public void displayOptions()
      Displays the patient's scheduled appointments and allows the user to select an appointment to reschedule. It retrieves available slots for the selected doctor.