BPG is committed to discovery and dissemination of knowledge
Observational Study Open Access
Copyright: ©Author(s) 2026. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution-NonCommercial (CC BY-NC 4.0) license. No commercial re-use. See permissions. Published by Baishideng Publishing Group Inc.
World J Psychiatry. Dec 19, 2026; 16(12): 125303
Published online Dec 19, 2026. doi: 10.5498/wjp.125303
Sleep quality and anxiety burden in functional dyspepsia: A cross-sectional study in a general hospital
Peng-Fei Wang, Li-Xiang Xing, Huan Zhang, Department of Gastroenterology, Shuyang First People’s Hospital, Suqian 223600, Jiangsu Province, China
ORCID number: Peng-Fei Wang (0009-0008-3029-1693); Li-Xiang Xing (0009-0007-4450-869X); Huan Zhang (0009-0001-6486-5439).
Author contributions: Wang PF contributed to conceptualization, investigation, and drafting; Xing LX contributed to conceptualization, formal analysis, supervision, and critical revision; Zhang H contributed to investigation and data curation. All authors approved the final manuscript.
AI contribution statement: Artificial intelligence-assisted tools, including ChatGPT, were used during manuscript preparation for language editing, readability improvement, formatting suggestions, and assistance with drafting submission-related text. The tools were not used for patient selection, data extraction, statistical analysis, generation of study results, or clinical interpretation. All AI-assisted outputs were critically reviewed, edited, and verified by the authors. The authors take full responsibility for the accuracy, integrity, originality, and final content of the manuscript.
Institutional review board statement: The study was approved by the Medical Ethics Management Committee of Shuyang First People’s Hospital (Approval No. 202606; approval date: June 1, 2026).
Informed consent statement: The ethics committee explicitly waived written informed consent.
Conflict-of-interest statement: The authors declare no conflicts of interest.
STROBE statement: The authors have read the STROBE Statement, and this manuscript was prepared and revised in accordance with the STROBE reporting guidelines for cross-sectional studies.
Data sharing statement: De-identified data may be available from the corresponding author upon reasonable request, subject to institutional and ethical approval.
Corresponding author: Peng-Fei Wang, Consultant, Department of Gastroenterology, Shuyang First People’s Hospital, No. 1 Zhihui Road, Nanhu Subdistrict, Suqian 223600, Jiangsu Province, China. 84548152@qq.com
Received: July 6, 2026
Revised: August 31, 2026
Accepted: September 22, 2026
Published online: December 19, 2026
Processing time: 145 Days and 14.7 Hours

Abstract
BACKGROUND

Psychological symptoms and sleep disturbance are common in functional dyspepsia (FD), but evidence from general hospital outpatient settings is limited.

AIM

To evaluate anxiety burden and its clinical correlates, along with sleep quality and gastrointestinal quality of life, in FD.

METHODS

This single-center retrospective cross-sectional observational study included 186 adults who met Rome IV criteria for FD and were evaluated in an outpatient clinic. The primary outcome was Hamilton Anxiety Rating Scale (HAMA)-defined anxiety symptom status. Anxiety symptoms, depressive symptoms, sleep quality, and gastrointestinal quality of life were assessed using the HAMA, the 17-item Hamilton Depression Rating Scale (HAMD-17), the Pittsburgh Sleep Quality Index (PSQI), and the Gastrointestinal Quality of Life Index (GIQLI). A clinically informed multivariable logistic model and prespecified sensitivity analyses were used to evaluate cross-sectional associations. Scale data had been collected prospectively during clinical visits under a standardized departmental assessment protocol and were retrospectively abstracted for this study; the scales were not administered retrospectively.

RESULTS

HAMA-defined anxiety symptoms and HAMD-17-defined depressive symptoms were present in 79 patients (42.5%) and 66 patients (35.5%), respectively. Female sex [odds ratio (OR) = 2.79, 95% confidence interval (CI): 1.32-5.91; P = 0.007], disease duration ≥ 2 years (OR = 3.00, 95%CI: 1.44-6.24; P = 0.003), symptom severity (OR = 1.45 per point, 95%CI: 1.22-1.72; P < 0.001), and poor sleep quality (OR = 2.81, 95%CI: 1.36-5.81; P = 0.005) were associated with HAMA-defined anxiety symptom status. The adjusted GIQLI difference was -21.89 points (95%CI: -26.52 to -17.27; P < 0.001). Findings were consistent across sensitivity models using continuous specifications of disease duration and PSQI.

CONCLUSION

In this cross-sectional sample, HAMA-defined anxiety symptoms were common and co-occurred with poor sleep quality and greater symptom burden. These associations should not be interpreted as independent or causal. Interpretation is limited by the single-center, retrospective cross-sectional, complete-case design, possible selection bias, and potential item-content overlap between HAMA sleep, somatic, or autonomic items and PSQI or FD symptoms; HAMA item-level data were unavailable.

Key Words: Functional dyspepsia; Anxiety; Depression; Sleep quality; Quality of life; Disorders of gut-brain interaction; Cross-sectional study

Core Tip: In 186 adults with functional dyspepsia (FD), Hamilton Anxiety Rating Scale-defined anxiety symptoms were common and were associated with female sex, longer disease duration, greater symptom severity, and poor sleep quality. Anxiety symptom status was also associated with lower Gastrointestinal Quality of Life Index scores. The pattern was broadly consistent across sensitivity analyses, including the analysis excluding concomitant irritable bowel syndrome. These findings support integrated assessment of sleep, psychological symptoms, and gastrointestinal burden in FD.



INTRODUCTION

Functional dyspepsia (FD) is a common disorder of gut-brain interaction characterized by postprandial fullness, early satiation, epigastric pain, or epigastric burning in the absence of explanatory structural disease[1,2]. Rome IV recognizes postprandial distress syndrome (PDS), epigastric pain syndrome (EPS), and overlapping symptom patterns[1]. FD is prevalent worldwide and substantially impairs daily functioning and quality of life[3,4].

