added searchPatients to api calls