Footnotes:
The following classification of disorders were used: Mental and behavioral disorders due to alcohol use (ICD-10: F10, ICD-8: 291.x9, 303.x9, 303.20, 303.28, 303.90), Mental and behavioral disorders due to cannabis use (ICD-10: F12, ICD-8: 304.59), Schizophrenia (ICD-10: F20, ICD-8: 295.x9 (excluding 295.79)), Schizoaffective disorder (ICD-10: F25, ICD-8: 295.79, 296.89), Bipolar disorders (ICD-10: F30-F31, ICD-8: 296.19, 296.39, 298.19), Single and recurrent depressive disorder (ICD-10: F32-F33, ICD-8: 296.09, 296.29, 298.09, 300.49), Recurrent depressive disorder (ICD-10: F33, ICD-8: 296.09, 296.29, 298.09, 300.49b), Obsessive compulsive disorder (ICD-10: F42, ICD-8: 300.39), Borderline personality type (ICD-10: F60.31, ICD-8: 301.84)
For recurrent depression, onset was defined as the second admission that occurred at least 8 weeks after the last discharge with these ICD-8 codes.
All analyses are adjusted for sex, calendar year, birth weight, gestational age at delivery, Apgar score (5 minutes), maternal education, paternal income, parental age at birth, and parental psychiatric disease.