Uses of Class
Model.Appointment
Packages that use Appointment
-
Uses of Appointment in DataHandling
Methods in DataHandling that return AppointmentMethods in DataHandling with parameters of type Appointment -
Uses of Appointment in Singletons
Methods in Singletons that return types with arguments of type AppointmentModifier 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 baseMethods in Singletons with parameters of type AppointmentModifier 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) Sets the status of the appointment to CANCELLEDvoid
AppointmentManager.recordAppointmentOutcome
(String doctorId, Appointment appointment, AppointmentOutcomeRecord outcome, Prescription prescription) record the outcome of an appointment and change status to completedvoid
AppointmentManager.remove
(Appointment appointment) Remove an appointment from the list of appointmentsMethod parameters in Singletons with type arguments of type AppointmentModifier 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