FD has a heterogeneous pathophysiology involving gastrointestinal, neuroimmune, and gut-brain mechanisms[5-10].

Anxiety symptoms, depressive symptoms, and sleep disturbance frequently accompany FD, although estimates vary by setting, measurement instrument, and case definition[11,12]. Most detailed phenotyping studies have been conducted in tertiary or specialist centers, leaving less evidence from general hospitals, where FD is commonly managed. In this setting, readily available clinical indicators could help identify patients with greater psychological and functional burden.

This study examined scale-defined anxiety and depressive symptoms, sleep quality, gastrointestinal quality of life, and factors associated with Hamilton Anxiety Rating Scale (HAMA)-defined anxiety symptom status among adults with FD treated at a general hospital. We also tested the robustness of the findings after excluding concomitant irritable bowel syndrome (IBS) and conducted an exploratory cross-sectional statistical decomposition of the associations among sleep, anxiety symptoms, and quality of life.

MATERIALS AND METHODS
Study design and setting

This single-center retrospective cross-sectional observational study reviewed the records of consecutive gastroenterology outpatients at Shuyang First People’s Hospital from January 2023 to June 2026. All potentially eligible gastroenterology outpatient records during the study period were screened sequentially, and no sampling was performed among eligible records. The Medical Ethics Management Committee of Shuyang First People’s Hospital (Approval No. 202606; approval date: June 1, 2026) approved the study and explicitly waived written informed consent. Reporting followed the STROBE statement[13].

Participants

Adults aged 18-70 years were eligible if they met Rome IV criteria for FD and had the clinical information required for the planned analyses[1]. Exclusion criteria were organic gastrointestinal disease, severe disease affecting major organs, a documented psychiatric history or current antipsychotic or antidepressant use, pregnancy or lactation, use of gastrointestinal motility agents or psychotropic medications within four weeks before assessment, and incomplete rating scale data. Among 236 patients assessed, 50 were excluded, leaving 186 in the final analytic cohort. For Figure 1, the primary reasons for exclusion were missing all four study rating scale assessments (n = 25), documented psychiatric history (n = 12), and use of gastrointestinal motility agents within 4 weeks of the assessment (n = 13). Individual patients could meet more than one exclusion criterion; in the flow diagram, each excluded patient was assigned a single primary reason. Basic clinical information remained available for the 25 patients missing all four rating scale assessments, allowing comparison with the 186 included patients.

Figure 1
Figure 1 Flow diagram of participant inclusion. Exclusion categories represent the primary reason assigned for each patient in the study flow diagram; individual patients may meet more than one exclusion criterion.
Clinical variables and diagnostic classification

Demographic characteristics, body mass index, lifestyle factors, disease duration, medical history, Helicobacter pylori(H. pylori) status, and concomitant IBS were extracted from electronic records. FD and its subtypes had been diagnosed by attending gastroenterologists according to the Rome IV criteria during the original clinical assessment[1], based on the contemporaneous clinical interview and medical records. Because this was a retrospective analysis, the analytic dataset retained the final FD subtype classification and individual symptom indicators but did not preserve all criterion-level symptom-frequency and onset variables as separate structured fields. Concomitant IBS had likewise been identified according to the Rome IV criteria during the original clinical assessment; the analytic dataset retained the final IBS classification as a binary variable. At least two attending gastroenterologists independently verified FD and IBS classifications. Each of the four cardinal symptoms was scored from 0 to 3, yielding a total symptom severity score of 0-12. Disease duration was dichotomized at 2 years for clinical interpretability and based on the approximate distribution of the cohort. All patients underwent upper gastrointestinal endoscopy with biopsy. H. pylori status was assessed using a 13C- or 14C-urea breath test.

Psychological, sleep, and quality-of-life assessments

The four scale assessments were collected prospectively during the same clinical visit under a standardized departmental assessment protocol, after the FD diagnosis had been established and upper gastrointestinal endoscopy had been completed. The present study retrospectively abstracted and analyzed these previously collected data; the scales were not administered retrospectively for research purposes. Trained gastroenterologists conducted face-to-face clinician-rated assessments using the Chinese-language 14-item HAMA and the Chinese-language 17-item Hamilton Depression Rating Scale (HAMD-17). The assessment battery also included the Chinese Pittsburgh Sleep Quality Index (PSQI) and Chinese-language Gastrointestinal Quality of Life Index (GIQLI). Physicians administered the PSQI and GIQLI in an interview format, based on patients’ reported responses. The assessment instruments, the versions used, their scoring, and the supporting sources are summarized in Supplementary Table 1.

The original instruments were described by Hamilton[14] and Hamilton[15], Buysse et al[16], and Eypasch et al[17]. Reliability, validity, and sensitivity-to-change evidence for HAMA was reported by Maier et al[18]; evidence for the Chinese HAMD-17 was reported by Zheng et al[19]; evidence for a Chinese version of the PSQI in people living with HIV was reported by Yan et al[20], with additional psychometric evidence from Tsai et al[21]; and translation and validation evidence for the Chinese GIQLI was reported by Yeung et al[22] and Lien et al[23]. The prespecified thresholds of HAMA ≥ 14, HAMD-17 ≥ 8, and PSQI > 7 were used as study-specific operational definitions of scale-defined symptom burden rather than as diagnostic cutoffs for psychiatric disorders. The instrument descriptions and supporting psychometric sources cited above were not considered FD-specific diagnostic validations of these cutoffs.

Data quality

