synchronously get all patients