Uses of Class
Model.Appointment
-
Uses of Appointment in DataHandling
-
Uses of Appointment in Singletons
Modifier and TypeMethodDescriptionAppointmentFilter.filter
(List<Appointment> appointments) Filters the given list of appointments based on the filter criteria.AppointmentManager.getAppointments()
Get a list of appointments for a given doctorAppointmentManager.getAppointmentsByDoctorId
(String doctorId) AppointmentManager.getAppointmentsByDoctorId
(String id, Appointment.Status status) Get a list of appointments for a given doctorAppointmentManager.getAppointmentsByPatientId
(String patientId) Get a list of appointments for a given patientAppointmentManager.getAppointmentsByStatus
(Appointment.Status status) Get a list of appointments with a given statusAppointmentManager.getAppointmentsWithFilter
(AppointmentFilter filter) Get a list of appointments with a given filter Other filter methods use this as a baseModifier and TypeMethodDescriptionvoid
AppointmentManager.acceptAppointment
(Appointment appointment, String doctorId) Accept an appointment request Sets the status of the appointment to ACCEPTED and assigns the doctor to the appointmentvoid
AppointmentManager.add
(Appointment appointment) Add an appointment to the list of appointmentsvoid
AppointmentManager.declineAppointment
(Appointment appointment) void
AppointmentManager.recordAppointmentOutcome
(String doctorId, Appointment appointment, AppointmentOutcomeRecord outcome, Prescription prescription) record the outcome of an appointmentvoid
AppointmentManager.remove
(Appointment appointment) Remove an appointment from the list of appointmentsModifier and TypeMethodDescriptionAppointmentFilter.filter
(List<Appointment> appointments) Filters the given list of appointments based on the filter criteria.void
AppointmentManager.setAppointments
(List<Appointment> appointments) Set the list of appointments Only meant for loading data from file