Three gastroenterologists administered the study scales. The department head organized a 1-hour training session using Chinese-language scoring materials and discussed the scoring criteria. One gastroenterologist rated each patient, and ratings that were difficult to interpret were reviewed by a senior physician. Formal interrater reliability statistics, such as the intraclass correlation coefficient (ICC) or kappa, could not be estimated because independent duplicate ratings were not performed. At least two attending gastroenterologists verified diagnostic classifications. Data were entered independently by two reviewers and checked for logical or out-of-range values. Variable-level missingness was audited among the 186 included participants. There were no missing data for any variables used in the primary, secondary, sensitivity, or exploratory analyses; therefore, no post-inclusion case-wise exclusions or imputations were required. The 25 patients excluded because all four rating scales were missing represented pre-analysis exclusions and were distinct from missingness within the analytic cohort. Variable-specific missing-data counts for the 186 included participants are provided.

Statistical analysis

No formal a priori sample size calculation was performed because this retrospective study included all consecutive eligible patients during the study period. The primary logistic model included 79 outcome events (patients with HAMA-defined anxiety symptoms). The primary model estimated eight predictor coefficients, in addition to the intercept, from 79 outcome events. The lack of a prespecified sample size or precision target, together with the number of outcome events available, limited model complexity.

Continuous variables are reported as mean ± SD or median and interquartile range (IQR). Categorical variables are reported as n (%). Groups were compared using Welch’s t-test, one-way analysis of variance, Pearson’s χ2 test, or Fisher’s exact test, as appropriate. Spearman correlation coefficients were used to describe associations between symptom severity and psychological scores. Using conventional group comparisons and standardized mean differences, the 186 included patients were compared with the 25 excluded patients, who had all four rating scales missing; standardized mean differences were used to assess the magnitude of potential imbalance. Prespecified pairwise subtype comparisons used Bonferroni-adjusted P values. Except for prespecified pairwise comparisons with Bonferroni adjustment, no formal multiplicity adjustment was applied to secondary and exploratory analyses; these findings were interpreted cautiously.

The primary outcome was HAMA-defined anxiety symptom status. Covariates for the primary multivariable logistic association model were selected using a clinically informed approach based on clinical relevance, prior evidence, and potential confounding rather than univariable P values. Female sex, age (per year), disease duration ≥ 2 years, symptom severity (per point), poor sleep quality, concomitant IBS, and FD subtype were entered simultaneously. EPS was the reference category for FD subtype, with PDS and the overlapping subtype represented by indicator terms. Results are reported as odds ratios (ORs) with 95% confidence interval (CI). Model indices were used only to describe discrimination and calibration within this sample, not to develop a clinical prediction model.

Internal validation used 1000 non-parametric bootstrap samples. We estimated the apparent area under the curve (AUC), optimism-corrected AUC, and optimism-corrected calibration slope. Calibration was also summarized using the Hosmer-Lemeshow test and Brier score. Collinearity was assessed using variance inflation factors. No external validation cohort was available.

The primary GIQLI model compared scores by HAMA-defined anxiety symptom status while adjusting for age, sex, disease duration ≥ 2 years, and symptom severity. A sensitivity model additionally adjusted for HAMD-17 score. Logistic sensitivity analyses examined whether the primary associations were sensitive to dichotomization by modeling disease duration and PSQI continuously per year and per point, respectively, and by modeling both disease duration and PSQI continuously. An exploratory cross-sectional statistical decomposition partitioned the PSQI-GIQLI association into direct and indirect components involving the HAMA score, while adjusting for age, sex, continuous disease duration, and FD subtype[24]. Standardized coefficients and 5000 bootstrap resamples were used; because the analysis was cross-sectional, it did not establish temporal ordering or directionality. Two-sided P < 0.05 indicated statistical significance. Analyses were performed using Python with pandas, SciPy, statsmodels, and scikit-learn. All reported primary, secondary, sensitivity, exploratory, and diagnostic estimates were generated from the same de-identified analytic dataset of 186 included participants. The analytic dataset, analysis scripts, and model-output records used to generate the reported estimates were retained for editorial verification, subject to institutional and ethical requirements. Diagnostics assessed linearity in the logit for continuous predictors in the primary logistic model and in the continuous disease-duration and PSQI sensitivity models. Residual distribution, heteroscedasticity, linearity, and influential observations were assessed for both GIQLI linear models; details are provided.

An additional sensitivity analysis excluded the 34 patients with concomitant IBS and refitted the primary model without the IBS term. Further methodological details regarding scale administration, rater training, missing-data and selection-bias assessment, sensitivity-analysis definitions, and regression diagnostics are provided in Supplementary material.

RESULTS
Participant characteristics

Among 236 patients assessed, 50 were excluded, leaving 186 in the final analytic cohort (Figure 1). The primary reasons for exclusion were missing all four study rating scale assessments (n = 25), documented psychiatric history (n = 12), and use of gastrointestinal motility agents within 4 weeks of the assessment (n = 13). Individual patients could meet more than one exclusion criterion. However, each excluded patient was assigned a single primary reason in the flow diagram. The mean age in the analytic sample was 43.8 ± 11.6 years, and 108 patients (58.1%) were female. The median disease duration was 1.8 years (IQR: 1.1-4.3). PDS was present in 98 patients (52.7%), EPS in 58 (31.2%), and overlapping features in 30 (16.1%) (Table 1). Symptom characteristics according to functional dyspepsia subtype are summarized in Supplementary Table 2. A comparison of the 186 included patients and the 25 patients missing all four scales found no statistically significant differences using conventional tests; however, standardized mean differences suggested potential imbalances in age, sex, and some FD subtype categories. Selection bias therefore could not be excluded (Supplementary Table 3). Within the 186-person analytic cohort, all variables used in the primary, secondary, sensitivity, and exploratory analyses were complete, and no further case-wise exclusions or imputation were required.

Table 1 Baseline characteristics of patients with functional dyspepsia (n = 186), n (%).
Characteristic
Value
Age, years43.8 ± 11.6
Female sex108 (58.1)
BMI, kg/m223.4 ± 3.3
Disease duration, years1.8 (1.1-4.3)
FD subtype
    PDS98 (52.7)
    EPS58 (31.2)
    Overlapping30 (16.1)
