Leveraging electronic health records for subtype-dependent directionality in depression and gastrointestinal disease: a retrospective cohort study

BACKGROUND: Depression and gastrointestinal (GI) disease frequently co-occur, yet the temporal directionality of this relationship, and whether it varies by GI subtype, remains poorly characterized in diverse populations. We aimed to determine whether depression or GI disease occurs first, and whether this directionality differs across irritable bowel syndrome (IBS), Crohn's disease, and ulcerative colitis (UC). METHODS: Using the University of California Health Data Warehouse and the NIH All of Us Research Program database, we compared temporal order of first diagnoses using a six month buffer. Cox models estimated bidirectional hazard ratios, stratified by GI subtype and replicated across six UC medical centers. RESULTS: Depression was diagnosed before IBS in 73.2% of cases (All of Us) and 65.2% (UCHDW), but GI disease was diagnosed first in most Crohn's disease cases (depression was diagnosed first in 46.8% of All of Us cases and 35.1% of UCHDW cases), with UC intermediate. IBS had the highest depression first percentage at five of six centers. Overall, 69.5% of comorbid patients were diagnosed with depression before GI disease (adjusted HR 1.66, 95% CI 1.62-1.71 vs 1.13, 1.09-1.17 for the reverse). CONCLUSIONS: Depression was more often diagnosed before GI disease than the reverse, with a subtype dependent gradient ranging from depression more often diagnosed first in IBS to GI disease more often diagnosed first in Crohn's disease. Antidepressant use was associated with a lower rate of subsequent GI disease. These findings, replicated across two databases, have implications for subtype specific screening and integrated care.

Authors

Institutions

Publication Details

Journal
Journal of Psychosomatic Research
Published
2026-09-11
DOI
https://doi.org/10.1016/j.jpsychores.2026.112994
Primary Topic
Mental Health Treatment and Access
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Leveraging electronic health records for subtype-dependent directionality in depression and gastrointestinal disease: a retrospective cohort study

Nahyun Mariah Kim, Gha-hyun J. Kim
Journal of Psychosomatic Research
Mental Health Treatment and Access
article

Leveraging electronic health records for subtype-dependent directionality in depression and gastrointestinal disease: a retrospective cohort study

Nahyun Mariah Kim, Gha-hyun J. Kim
article en

Abstract

BACKGROUND: Depression and gastrointestinal (GI) disease frequently co-occur, yet the temporal directionality of this relationship, and whether it varies by GI subtype, remains poorly characterized in diverse populations. We aimed to determine whether depression or GI disease occurs first, and whether this directionality differs across irritable bowel syndrome (IBS), Crohn's disease, and ulcerative colitis (UC). METHODS: Using the University of California Health Data Warehouse and the NIH All of Us Research Program database, we compared temporal order of first diagnoses using a six month buffer. Cox models estimated bidirectional hazard ratios, stratified by GI subtype and replicated across six UC medical centers. RESULTS: Depression was diagnosed before IBS in 73.2% of cases (All of Us) and 65.2% (UCHDW), but GI disease was diagnosed first in most Crohn's disease cases (depression was diagnosed first in 46.8% of All of Us cases and 35.1% of UCHDW cases), with UC intermediate. IBS had the highest depression first percentage at five of six centers. Overall, 69.5% of comorbid patients were diagnosed with depression before GI disease (adjusted HR 1.66, 95% CI 1.62-1.71 vs 1.13, 1.09-1.17 for the reverse). CONCLUSIONS: Depression was more often diagnosed before GI disease than the reverse, with a subtype dependent gradient ranging from depression more often diagnosed first in IBS to GI disease more often diagnosed first in Crohn's disease. Antidepressant use was associated with a lower rate of subsequent GI disease. These findings, replicated across two databases, have implications for subtype specific screening and integrated care.

Journal of Psychosomatic ResearchVol. 211
University of California, Irvine (US), Panorama Research (United States) (US)
National Institutes of Health
Openalex Percentile: Top 7%
Mental Health Treatment and Access
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Leveraging electronic health records for subtype-dependent directionality in depression and gastrointestinal disease: a retrospective cohort study — Nahyun Mariah Kim, Gha-hyun J. Kim · Journal of Psychosomatic Research (2026) | TGRS Research Map | TGRS