Predictive factors of the duration of sick leave due to mental disorders