How to use trigger link clicked | autoPatient