feature/getAppointmens_filters
This MR adds
- the
getAppointments
method to theAppointmentService
class in theappointment-services.ts
file. The method allows fetching appointments with query parameters such as patient name, patient ID, appointment date, hospital, and appointment status. - the association between the
Appointment
model and thePatient
model in theAppointment.ts
file. TheAppointment
model now belongs to thePatient
model using the foreign keypatient_id
.