Helicobacter pylori positive67 (36.0)
Smoking42 (22.6)
Alcohol consumption38 (20.4)
Married145 (78.0)
Education ≥ high school98 (52.7)
Psychological burden according to FD subtype

HAMA-defined anxiety symptoms were present in 79 patients (42.5%), HAMD-17-defined depressive symptoms in 66 patients (35.5%), and both symptom categories in 45 patients (24.2%). Overall frequencies differed by FD subtype for HAMA-defined anxiety symptoms (P = 0.014) and HAMD-17-defined depressive symptoms (P = 0.034). No pairwise comparison remained statistically significant after Bonferroni adjustment (Table 2).

Table 2 Scale-defined anxiety and depressive symptoms according to functional dyspepsia subtype, n (%).
FD subtype
n
HAMA-defined anxiety symptoms
HAMD-17-defined depressive symptoms
Both
PDS9846 (46.9)39 (39.8)27 (27.6)
EPS5816 (27.6)13 (22.4)8 (13.8)
Overlapping3017 (56.7)14 (46.7)10 (33.3)
Total18679 (42.5)66 (35.5)45 (24.2)
Overall P value0.0140.0340.068
Factors associated with HAMA-defined anxiety symptom status

Univariable comparisons are presented for descriptive purposes in Supplementary Table 4 and were not used to select covariates for the primary model. In the clinically informed multivariable model, female sex (OR = 2.79, 95%CI: 1.32-5.91; P = 0.007), disease duration ≥ 2 years (OR = 3.00, 95%CI: 1.44-6.24; P = 0.003), symptom severity (OR = 1.45 per point, 95%CI: 1.22-1.72; P < 0.001), and poor sleep quality (OR = 2.81, 95%CI: 1.36-5.81; P = 0.005) were associated with HAMA-defined anxiety symptom status. Age (OR = 1.01 per year, 95%CI: 0.98-1.04; P = 0.484), IBS (OR = 2.27, 95%CI: 0.88-5.87; P = 0.092), PDS vs EPS (OR = 1.63; P = 0.254), and overlapping subtype vs EPS (OR = 1.57; P = 0.451) were not statistically significant (Table 3 and Figure 2). Complete model estimates are provided in Supplementary Table 5.

Figure 2
Figure 2 Primary clinically informed multivariable logistic model for Hamilton Anxiety Rating Scale-defined anxiety symptom status. The model included female sex, age, disease duration ≥ 2 years, symptom severity, poor sleep quality, concomitant irritable bowel syndrome, and functional dyspepsia subtype. Epigastric pain syndrome was the reference category for subtype. Points represent odds ratios, and horizontal bars represent 95% confidence intervals; the x-axis is logarithmic. CI: Confidence interval; IBS: Irritable bowel syndrome; OR: Odds ratio; PDS: Postprandial distress syndrome; EPS: Epigastric pain syndrome.
Table 3 Primary clinically informed multivariable logistic model for Hamilton Anxiety Rating Scale-defined anxiety symptom status.
Variable
OR
95%CI
P value
Female sex2.791.32-5.910.007
Age (per year)1.010.98-1.040.484
Disease duration ≥ 2 years3.001.44-6.240.003
Symptom severity (per point)1.451.22-1.72< 0.001
Poor sleep quality2.811.36-5.810.005
Concomitant IBS2.270.88-5.870.092
PDS vs EPS1.630.70-3.780.254
Overlapping subtype vs EPS1.570.48-5.120.451

The apparent AUC was 0.829, and the Brier score was 0.168. The Hosmer-Leme show P value was approximately 0.314. Bootstrap internal validation yielded an optimism-corrected AUC of approximately 0.797 and an optimism-corrected calibration slope of approximately 0.826. Variance inflation factors ranged from approximately 1.02 to 1.56. These indices describe the fitted association model within this sample and do not establish external validity or clinical screening performance.

Sensitivity analyses using continuous specifications were consistent with the primary model. Disease duration modeled continuously (per year) was associated with HAMA-defined anxiety symptom status (OR = 1.19, 95%CI: 1.06-1.34; P = 0.003), as was PSQI modeled continuously (per point) (OR = 1.12, 95%CI: 1.05-1.20; P = 0.001). Female sex, symptom severity, and the corresponding sleep or duration terms remained associated in these models, including the model in which both variables were specified continuously (Table 4 and Supplementary Tables 6-8). Linearity diagnostics found no evidence of departure from linearity in the logit for continuous disease duration or continuous PSQI in the corresponding sensitivity models, including the model with both predictors entered continuously.

Table 4 Key estimates from logistic sensitivity analyses using continuous disease-duration and sleep-quality definitions.
Variable
OR
95%CI
P value
Continuous disease-duration model
Disease duration (per 1-year increase)1.191.06-1.340.003
Female sex2.691.27-5.690.010
Symptom severity (per point)1.521.27-1.82< 0.001
Poor sleep quality2.641.28-5.440.009
Continuous Pittsburgh Sleep Quality Index model
PSQI (per 1-point increase)1.121.05-1.200.001
Female sex2.851.34-6.060.007
Disease duration ≥ 2 years3.021.44-6.350.003
Symptom severity (per point)1.471.23-1.74< 0.001
Both disease duration and Pittsburgh Sleep Quality Index continuous
Female sex2.731.29-5.800.009
Disease duration (per 1-year increase)1.181.05-1.330.005
Symptom severity (per point)1.531.28-1.83< 0.001
PSQI (per 1-point increase)1.111.04-1.190.003
Symptom severity, psychological scores, and quality of life

Symptom severity showed a weak-to-moderate positive correlation with HAMA score (ρ = 0.339, P < 0.001). The correlation with HAMD-17 score was weaker and not statistically significant (ρ = 0.132, P = 0.072) (Figure 3).

Figure 3
Figure 3 Associations between symptom severity and psychological scores. A: Hamilton Anxiety Rating Scale score; B: Hamilton Depression Rating Scale-17 score. Reported coefficients are Spearman correlation coefficients. Trend lines and 95% confidence bands are shown for visualization only. Both panels include n = 186 participants. HAMD-17: 17-item Hamilton Depression Rating Scale; HAMA: Hamilton Anxiety Rating Scale.

