New function: fetchAllAppointments. Easier to use and understand
fetchAppointments.