Example of time-dependent drug exposure definition. This figure illustrates drug exposure assigned for a participant who reported SSRI/SNRI use at baseline and at year 5 assessments and non-use at year 10. SSRI/SNRI use was classified as “current” from baseline to year 9 with the first approach, and from baseline to year 5 for the second approach. SSRI/SNRI was also coded as “recent” from baseline to year 7 and “former” from year 8 onwards, and, finally, it was approximated as a stepwise function in steps of 0.2, for the last drug exposure definition