The mean GIQLI score was 99.7 ± 17.2. Patients with HAMA-defined anxiety symptoms had lower unadjusted scores than those without these symptoms (87.7 ± 13.9 vs 108.5 ± 13.7; P < 0.001). In the primary adjusted model, HAMA-defined anxiety symptom status was associated with a 21.89-point lower GIQLI score (adjusted difference = -21.89; 95%CI: -26.52 to -17.27; P < 0.001). The other coefficients were age, β = -0.04 (95%CI: -0.21 to 0.13; P = 0.653); female sex, β = -0.75 (95%CI: -4.92 to 3.42; P = 0.723); disease duration ≥ 2 years, β = 3.48 (95%CI: -0.64 to 7.59; P = 0.097); and symptom severity, β = 0.25 (95%CI: -0.59 to 1.09; P = 0.562). The model R2 was 0.373. After additional adjustment for HAMD-17 score, the HAMA-status difference was -21.46 points (95%CI: -26.29 to -16.64; P < 0.001), whereas HAMD-17 score was not significantly associated with GIQLI (β = -0.08 per point, 95%CI: -0.32 to 0.16; P = 0.529); R2 was 0.375 (Table 5 and Figure 4; Supplementary Table 9). Diagnostic checks found no evidence of nonlinearity in the logit for age or symptom severity and no marked residual non-normality or linearity violation in either GIQLI model. The HAMD-17-adjusted sensitivity model showed evidence of heteroscedasticity, and influence screening identified several observations above conventional Cook’s distance or leverage screening thresholds; no observations were deleted and the models were not refitted.

Figure 4
Figure 4 Gastrointestinal Quality of Life Index scores according to Hamilton Anxiety Rating Scale-defined anxiety symptom status. Violin plots show the unadjusted distributions, boxes show medians and interquartile ranges, and points represent individual observations. The displayed distributions are unadjusted. In the adjusted model, Hamilton Anxiety Rating Scale-positive status was associated with a 21.89-point lower Gastrointestinal Quality of Life Index score (adjusted difference = -21.89, 95% confidence interval: -26.52 to -17.27; P < 0.001) after adjustment for age, sex, disease duration ≥ 2 years, and symptom severity. GIQLI: Gastrointestinal Quality of Life Index; HAMA: Hamilton Anxiety Rating Scale.
Table 5 Adjusted linear models for Gastrointestinal Quality of Life Index scores.
Variable
Adjusted difference or β
95%CI
P value
Primary adjusted model
HAMA-defined anxiety symptoms-21.89-26.52 to -17.27< 0.001
Age (per year)-0.04-0.21 to 0.130.653
Female sex-0.75-4.92 to 3.420.723
Disease duration ≥ 2 years3.48-0.64 to 7.590.097
Symptom severity (per point)0.25-0.59 to 1.090.562
Model R20.373--
HAMD-17-adjusted sensitivity model
HAMA-defined anxiety symptoms-21.46-26.29 to -16.64< 0.001
HAMD-17 (per point)-0.08-0.32 to 0.160.529
Model R20.375--
Sensitivity and exploratory analyses

The exploratory cross-sectional statistical decomposition partitioned the PSQI-GIQLI association into a direct component and an indirect statistical association involving HAMA. The standardized indirect association was -0.093 (bootstrap 95%CI: -0.171 to -0.028), representing 38.4% of the total statistical association (Supplementary Table 10). This analysis described the statistical interdependence among sleep, anxiety, and quality of life. However, it did not establish temporal ordering, directionality, or biological mechanisms.

After excluding 34 patients with concomitant IBS, 152 patients remained, including 57 with HAMA-defined anxiety symptoms. In the clinically informed model without the IBS term, female sex (OR = 3.40, 95%CI: 1.40-8.26; P = 0.007), disease duration ≥ 2 years (OR = 4.46, 95%CI: 1.85-10.76; P < 0.001), symptom severity (OR = 1.54 per point, 95%CI: 1.25-1.90; P < 0.001), and poor sleep quality (OR = 3.47, 95%CI: 1.50-8.02; P = 0.004) remained associated with HAMA-defined anxiety symptom status (Supplementary Table 11). Regression diagnostics are reported in Supplementary Table 12, and variable-level missingness in the analytic cohort is summarized in Supplementary Table 13.

DISCUSSION

In this single-center retrospective cross-sectional observational study of 186 adults with FD, 79 had HAMA-defined anxiety symptoms, and 66 had HAMD-17-defined depressive symptoms. After adjustment for age, IBS, and FD subtype, HAMA-defined anxiety symptom status was associated with female sex, disease duration ≥ 2 years, greater symptom severity, and poor sleep quality. The continuous-duration and continuous-PSQI models produced a similar pattern. HAMA-defined anxiety symptom status was also associated with a 21.89-point lower adjusted GIQLI score, and the association remained after adjustment for HAMD-17. These cross-sectional associations cannot establish temporal ordering or causality.

The frequencies of scale-defined anxiety and depressive symptoms were broadly consistent with those reported in previous FD studies, although estimates differ by population, instrument, and cutoff[11,12]. Tertiary-center studies and meta-analytic evidence likewise indicate a substantial sleep burden[25,26]. The lower prevalence of poor sleep in this sample may be related to the general hospital setting, PSQI cutoff, case mix, and exclusion of patients with documented psychiatric history. Findings from a Malaysian endoscopy cohort also differed by comparator group and assessment instrument[27].

