How to use automation in smart list | autoPatient