completed searchPatients api call