Poor sleep quality was associated with HAMA-defined anxiety symptom status under both binary and continuous PSQI specifications. Previous studies have described potentially bidirectional associations among sleep disturbance, emotional distress, autonomic symptoms, and attention to bodily sensations in disorders of gut-brain interaction[8,9,28,29]. Sleep and anxiety were assessed at the same visit, so their temporal ordering cannot be determined. The physiological explanations proposed in earlier work were not tested in this study. Because HAMA includes sleep-related, somatic, and autonomic content, the observed HAMA-PSQI association may partly reflect item-content overlap rather than independent constructs. HAMA item-level scores were unavailable, so this overlap could not be removed or quantified.

Longer disease duration and greater dyspeptic symptom severity were associated with HAMA-defined anxiety symptom status. Similar estimates from categorical and continuous specifications of disease duration indicate that this association was not confined to the 2-year threshold. Longer duration may reflect persistent symptoms or repeated health care contact, but the temporal sequence cannot be established. Interpretation of the symptom-severity association also requires caution because the HAMA and HAMD-17 include somatic, autonomic, sleep-related, and gastrointestinal items that may overlap with FD symptoms.

IBS is associated with psychological symptoms, sleep disturbance, and other features of disorders of gut-brain interaction and may confound the observed FD-anxiety association[3,10,12]. The primary model adjusted for IBS, and the sensitivity analysis excluding participants with concomitant IBS evaluated the robustness of the findings. Neither analysis can establish that IBS-related confounding was fully eliminated; residual confounding from IBS severity, other gastrointestinal disorders, or unmeasured characteristics remains possible.

HAMA-defined anxiety symptom status was associated with lower GIQLI scores after adjustment for age, sex, disease duration, and symptom severity, and this association remained in the HAMD-17-adjusted sensitivity model. This finding is consistent with reports linking greater psychological symptom burden to poorer gastrointestinal quality of life in FD[25,27]. Measurement at the same visit prevents temporal or causal inference. An applicable minimal clinically important difference for the exact GIQLI version and FD population studied was not prespecified; therefore, the 21.89-point adjusted difference should not be interpreted as establishing a validated threshold of clinical significance. The exploratory cross-sectional statistical decomposition of PSQI, HAMA, and GIQLI was noncausal and could not establish temporal ordering or biological mechanisms.

In clinical practice, sleep quality, dyspeptic symptom burden, and psychological symptoms may be assessed together. The HAMA threshold provided an operational definition of symptom status rather than a psychiatric diagnostic cutoff. The association model was not validated as a screening instrument. These cross-sectional data also cannot determine whether sleep-focused, psychological, or pharmacological interventions alter anxiety symptoms or gastrointestinal quality of life[5,30,31].

Study strengths included consecutive eligible cases, assessment of sleep, psychological symptoms, and gastrointestinal quality of life during the same visit, and a clinically informed model that accounted for relevant clinical factors. Robustness checks included continuous-duration and continuous-PSQI analyses, IBS exclusion, HAMD-17 adjustment of the GIQLI model, and bootstrap internal validation.

The study also has design and selection limitations. This single-center study used a retrospective cross-sectional design, and differences in case mix or referral patterns may limit generalizability. No a priori sample size calculation was performed because all consecutive eligible cases were included. Given 79 outcome events in the primary analysis, the stability and precision of the model should be interpreted cautiously. Among 236 patients assessed, 25 were excluded because all four scales were missing, 12 because of documented psychiatric history, and 13 because of recent use of gastrointestinal motility agents. Excluding patients with a psychiatric history may have underestimated psychological symptom burden. Conventional comparisons between the 186 included patients and the 25 patients with missing scale data were not statistically significant. However, standardized mean differences suggested imbalances in age, sex, and some FD subtype categories. Selection bias cannot be excluded.

Measurement and statistical limitations also warrant consideration. Some associations may have been inflated by overlap among FD symptoms, PSQI sleep content, and somatic, autonomic, sleep-related, or gastrointestinal items on the HAMA and HAMD-17. HAMA item-level scores were unavailable, precluding a sensitivity analysis that removed sleep, somatic, or autonomic items; total-score associations should not be interpreted as independent constructs. Each patient was rated by one of three trained gastroenterologists. Without independent duplicate ratings, ICC or kappa could not be calculated, and measurement bias remains possible. Unmeasured socioeconomic, psychosocial, and clinical factors may also have resulted in residual confounding. Bootstrap resampling provided internal validation only; no external validation was performed. Most secondary and exploratory analyses lacked formal multiplicity adjustment, thereby increasing the risk of type I error. Prospective, multicenter, longitudinal studies with repeated measurements, standardized reliability assessment, and external validation are needed.

CONCLUSION

In this single-center retrospective cross-sectional sample, female sex, longer disease duration, greater dyspeptic symptom severity, and poor sleep quality were associated with HAMA-defined anxiety symptom status. HAMA-defined anxiety symptom status was also associated with lower GIQLI scores. These associations do not establish directionality or causality and require confirmation in prospective, multicenter, longitudinal studies.

ACKNOWLEDGEMENTS

The authors thank the patients and clinical staff of the Department of Gastroenterology for their contributions to data collection.

