STUDY OBJECTIVE: To determine whether @entity308 or @entity148 co-occurs with @entity31 ( @entity31 ) or @entity30 ( @entity30 ) more often than expected by chance, and, if so, whether the @entity146 generally precede or follow the @entity29 ( @entity29 ). DESIGN: Nested case-control studies using a database of linked hospital record abstracts. SETTING: Southern England. MAIN RESULTS: Both @entity308 and @entity148 preceded @entity31 significantly more often than would be predicted from the control population's experience. The associations were strongest when the mental conditions were diagnosed shortly before @entity31 , although the association between @entity308 and @entity31 was also significant when @entity308 preceded @entity31 by five or more years. Neither @entity308 nor @entity148 occurred before @entity30 more often than expected by chance. However, @entity308 and @entity148 were significantly more common after @entity30 ; the associations were strongest in the year after the initial record of @entity30 . @entity31 was followed by @entity148 , but not by @entity308 , more often than expected by chance and, again, the association was strongest within one year of diagnosis with @entity31 . CONCLUSIONS: The concentration of risk of @entity308 or @entity148 one year or less before diagnosis with @entity31 suggests that the two @entity146 might be a consequence of early symptoms of the as yet undiagnosed @entity344 . The data are also, however, compatible with the hypothesis that the @entity146 could be aetiological factors in some @entity1 with @entity31 . Most of the excess @entity148 or @entity308 diagnosed subsequent to diagnosis of @entity29 occurs during the year after @entity29 is diagnosed and the probable explanation is that the @entity146 are sequelae of @entity29 .

@entity308 and XXXX in @entity1 with @entity29 .

@entity1 :: ('9606', 'Species') :: ['patients'] @entity308 :: ('MESH:D003866', 'Disease') :: ['depression'] @entity146 :: ('MESH:D001523', 'Disease') :: ['mental disorders', 'psychiatric disorders'] @entity31 :: ('MESH:D003093', 'Disease') :: ['ulcerative colitis', 'UC'] @entity344 :: ('MESH:D005767', 'Disease') :: ['gastrointestinal condition'] @entity29 :: ('MESH:D015212', 'Disease') :: ['inflammatory bowel diseases', 'IBD'] @entity148 :: ('MESH:D001008', 'Disease') :: ['anxiety'] @entity30 :: ('MESH:D003424', 'Disease') :: ['CD', "Crohn's disease"]
@entity148 :: (MESH:D001008,Disease) :: ['anxiety']
