“…Finally, we identified the mean number of GP visits per year, (0-2 visits per year, 2-11.9 visits per year, or ≥12 visits per year). We used 12 visits per year as an indicator for frequent GP consultations as has been done in previous work . For each potential confounder, we identified only those cases that occurred before the event date (ie, depression diagnosis or anxiety diagnosis) or the date of censoring.…”