References
1.  Stanghellini V, Chan FK, Hasler WL, Malagelada JR, Suzuki H, Tack J, Talley NJ. Gastroduodenal Disorders. Gastroenterology. 2016;150:1380-1392.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 1306]  [Cited by in RCA: 1085]  [Article Influence: 108.5]  [Reference Citation Analysis (9)]
2.  Drossman DA, Hasler WL. Rome IV-Functional GI Disorders: Disorders of Gut-Brain Interaction. Gastroenterology. 2016;150:1257-1261.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 1482]  [Cited by in RCA: 1275]  [Article Influence: 127.5]  [Reference Citation Analysis (28)]
3.  Sperber AD, Bangdiwala SI, Drossman DA, Ghoshal UC, Simren M, Tack J, Whitehead WE, Dumitrascu DL, Fang X, Fukudo S, Kellow J, Okeke E, Quigley EMM, Schmulson M, Whorwell P, Archampong T, Adibi P, Andresen V, Benninga MA, Bonaz B, Bor S, Fernandez LB, Choi SC, Corazziari ES, Francisconi C, Hani A, Lazebnik L, Lee YY, Mulak A, Rahman MM, Santos J, Setshedi M, Syam AF, Vanner S, Wong RK, Lopez-Colombo A, Costa V, Dickman R, Kanazawa M, Keshteli AH, Khatun R, Maleki I, Poitras P, Pratap N, Stefanyuk O, Thomson S, Zeevenhooven J, Palsson OS. Worldwide Prevalence and Burden of Functional Gastrointestinal Disorders, Results of Rome Foundation Global Study. Gastroenterology. 2021;160:99-114.e3.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 1768]  [Cited by in RCA: 1595]  [Article Influence: 319.0]  [Reference Citation Analysis (19)]
4.  Ford AC, Mahadeva S, Carbone MF, Lacy BE, Talley NJ. Functional dyspepsia. Lancet. 2020;396:1689-1702.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 436]  [Cited by in RCA: 388]  [Article Influence: 64.7]  [Reference Citation Analysis (12)]
5.  Black CJ, Paine PA, Agrawal A, Aziz I, Eugenicos MP, Houghton LA, Hungin P, Overshott R, Vasant DH, Rudd S, Winning RC, Corsetti M, Ford AC. British Society of Gastroenterology guidelines on the management of functional dyspepsia. Gut. 2022;71:1697-1723.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Full Text (PDF)]  [Cited by in Crossref: 163]  [Cited by in RCA: 141]  [Article Influence: 35.3]  [Reference Citation Analysis (6)]
6.  Wauters L, Talley NJ, Walker MM, Tack J, Vanuytsel T. Novel concepts in the pathophysiology and treatment of functional dyspepsia. Gut. 2020;69:591-600.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 96]  [Cited by in RCA: 180]  [Article Influence: 30.0]  [Reference Citation Analysis (1)]
7.  Brown G, Hoedt EC, Keely S, Shah A, Walker MM, Holtmann G, Talley NJ. Role of the duodenal microbiota in functional dyspepsia. Neurogastroenterol Motil. 2022;34:e14372.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Full Text (PDF)]  [Cited by in Crossref: 2]  [Cited by in RCA: 39]  [Article Influence: 9.8]  [Reference Citation Analysis (0)]
8.  Mayer EA, Tillisch K. The brain-gut axis in abdominal pain syndromes. Annu Rev Med. 2011;62:381-396.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Full Text (PDF)]  [Cited by in Crossref: 415]  [Cited by in RCA: 362]  [Article Influence: 24.1]  [Reference Citation Analysis (7)]
9.  Van Oudenhove L, Aziz Q. The role of psychosocial factors and psychiatric disorders in functional dyspepsia. Nat Rev Gastroenterol Hepatol. 2013;10:158-167.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 169]  [Cited by in RCA: 149]  [Article Influence: 11.5]  [Reference Citation Analysis (7)]
10.  Koloski NA, Jones M, Talley NJ. Evidence that independent gut-to-brain and brain-to-gut pathways operate in the irritable bowel syndrome and functional dyspepsia: a 1-year population-based prospective study. Aliment Pharmacol Ther. 2016;44:592-600.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 165]  [Cited by in RCA: 254]  [Article Influence: 25.4]  [Reference Citation Analysis (3)]
11.  Aro P, Talley NJ, Ronkainen J, Storskrubb T, Vieth M, Johansson SE, Bolling-Sternevald E, Agréus L. Anxiety is associated with uninvestigated and functional dyspepsia (Rome III criteria) in a Swedish population-based study. Gastroenterology. 2009;137:94-100.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 212]  [Cited by in RCA: 196]  [Article Influence: 11.5]  [Reference Citation Analysis (1)]
12.  Overs J, Morgan S, Apputhurai P, Tuck C, Knowles SR. Comparing the prevalence and association between anxiety, depression and gastrointestinal symptoms in gastroparesis versus functional dyspepsia: A systematic review and meta-analysis. J Psychosom Res. 2024;183:111834.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 22]  [Cited by in RCA: 17]  [Article Influence: 8.5]  [Reference Citation Analysis (1)]
13.  von Elm E, Altman DG, Egger M, Pocock SJ, Gøtzsche PC, Vandenbroucke JP; STROBE Initiative. The Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) statement: guidelines for reporting observational studies. Lancet. 2007;370:1453-1457.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 15623]  [Cited by in RCA: 16122]  [Article Influence: 848.5]  [Reference Citation Analysis (12)]
14.  HAMILTON M. The assessment of anxiety states by rating. Br J Med Psychol. 1959;32:50-55.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 9123]  [Cited by in RCA: 7241]  [Article Influence: 108.1]  [Reference Citation Analysis (6)]
15.  HAMILTON M. A rating scale for depression. J Neurol Neurosurg Psychiatry. 1960;23:56-62.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Full Text (PDF)]  [Cited by in Crossref: 24938]  [Cited by in RCA: 23581]  [Article Influence: 357.3]  [Reference Citation Analysis (18)]
16.  Buysse DJ, Reynolds CF 3rd, Monk TH, Berman SR, Kupfer DJ. The Pittsburgh Sleep Quality Index: a new instrument for psychiatric practice and research. Psychiatry Res. 1989;28:193-213.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 27831]  [Cited by in RCA: 24665]  [Article Influence: 666.6]  [Reference Citation Analysis (23)]
17.  Eypasch E, Williams JI, Wood-Dauphinee S, Ure BM, Schmülling C, Neugebauer E, Troidl H. Gastrointestinal Quality of Life Index: development, validation and application of a new instrument. Br J Surg. 1995;82:216-222.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 1043]  [Cited by in RCA: 914]  [Article Influence: 29.5]  [Reference Citation Analysis (10)]
18.  Maier W, Buller R, Philipp M, Heuser I. The Hamilton Anxiety Scale: reliability, validity and sensitivity to change in anxiety and depressive disorders. J Affect Disord. 1988;14:61-68.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 831]  [Cited by in RCA: 753]  [Article Influence: 19.8]  [Reference Citation Analysis (4)]
19.  Zheng YP, Zhao JP, Phillips M, Liu JB, Cai MF, Sun SQ, Huang MF. Validity and reliability of the Chinese Hamilton Depression Rating Scale. Br J Psychiatry. 1988;152:660-664.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 213]  [Cited by in RCA: 359]  [Article Influence: 9.4]  [Reference Citation Analysis (1)]
20.  Yan DQ, Huang YX, Chen X, Wang M, Li J, Luo D. Application of the Chinese Version of the Pittsburgh Sleep Quality Index in People Living With HIV: Preliminary Reliability and Validity. Front Psychiatry. 2021;12:676022.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Full Text (PDF)]  [Cited by in Crossref: 16]  [Cited by in RCA: 45]  [Article Influence: 9.0]  [Reference Citation Analysis (0)]
21.  Tsai PS, Wang SY, Wang MY, Su CT, Yang TT, Huang CJ, Fang SC. Psychometric evaluation of the Chinese version of the Pittsburgh Sleep Quality Index (CPSQI) in primary insomnia and control subjects. Qual Life Res. 2005;14:1943-1952.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 1059]  [Cited by in RCA: 1010]  [Article Influence: 48.1]  [Reference Citation Analysis (3)]
22.  Yeung SM, Shiu AT, Martin CR, Chu KM. Translation and validation of the Chinese version of the Gastrointestinal Quality of Life Index in patients with gastric tumor. J Psychosom Res. 2006;61:469-477.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 18]  [Cited by in RCA: 23]  [Article Influence: 1.2]  [Reference Citation Analysis (0)]
23.  Lien HH, Huang CC, Wang PC, Chen YH, Huang CS, Lin TL, Tsai MC. Validation assessment of the Chinese (Taiwan) version of the Gastrointestinal Quality of Life Index for patients with symptomatic gallstone disease. J Laparoendosc Adv Surg Tech A. 2007;17:429-434.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 17]  [Cited by in RCA: 21]  [Article Influence: 1.1]  [Reference Citation Analysis (0)]
24.  Preacher KJ, Hayes AF. Asymptotic and resampling strategies for assessing and comparing indirect effects in multiple mediator models. Behav Res Methods. 2008;40:879-891.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 26356]  [Cited by in RCA: 13627]  [Article Influence: 757.1]  [Reference Citation Analysis (5)]
25.  Wuestenberghs F, Melchior C, Desprez C, Leroi AM, Netchitailo M, Gourcerol G. Sleep Quality and Insomnia Are Associated With Quality of Life in Functional Dyspepsia. Front Neurosci. 2022;16:829916.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Full Text (PDF)]  [Cited by in Crossref: 1]  [Cited by in RCA: 14]  [Article Influence: 3.5]  [Reference Citation Analysis (1)]
26.  Netyam R, Shashank S, Saravanan CR, Kolanu ND, Karra N, Narla SJSR, Prajjwal P, Marsool MDM, Hussin OA. Poor sleep quality (PSQ) prevalence in patients with functional dyspepsia (FD): a systematic review and meta-analysis. Ann Med Surg (Lond). 2025;87:5936-5944.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Full Text (PDF)]  [Reference Citation Analysis (0)]
27.  Mahadeva S, Goh KL. Anxiety, depression and quality of life differences between functional and organic dyspepsia. J Gastroenterol Hepatol. 2011;26 Suppl 3:49-52.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 35]  [Cited by in RCA: 33]  [Article Influence: 2.2]  [Reference Citation Analysis (1)]
28.  Nakamura F, Kuribayashi S, Tanaka F, Kawami N, Fujiwara Y, Iwakiri K, Kusano M, Uraoka T. Impact of improvement of sleep disturbance on symptoms and quality of life in patients with functional dyspepsia. BMC Gastroenterol. 2021;21:78.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Full Text (PDF)]  [Cited by in Crossref: 1]  [Cited by in RCA: 18]  [Article Influence: 3.6]  [Reference Citation Analysis (0)]
29.  Guadagnoli L, Heathcote LC, Van Oudenhove L, Elsenbruch S, Keefer L. The psychobiological model of disorders of gut-brain interaction: introduction of a novel, integrated, and testable model. Lancet Gastroenterol Hepatol. 2025;10:1041-1052.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in RCA: 13]  [Reference Citation Analysis (0)]
30.  Mahadeva S, Siah KTH, Ghoshal UC, Suzuki H, Lee YY, Chuah KH, Chung V, Zhong L, Tay BW, Ang BH, Sinnanaidu RP, Bai T, Oshima T, Patcharatrakul T, Sachdeva S, Tseng PH, Liu J, Xiao Y, Vilaichone RK, Lee JS, Oh JH, Syam AF, Lu CL, Ang TL, Sung IK, Hou XH, Sugano K, Wu J, Miwa H. Second Asian Consensus Report on Functional Dyspepsia (2025): Updated Recommendations. J Gastroenterol Hepatol. 2026;41:832-853.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Full Text (PDF)]  [Cited by in RCA: 2]  [Reference Citation Analysis (3)]
31.  Sayuk GS, Gyawali CP. Functional Dyspepsia: Diagnostic and Therapeutic Approaches. Drugs. 2020;80:1319-1336.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 12]  [Cited by in RCA: 69]  [Article Influence: 13.8]  [Reference Citation Analysis (1)]
Footnotes

Peer review: Externally peer reviewed.

Peer-review model: Single blind

Specialty type: Psychiatry

Country of origin: China

Peer-review report’s classification

Scientific quality: Grade B

Novelty: Grade B

Creativity or innovation: Grade B

Scientific significance: Grade B

P-Reviewer: Chen HB, Full Professor, MD, Professor, China S-Editor: Qu XL L-Editor: A P-Editor: Zhang YL

Write to the Help Desk