Physical comorbidities increase the risk of psychiatric comorbidity in immune-mediated inflammatory disease.