Script to find patients on given date