AM-153: In API, expand getAppointmentsByConstraints to accept a patient as a parameter