Next Article in Journal
Cerebrovascular Reactivity Assessment with Breath-Hold Functional MRI in Patients with Moyamoya Angiopathy: Which Time Period to Analyze?
Previous Article in Journal
Clinical Risk and Medico-Legal Implications in Zygomatic Implant Rehabilitation: An Umbrella Review of Systematic Reviews
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Association of Diabetes Mellitus and COVID-19-Related Pancreatic and Biliary Inflammatory Diseases

1
Department of Veterinary Medicine, National Chung-Hsing University, Taichung 402202, Taiwan
2
Division of Gastroenterology, Department of Internal Medicine, Taichung Veterans General Hospital, Taichung 407219, Taiwan
3
Division of Gastroenterology, Department of Internal Medicine, Taichung Veterans General Hospital Puli Branch, Nantou 545402, Taiwan
4
School of Medicine, National Yang Ming Chiao Tung University, Taipei 112304, Taiwan
5
Department of Post-Baccalaureate Medicine, National Chung-Hsing University, Taichung 402202, Taiwan
*
Authors to whom correspondence should be addressed.
Diagnostics 2026, 16(6), 903; https://doi.org/10.3390/diagnostics16060903
Submission received: 5 January 2026 / Revised: 2 March 2026 / Accepted: 13 March 2026 / Published: 18 March 2026
(This article belongs to the Section Clinical Diagnosis and Prognosis)

Abstract

Background/Objectives: The COVID-19 pandemic has brought about significant clinical challenges in regard to digestive systems, as well as causing complications such as pancreatitis and biliary infections. Whether diabetes mellitus (DM) contributes to both an increased risk for these complications and mortality amongst COVID-19 patients remains to be investigated. This study aimed to illuminate any possible outcomes, including pancreatitis, cholangitis, cholecystitis and all-cause mortality, among COVID-19 patients with and without pre-existing type 2 diabetes mellitus (T2DM), using real-world data taken from a multinational electronic health record database. Methods: A retrospective cohort study based upon data taken from the database of the TriNetX Global Collaborative Network was conducted. We included patients from the database who had been diagnosed with COVID-19 from January 2020 to December 2023. Enrolled subjects were divided into two cohorts: COVID-19 patients with pre-existing T2DM who had had at least two medical visits, and those without T2DM. Propensity score matching was performed using 68 baseline variables. Outcomes were evaluated within 90 days following COVID-19 diagnosis, with patients with prior relevant diagnoses being excluded. Risk analyses, Kaplan–Meier survival estimates, and hazard ratios were calculated as the outcomes. Results: The incidence of acute pancreatitis was significantly higher in the DM+ group when compared to the DM– group (Hazard ratio (HR) = 1.307; 95% confidence interval (CI) 1.048–1.630, p = 0.017) and mortality (HR = 1.141; 95% CI 1.102–1.181, p < 0.05) by Kaplan–Meier analysis. Risk of cholecystitis (HR = 1.264; 95% CI 1.042–1.533, p = 0.017) was borderline increased, and cholangitis was not significant (HR 0.847, 95% CI 0.583–1.230) Conclusions: In COVID-19 patients, pre-existing T2DM is independently associated with increased risks of acute pancreatitis and mortality.

1. Introduction

Severe acute respiratory syndrome Coronavirus 2 (SARS-CoV-2) is a positive-sense single-stranded RNA virus that caused Coronavirus disease 2019 (COVID-19) beginning in late 2019 [1]. Since its outbreak, the COVID-19 pandemic has evolved into a sustained global health concern worldwide, exerting a profound impact on healthcare systems while also causing extensive morbidity and mortality across all populations. Although COVID-19 is primarily recognized for its pulmonary manifestations, the systemic nature of the disease has become increasingly evident, with extrapulmonary involvement being seen [2,3,4].
Meta-analysis of international data has disclosed that the gastrointestinal manifestation of COVID-19 include nausea, vomiting, diarrhea and abdominal pain, although all were found to be less common (<10%), and not specific [5,6]. There is proposed evidence that certain digestive symptoms may be related to disease severity [7]. Among these, gastrointestinal system and liver function impairment were both mentioned. Additionally, and more specifically, the pancreas and biliary tract have each emerged as areas of interest due to reports of acute pancreatitis and cholangiopathy in infected individuals, with some data suggesting that pancreatobiliary complications are associated with more severe disease status [8,9,10,11,12].
Diabetes mellitus (DM) has been consistently implicated as a risk factor for adverse outcomes in patients diagnosed with COVID-19 [13]. The underlying mechanisms are thought to involve immune dysregulation, chronic inflammation, and vascular dysfunction, all of which may predispose individuals with diabetes to more severe disease [14]. The role of diabetes in modulating the risk or severity of pancreatic and biliary events during or after COVID-19 infection remains poorly defined [15]. Understanding whether diabetes confers susceptibility to COVID-19-related pancreatobiliary complications could yield important clinical implications [16].
Diabetes is also considered to carry the risk of acute pancreatitis, biliary tract inflammation, or infection [17,18]. Thus, it could be considered a cholangiopathy rather than traditional truly acute cholangitis [11]. The same situation also occurs in gallbladder inflammation, where COVID-19 causes acalculous cholecystitis rather than infectious calculous cholecystitis.
Diabetes mellitus (DM) may be implicated in the development or exacerbation of acute pancreatitis, cholangiopathy or cholangitis, and cholecystitis. However, the complex interplay that exists between COVID-19, diabetes, and pancreatic or biliary tract inflammation remains insufficiently explored. It is plausible that DM contributes to the pathogenesis or worsening of the clinical course of these conditions through either direct metabolic effects or indirect immune-mediated mechanisms. Elucidating the role of diabetes in COVID-19-associated pancreatic and biliary complications is therefore of clinical relevance and certainly warrants further investigation.
In the present study, we aimed to investigate the association between diabetes mellitus and the occurrence of acute pancreatitis, cholangitis or cholangiopathy, and cholecystitis, as well as the related mortality, in patients following COVID-19 infection by utilizing data taken from the TriNetX global health research network.

2. Materials and Methods

2.1. Data Source

We conducted a retrospective, comparative cohort study using data taken from the TriNetX Global Collaborative Network (Cambridge, Massachusetts, USA), a federated platform comprising 147 healthcare organizations worldwide. The network provides a platform for accessing de-identified electronic medical records, including structured clinical data such as diagnoses, procedures, medications, laboratory results, demographics and mortality outcomes. An internal analysis using the TriNetX system (version 4.x) can be employed to both collect clinical data and perform statistical analyses of clinical outcomes. As the role of real-world data in healthcare continues to expand, TriNetX stands out as a critical tool that complements traditional clinical trials, bridging the gap between controlled research environments and real-world practice. This platform provides a comprehensive analysis of the methodologies and applications highlighting its potential contribution to the advancement of patient care and medical outcomes [19]. Analyses investigating the relationship between COVID-19, diabetes and psychological diseases have also been conducted using the TriNetX database [20].

2.2. Study Design

Two cohorts were defined for analysis in this study: Cohort 1 (n = 116,192) consisted of adult patients (≥20 years) diagnosed with COVID-19 who had a prior history of type 2 diabetes mellitus (T2DM) (DM+), while Cohort 2 (n = 116,192) included matched patients with COVID-19 but without T2DM (DM−), identified via propensity score matching. The inclusion criteria for both cohorts required laboratory-confirmed SARS-CoV-2 RNA positivity and a minimum of two clinical visits. The index date was defined as the first COVID-19 diagnosis meeting all criteria during the period of 1 January 2020 to 31 December 2023, with outcomes being assessed during a fixed 90-day window beginning one day after the index event.
The study employed the TriNetX built-in analytical functions to perform risk analysis, Kaplan–Meier survival analysis, and number-of-instances analysis for four clinical outcomes: acute pancreatitis, cholangitis, cholecystitis and all-cause mortality. Patients with an outcome prior to the time window were excluded in order to reduce bias. Matching between cohorts was based on age, gender, BMI, race, and extensive baseline characteristics, including comorbidities of overweight, obesity and other hyperalimentation; hypertensive diseases; disorders of the thyroid gland; diseases of the esophagus, stomach and duodenum; diseases of the liver; chronic lower respiratory diseases; diseases of the arteries, arterioles and capillaries; ischemic heart disease; osteoarthritis; spondylopathies; other soft tissue disorders; other joint disorders; other diseases of the respiratory system; influenza and pneumonia; other diseases of the intestine; disorders of the gallbladder, biliary tract, and pancreas; diseases of the nervous system; neoplasms; external causes of morbidity; laboratory values of sodium, potassium, creatinine, calcium, phosphate, leukocytes, erythrocytes, hemoglobin, platelets, neutrophils, alanine aminotransferase, aspartate aminotransferase, alkaline phosphatase, gamma-glutamyltransferase, lactate dehydrogenase, bilirubin, albumin, prothrombintime, triglycerides, cholesterol, Hba1c, thyroglobulin, serum/plasma/blood chloride, serum/plasma/blood bicarbonate, serum/plasma/blood urea nitrogen, serum/plasma/blood glucose, and serum/plasma/blood magnesium; and medication exposures including hormones/synthetics/modifiers, cardiovascular medications, antiarrhythmics, anti-lipemic agents, betablockers and related agents, diuretics, calcium channel blockers, ACE inhibitors, other antihypertensives, antianginals, angiotensin II inhibitors, respiratory agents (other), antiasthma/bronchodilators, antitussives/expectorants, systemic decongestants, mucolytics, and antacids. All were compared both pre- and post-matching to ensure balance. This analytical setup enabled the rigorous assessment of whether diabetes modifies the risk of pancreaticobiliary complications and mortality in COVID-19 patients during the acute phase of infection.

2.3. Cohort Definitions

The two patient cohorts were defined based on their COVID-19 status and history of T2DM, using data from 1 January 2020 to 31 December 2023. All patients were aged ≥20 years at the time of COVID-19 diagnosis, confirmed by both ICD-10 code (U07.1) and positive SARS-CoV-2 RNA laboratory testing. Cohort 1 (DM+) included patients with a documented diagnosis of T2DM (ICD-10: E11) prior to or on the same day as the COVID-19 diagnosis, with ≥2 clinical encounters in the database. Cohort 2 (DM–) included patients with confirmed COVID-19 but without any documented diagnosis of T2DM, also with ≥2 clinical encounters. Patients with prior diagnoses of study outcomes (acute pancreatitis, cholangitis, cholecystitis or death) before the index date were excluded to reduce confounding from any pre-existing conditions.
The analysis process included two main steps: defining the cohorts through query criteria, and then setting up and running the analysis. Setting up the analysis required defining the index event, outcomes criteria, and the time frame. In the present study, we defined the basic data time frame as COVID-19 diagnosis being from 5 years ago to 1 day ago. The outcomes were collected within 90 days after the index date of COVID-19 being diagnosed. Comparing the outcomes involved the use of four analyses: Measures of Association, Survival, Number of Instances and Laboratory Result Distribution.

2.4. Index Event and Time Window

The index event was defined as the earliest date on which a patient met the inclusion criteria for COVID-19 infection, confirmed through both diagnostic code (e.g., ICD-10 code U07.1) and a laboratory-verified positive test for SARS-CoV-2. This definition ensured there was a consistent identification of cases across institutions within the dataset.
The outcome assessment window began on Day 1 following the index date to capture only incident events occurring after the confirmed infection as well as to avoid potential immortal time bias. Patients were followed up for a period of 90 days, which was selected as a clinically meaningful interval for monitoring early post-infection complications. The outcomes of interest included acute pancreatitis, cholangitis, cholecystitis and all-cause mortality, reflecting potential hepatobiliary and pancreatic involvement following COVID-19. These outcomes were chosen based on emerging clinical evidence suggesting that SARS-CoV-2 infection may contribute to inflammatory processes in the gastrointestinal and hepatopancreatobiliary systems, particularly in patients with underlying metabolic or immune-related vulnerabilities.

2.5. Propensity Score Matching

To minimize baseline confounding and enhance comparability between groups, 1:1 ratio propensity score matching was conducted using a nearest-neighbor algorithm without replacement and a caliper width of 0.01 of the standard deviation of the logit of the propensity score. Propensity score matching was performed using 68 baseline variables, including demographics (age, gender, race, body mass index), comorbidities, laboratory parameters, and medication exposures, to ensure adequate control for any potential confounders. Following this matching, the baseline characteristics of the cohorts were re-evaluated to assess covariate balance. Standardized mean differences were calculated for each variable, with values less than 0.1 indicating an acceptable level of balance between the two groups. Furthermore, characteristics of the cohorts that are balanced using propensity score matching are also included in the Propensity Score Matching section. We display the data both before and after matching in our study groups (Table 1).

2.6. Outcome Measures

We used ICD-10 diagnosis to define the outcome measure. The primary outcomes of pancreas and biliary events in COVID-19 infected subjects with or without T2DM were acute pancreatitis (ICD-10: K85), cholangitis (ICD-10: K83.0), cholecystitis (ICD-10: K81) and all-cause mortality (based on death status in the demographic data). In this study, the term ‘cholangitis’ refers to cases identified by ICD-10 codes. The database does not allow for differentiation of specific clinical subtypes, such as cholangiopathy. The events were collected within 90 days after COVID-19 had been diagnosed.
Each clinical outcome was evaluated by time-to-event (survival) analysis, which was conducted using Kaplan–Meier survival curves to visualize outcome incidence over time. Log-rank tests were applied to assess statistical differences in survival distributions between cohorts. Hazard ratios (HRs) with 95% confidence intervals (CIs) were estimated using Cox proportional hazard models, with the proportional hazards assumption tested to validate model appropriateness. Event frequency analysis focused on the cumulative number of incident cases occurring within a defined 90-day follow-up period. To ensure an accurate estimation of incident (new-onset) events, patients with a documented prior diagnosis of the respective outcome prior to the index date were excluded. This multi-method framework allowed for robust comparisons between cohorts, accounting for both incidence proportions and timing of outcome development.

2.7. Statistical Analysis

All statistical analyses were performed using the built-in analytics suite of the TriNetX platform, which provides integrated tools for cohort selection, matching, and comparative outcome analysis. Between-group comparisons of outcome proportions were evaluated using two-sided z-tests to determine risk differences, while independent samples t-tests were employed for comparing continuous or frequency-based data, where appropriate. A two-tailed p-value of <0.05 was considered indicative of statistical significance for all hypothesis testing.
For time-to-event outcomes, Cox proportional hazard regression models were applied to estimate HRs and their corresponding 95% CIs. To verify the assumption of proportional hazards, Schoenfeld residuals were examined when available through the analytic interface. The robustness of the proportionality assumption was further supported by inspection of log-minus-log survival plots when residual-based diagnostics were not accessible. All analyses adhered to the standard methodological practices used in comparative effectiveness research. The proportional hazards assumption was met for acute pancreatitis (χ2 = 0.803, p = 0.370) and cholecystitis (χ2 = 0.601, p = 0.438). However, it was not satisfied for cholangitis (χ2 = 4.469, p = 0.035) and mortality (χ2 = 20.163, p < 0.001). We acknowledge this limitation in the revised manuscript and emphasize that the interpretation of hazard ratios for cholangitis and mortality should be performed with caution, as time-varying effects could not be modeled within the constraints of the TriNetX platform.

2.8. Ethics and Data Privacy

As this study used only de-identified, aggregated data obtained from the TriNetX network platform, it was exempt from any Institutional review board (IRB) approval under U.S. Department of Health and Human Services regulation 45 CFR 46.104(d). All data handling complied with HIPAA and GDPR standards for both patient privacy and data security. The present study was also approved by our institutional review board (No. CE24589B).

3. Results

A total of 837,683 patients were initially identified within the TriNetX database. Inclusion criteria required a confirmed diagnosis of COVID-19, defined by both a positive SARS-CoV-2 test and an ICD-10 diagnostic code for COVID-19. To ensure data quality and relevance for follow-up analyses, patients were further restricted to those aged 20 years or older who had had at least two documented healthcare visits during the study period. These criteria ensured reliable capture of clinical outcomes and adequate longitudinal follow-up.
After propensity score matching, a total of 116,192 patients were included in each cohort: those with T2DM and COVID-19 infection (DM+), and those without diabetes (DM−). The mean follow-up period was approximately 82.974 days for the DM+ group and 82.595 days for the DM− group (Figure 1). Propensity score matching was performed using 68 baseline variables, including demographics (age, gender, race, body mass index), comorbidities, laboratory parameters, and medication exposures, to ensure adequate control for any potential confounders.
The clinical variables, including basic data, comorbidities and laboratory data, both before and after matching, are disclosed in Table 1. The demographic distribution and baseline clinical characteristics of the study cohorts were determined both before and after propensity score matching. Prior to matching, patients with T2DM (DM+) were found to be significantly older (mean age: 62.4 vs. 48.6 years) and more likely to be male (47.4% vs. 41.5%) when compared to those without diabetes (DM−), with standardized differences exceeding accepted thresholds. Comorbid conditions were also more prevalent in the DM+ group, including hypertension (85.9% vs. 31.5%), overweight status (51.6% vs. 20.1%), thyroid disorders (27.0% vs. 12.6%), and liver diseases (20.2% vs. 7.0%), all of which showed substantial imbalances (SD > 0.3). Laboratory differences reflected the metabolic burden in the DM+ group and included elevated creatinine, triglycerides and hemoglobin A1c, along with lower albumin levels. Following propensity score matching on the variables mentioned in the study design, balance was substantially improved across most variables, although residual differences persisted in key metabolic and inflammatory parameters, including triglycerides (SD = 0.321), hemoglobin A1c (SD = 0.957), and alkaline phosphatase (SD = 0.166). These residual imbalances underscore the systemic impact of diabetes on organ function and inflammation, even after demographic adjustment.
In Table 2 and Figure 2, we demonstrate the patients with diabetes and without diabetes in COVID-19-related pancreato-biliary complication and mortality.
A comparative analysis was performed between patients with and without DM to assess the incidence of acute pancreatitis, cholangitis, cholecystitis, and all-cause mortality. A total of 112,288 patients with DM and 113,169 patients without DM were included in analysis of pancreatitis. The incidence of pancreatitis was significantly higher in the DM group (181/112,288, 0.161%) compared to the non-DM group (139/113,169, 0.123%). The hazard ratio (HR) for pancreatitis among COVID-19 patients with DM was 1.307 (95% CI: 1.048–1.630; p = 0.017). This suggests that patients with pre-existing DM are substantially more susceptible to developing acute pancreatitis in the setting of SARS-CoV-2 infection. Regarding cholangitis, 51 cases were identified in the DM group (n = 115,543), while 60 cases occurred in the non-DM group (n = 115,610). The incidence rates were comparable between the groups (0.044% in with DM vs. 0.052% in without DM). The corresponding hazard ratio was 0.847 (95% CI: 0.583–1.230; p = 0.382), indicating no statistically significant association between DM status and risk of cholangitis in COVID-19 patients. In the case of cholecystitis, there were 234 events among 113,029 diabetic patients (0.207%) and 184 events among 112,837 non-diabetic patients (0.163%). Patients with DM had a moderately elevated risk of cholecystitis, with an HR of 1.264 (95% CI: 1.042–1.533; p = 0.017), suggesting a statistically significant risk. Mortality was also higher among COVID-19 patients with diabetes. Of 115,341 diabetic patients, 6845 deaths were recorded (5.9%), compared to 5982 deaths among 115,321 non-diabetic patients (5.2%). The mortality HR for COVID-19 with DM patients was 1.141 (95% CI: 1.102–1.181; p < 0.05), indicating a significantly elevated risk of death among COVID-19 patients with diabetes.
Figure 3 shows survival analyses conducted to compare pancreatobiliary outcomes in COVID-19 patients with and without DM. The Kaplan–Meier survival curve for acute pancreatitis, cholecystitis, and mortality revealed significantly lower survival probabilities in the DM cohort compared to the non-DM group, indicating a higher short-term risk of adverse events in diabetic patients.
The p-values in acute pancreatitis, cholangitis, cholecystitis, and mortality were 0.017, 0.382, 0.017, and <0.05 in patients with COVID-19 infection with or without type 2 diabetes mellitus, according to log-rank test.
In Figure 3, the x-axis represents time in days following COVID-19 diagnosis, and the y-axis indicates survival probability ranging from 0.93 to 1.00. Separate Kaplan–Meier curves are shown for patients with T2DM (DM, blue) and without DM (red), with shaded areas representing 95% confidence intervals. Hazard ratios (HR) with 95% confidence intervals (CI) were estimated using Cox proportional hazard models. Diagnoses were identified based on ICD-10 codes, and outcomes were assessed within the 90 days following COVID-19 diagnosis.

4. Discussion

This study evaluated the effect of T2DM on the incidence of pancreato-biliary complications and mortality in patients with COVID-19 during the COVID-19 pandemic between 2020 and 2023. The incidence of acute pancreatitis was significantly higher in the DM group, with a hazard ratio (HR) = 1.307 (95% confidence interval (CI) 1.048–1.630, p = 0.017), indicating increased susceptibility to pancreatitis in diabetic individuals. There was no significant difference observed in the incidence of cholangitis between DM vs. non-DM groups (HR 0.847, 95% CI 0.583–1.230; p = 0.382). For cholecystitis, COVID-19 patients with T2DM showed a modestly elevated risk (HR = 1.264; 95% CI 1.042–1.533, p = 0.017). All-cause mortality was significantly higher in the DM group (5.93% vs. 5.19%), with a hazard ratio of 1.141 (995% CI 1.102–1.181, p < 0.05). These findings suggest that diabetes is associated with an increased risk of pancreatitis, cholecystitis, and mortality among COVID-19 patients, but no significant risk of cholangitis.
DM is a worldwide metabolic disorder with increasing significance placed on the global healthcare burden [21]. Another concern regarding COVID-19 infection is the systemic consequences both during and after COVID-19 infection of what is called long COVID-19, which is still under investigation [3,22]. The systemic and long-term effects of DM have been under investigation for decades [23,24]. It is reasonable to hypothesize that the co-existence of COVID-19 and DM or COVID-19 infection in DM individuals would carry worse events. Therefore, it remains worthwhile that further research be performed with regard to the interplay of DM and COVID-19 infection, not only for the purpose of clinical care, but also for determining both systemic and long-term results in patients after COVID-19 infection. In the present study, we determined that DM is associated with pancreatic and biliary complications after COVID-19 infection.
Immune-related manifestations are being increasingly recognized in patients with COVID-19, with approximately 3000 cases reported worldwide, comprising more than 70 different systemic and organ-specific disorders [2]. Digestive systemic complications related to COVID-19 include gastrointestinal manifestations, which are seen more commonly [25], while less common are pancreatitis and biliary inflammation (cholangitis or cholangiopathy and acalculous cholecystitis) [10,11,12,26].
Pancreatobiliary complications may be divided into two categories: pancreatitis and biliary tract inflammations. COVID-19-related pancreatitis is generally considered a low-incidence occurrence, and is estimated at around 0.1–1.5%, a common health status that is more severe in certain subgroups [27,28,29]. Acute pancreatitis after COVID-19 infection may be related to direct or indirect injury by the SARS-CoV virus to its host [9]. Our results are the first to demonstrate that DM is a risk factor for acute pancreatitis, as compared to previously published data.
Biliary complication is a rare condition related to COVID-19 infection [10,11,12,26]. However, there is no data available with regard to any biliary complications due to COVID-19 infection, while liver dysfunction is estimated to occur in approximately 20% of COVID-19-infected individuals [30]. COVID-19 related cholangiopathy is more likely than infection of the biliary tract due to cholangitis. In the present study, we were unable to properly define cholangitis or cholangipathy, and therefore used cholangitis instead of cholangipathy. Thus, our results may be due to limited evidence. However, our results showed no significance in COVID-19 patients with or without DM regarding cholangitis. Although COVID-related cholangiopathy has been described as a distinct clinical syndrome characterized by persistent cholestasis and bile duct injury after severe COVID-19, our study could not specifically identify such cases. Therefore, we use the term ‘cholangitis’ to denote ICD-10-based diagnoses, while acknowledging that these are not clinically synonymous.
The same situation occurred with gallbladder inflammation, where cholecystitis is involved, and which could include acalculous cholecystitis and calculous cholecystitis. A previous report suggested that COVID-19 infection may be related to acute acalculous cholecystitis [26]. Our results demonstrated that COVID-19 patients with DM carry a risk of cholecystitis, but whether calculous or not could not be well defined.
The mechanism is complex and not well defined. Involvement of the pancreatic and biliary systems may be due to direct viral injury and/or an inflammatory immune response. Thus, pancreatic or biliary inflammation may be due to direct viral injury, systemic inflammation response, immune insults, or exacerbation of a pre-existing disease status [7,31]. Pancreato-biliary complications are rare but could often be seen in critically ill patients [6].
Diabetes exerts multifaceted effects on the host beyond just glycemic dysregulation. Chronic hyperglycemia compromises immune responses, rendering individuals more susceptible to infections while also impairing the healing process. In addition to metabolic disturbances, diabetes is increasingly recognized as a condition associated with immunological dysfunction. These immunologic alterations may be further modulated by underlying genetic risk factors that influence susceptibility to both autoimmunity and infection. Furthermore, individuals with diabetes often exhibit heightened vulnerability to physiological stressors, such as acute illness or inflammation, which can exacerbate disease severity and complicate clinical outcomes. Understanding these interrelated mechanisms remains crucial for the development of targeted interventions aimed at reducing infection-related morbidity and improving overall disease management in diabetic populations [32,33]. However, a retrospective cohort study performed at a tertiary center in Romania found that patients diagnosed with T2DM had a significantly higher risk of severe acute pancreatitis and were more likely to require intensive care unit admission. Nevertheless, the study underscores the still unclear and complex relationship between T2DM and pancreatitis after adjusting for cofounding factors. Thus, there remains a need for further prospective research in order to clarify their interplay and causal links [34].
There are several limitations in our study. First, the diagnosis of pancreatitis, cholangitis, and cholecystitis was based solely on ICD-10 codes, which could lead to misclassification. Second, the TriNetX database does not provide detailed clinical data such as COVID-19 disease severity, hospitalization or ICU course, BMI, antidiabetic therapy, steroid use, or immunosuppressive treatment in every enrolled subject. The absence of these variables limits adjustment for important confounders and may affect the robustness of our conclusions. Third, an important limitation of this study is the lack of a DM+/COVID− control group. However, the TriNetX database is limited in that it allows only two-group comparisons within a single analysis, which restricts this approach. Fourth, due to the limitations of ICD-10 coding for cholangiopathy, we used the cholangitis code as a proxy. This approach could lead to some degree of diagnostic ambiguity. Fifth, the TriNetX database is primarily designed for administrative use and allows only univariate comparisons, which limits the ability to adjust for potential confounders. In addition, as a multisite database, it may present heterogeneity in data collection and potentially have missing data. Therefore, future studies using more detailed and controlled datasets are warranted to help better validate these findings. Finally, Cox proportional hazard models were generated within the TriNetX platform after age- and gender-based propensity score matching, without adjustment for additional covariates. The proportional hazards assumption was fulfilled for acute pancreatitis and cholecystitis, but not for cholangitis and mortality, indicating potential time-varying effects that could not be modeled in this dataset. Therefore, the hazard ratio estimates for cholangitis and mortality should be interpreted with caution.

5. Conclusions

Our study defined the association between diabetes and COVID-19-related complications of acute pancreatitis and mortality. T2DM is definitely associated with risk of acute pancreatitis and mortality. COVID-19 infection has not yet been eradicated throughout the world, and therefore, for patients diagnosed with DM, it would be worthwhile to show more consideration for the conditions of pancreatitis and biliary inflammation. Finally, with regard to long COVID-19 care, diabetes as a direct or indirect mechanism would also be worthy of investigation.

Author Contributions

Conceptualization, C.-Y.P., Y.-F.L., W.-K.C., Y.-C.P. and C.-H.L.; methodology, C.-Y.P., Y.-F.L., Y.-C.P. and C.-H.L.; software, C.-Y.P., Y.-F.L., Y.-C.P. and C.-H.L.; formal analysis, C.-Y.P., Y.-F.L., Y.-C.P. and C.-H.L.; writing—original draft preparation, C.-Y.P. and Y.-F.L.; writing—review and editing, C.-Y.P., Y.-F.L., W.-K.C., Y.-C.P. and C.-H.L.; data curation, Y.-F.L. visualization, supervision, Y.-F.L. and C.-H.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

As this study used only de-identified, aggregated data obtained from the TriNetX network platform, it was exempt from any institutional review board approval under U.S. Department of Health and Human Services regulation 45 CFR 46.104(d)(4). All data handling complied with HIPAA and GDPR standards for both patient privacy and data security. The present study was also approved by our institutional review board (No. CE24589B: approved on 26 December, 2024).

Informed Consent Statement

Patient consent was waived due to the use of de-identified data obtained from the TriNetX network, where individual patient information is anonymized and cannot be linked back to specific individuals. Therefore, informed consent is not applicable.

Data Availability Statement

The data that support the findings of this study are derived from the TriNetX research network (https://www.trinetx.com), a global federated health research platform that provides access to de-identified electronic medical records from participating healthcare organizations. Due to data use agreements and ethical restrictions related to patient privacy and confidentiality, the raw data are not publicly available. Researchers interested in accessing similar data may apply directly to TriNetX.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
T2DMtype 2 diabetes mellitus
RRrisk ratio
HRhazard ratio
ORodds ratios
CIs95% confidence intervals

References

  1. Wiersinga, W.J.; Rhodes, A.; Cheng, A.C.; Peacock, S.J.; Prescott, H.C. Pathophysiology, Transmission, Diagnosis, and Treatment of Coronavirus Disease 2019 (COVID-19): A Review. JAMA 2020, 324, 782–793. [Google Scholar] [CrossRef]
  2. Ramos-Casals, M.; Brito-Zerón, P.; Mariette, X. Systemic and organ-specific immune-related manifestations of COVID-19. Nat. Rev. Rheumatol. 2021, 17, 315–332. [Google Scholar] [CrossRef] [PubMed]
  3. Umakanthan, S.; Sahu, P.; Ranade, A.V.; Bukelo, M.M.; Rao, J.S.; Abrahao-Machado, L.F.; Dahal, S.; Kumar, H.; Kv, D. Origin, transmission, diagnosis and management of coronavirus disease 2019 (COVID-19). Postgrad. Med. J. 2020, 96, 753–758. [Google Scholar] [CrossRef] [PubMed]
  4. Xie, N.N.; Zhang, W.C.; Chen, J.; Tian, F.B.; Song, J.X. Clinical Characteristics, Diagnosis, and Therapeutics of COVID-19: A Review. Curr. Med. Sci. 2023, 43, 1066–1074. [Google Scholar] [CrossRef] [PubMed]
  5. Sultan, S.; Altayar, O.; Siddique, S.M.; Davitkov, P.; Feuerstein, J.D.; Lim, J.K.; Falck-Ytter, Y.; El-Serag, H.B. AGA Institute Rapid Review of the Gastrointestinal and Liver Manifestations of COVID-19, Meta-Analysis of International Data, and Recommendations for the Consultative Management of Patients with COVID-19. Gastroenterology 2020, 159, 320–334.e327. [Google Scholar] [CrossRef]
  6. Kariyawasam, J.C.; Jayarajah, U.; Riza, R.; Abeysuriya, V.; Seneviratne, S.L. Gastrointestinal manifestations in COVID-19. Trans. R. Soc. Trop. Med. Hyg. 2021, 115, 1362–1388. [Google Scholar] [CrossRef]
  7. Han, C.; Duan, C.; Zhang, S.; Spiegel, B.; Shi, H.; Wang, W.; Zhang, L.; Lin, R.; Liu, J.; Ding, Z.; et al. Digestive Symptoms in COVID-19 Patients with Mild Disease Severity: Clinical Presentation, Stool Viral RNA Testing, and Outcomes. Am. J. Gastroenterol. 2020, 115, 916–923. [Google Scholar] [CrossRef]
  8. Mutneja, H.R.; Bhurwal, A.; Arora, S.; Goel, A.; Vohra, I.; Attar, B.M. Acute pancreatitis in patients with COVID-19 is more severe and lethal: A systematic review and meta-analysis. Scand. J. Gastroenterol. 2021, 56, 1467–1472. [Google Scholar] [CrossRef]
  9. Onoyama, T.; Koda, H.; Hamamoto, W.; Kawahara, S.; Sakamoto, Y.; Yamashita, T.; Kurumi, H.; Kawata, S.; Takeda, Y.; Matsumoto, K.; et al. Review on acute pancreatitis attributed to COVID-19 infection. World J. Gastroenterol. 2022, 28, 2034–2056. [Google Scholar] [CrossRef]
  10. Bartoli, A.; Cursaro, C.; Andreone, P. Severe acute respiratory syndrome coronavirus-2-associated cholangiopathies. Curr. Opin. Gastroenterol. 2022, 38, 89–97. [Google Scholar] [CrossRef]
  11. Faruqui, S.; Okoli, F.C.; Olsen, S.K.; Feldman, D.M.; Kalia, H.S.; Park, J.S.; Stanca, C.M.; Figueroa Diaz, V.; Yuan, S.; Dagher, N.N.; et al. Cholangiopathy After Severe COVID-19: Clinical Features and Prognostic Implications. Am. J. Gastroenterol. 2021, 116, 1414–1425. [Google Scholar] [CrossRef]
  12. Yadlapati, S.; Jarrett, S.A.; Baik, D.; Chaaya, A. COVID-19 related biliary injury: A review of recent literature. World J. Gastroenterol. 2023, 29, 2127–2133. [Google Scholar] [CrossRef] [PubMed]
  13. Lima-Martínez, M.M.; Carrera Boada, C.; Madera-Silva, M.D.; Marín, W.; Contreras, M. COVID-19 and diabetes: A bidirectional relationship. Clin. Investig. Arterioscler. 2021, 33, 151–157. [Google Scholar] [CrossRef] [PubMed]
  14. Khunti, K.; Valabhji, J.; Misra, S. Diabetes and the COVID-19 pandemic. Diabetologia 2023, 66, 255–266. [Google Scholar] [CrossRef] [PubMed]
  15. Harding, J.L.; Oviedo, S.A.; Ali, M.K.; Ofotokun, I.; Gander, J.C.; Patel, S.A.; Magliano, D.J.; Patzer, R.E. The bidirectional association between diabetes and long-COVID-19—A systematic review. Diabetes Res. Clin. Pract. 2023, 195, 110202. [Google Scholar] [CrossRef]
  16. de-Madaria, E.; Capurso, G. COVID-19 and acute pancreatitis: Examining the causality. Nat. Rev. Gastroenterol. Hepatol. 2021, 18, 3–4. [Google Scholar] [CrossRef]
  17. Hart, P.A.; Bradley, D.; Conwell, D.L.; Dungan, K.; Krishna, S.G.; Wyne, K.; Bellin, M.D.; Yadav, D.; Andersen, D.K.; Serrano, J.; et al. Diabetes following acute pancreatitis. Lancet Gastroenterol. Hepatol. 2021, 6, 668–675. [Google Scholar] [CrossRef]
  18. Urushihara, H.; Taketsuna, M.; Liu, Y.; Oda, E.; Nakamura, M.; Nishiuma, S.; Maeda, R. Increased Risk of Acute Pancreatitis in Patients with Type 2 Diabetes: An Observational Study Using a Japanese Hospital Database. PLoS ONE 2012, 7, e53224. [Google Scholar] [CrossRef]
  19. Ludwig, R.J.; Anson, M.; Zirpel, H.; Thaci, D.; Olbrich, H.; Bieber, K.; Kridin, K.; Dempfle, A.; Curman, P.; Zhao, S.S.; et al. A comprehensive review of methodologies and application to use the real-world data and analytics platform TriNetX. Front. Pharmacol. 2025, 16, 1516126. [Google Scholar] [CrossRef]
  20. Leis, A.; Fradera, M.; Peña-Gómez, C.; Aguilera, P.; Hernandez, G.; Parralejo, A.; Ramírez-Anguita, J.M.; Mayer, M.A. Real World Data and Real World Evidence Using TriNetX: The TauliMar Clinical Research Network. Stud. Health Technol. Inform. 2025, 327, 759–760. [Google Scholar] [CrossRef]
  21. Collaborators, G.D. Global, regional, and national burden of diabetes from 1990 to 2021, with projections of prevalence to 2050: A systematic analysis for the Global Burden of Disease Study 2021. Lancet 2023, 402, 203–234. [Google Scholar] [CrossRef] [PubMed]
  22. Crook, H.; Raza, S.; Nowell, J.; Young, M.; Edison, P. Long covid-mechanisms, risk factors, and management. BMJ 2021, 374, n1648. [Google Scholar] [CrossRef] [PubMed]
  23. Babel, R.A.; Dandekar, M.P. A Review on Cellular and Molecular Mechanisms Linked to the Development of Diabetes Complications. Curr. Diabetes Rev. 2021, 17, 457–473. [Google Scholar] [CrossRef] [PubMed]
  24. Paul, S.; Ali, A.; Katare, R. Molecular complexities underlying the vascular complications of diabetes mellitus—A comprehensive review. J. Diabetes Complicat. 2020, 34, 107613. [Google Scholar] [CrossRef]
  25. Cheung, K.S.; Hung, I.F.N.; Chan, P.P.Y.; Lung, K.C.; Tso, E.; Liu, R.; Ng, Y.Y.; Chu, M.Y.; Chung, T.W.H.; Tam, A.R.; et al. Gastrointestinal Manifestations of SARS-CoV-2 Infection and Virus Load in Fecal Samples From a Hong Kong Cohort: Systematic Review and Meta-analysis. Gastroenterology 2020, 159, 81–95. [Google Scholar] [CrossRef]
  26. Thomaidou, E.; Karlafti, E.; Didagelos, M.; Megari, K.; Argiriadou, E.; Akinosoglou, K.; Paramythiotis, D.; Savopoulos, C. Acalculous Cholecystitis in COVID-19 Patients: A Narrative Review. Viruses 2024, 16, 455. [Google Scholar] [CrossRef]
  27. Aziz, A.A.; Aziz, M.A.; Omar, N.; Saleem, M.; Pahuja, K.H.; Haseeb Ul Rasool, M.; Shah, R. A Meta-analysis of the Severity of Acute Pancreatitis (AP) in COVID-19 Infection. Cureus 2023, 15, e38764. [Google Scholar] [CrossRef]
  28. Wang, F.; Wang, H.; Fan, J.; Zhang, Y.; Wang, H.; Zhao, Q. Pancreatic Injury Patterns in Patients with Coronavirus Disease 19 Pneumonia. Gastroenterology 2020, 159, 367–370. [Google Scholar] [CrossRef]
  29. Inamdar, S.; Benias, P.C.; Liu, Y.; Sejpal, D.V.; Satapathy, S.K.; Trindade, A.J. Prevalence, Risk Factors, and Outcomes of Hospitalized Patients with Coronavirus Disease 2019 Presenting as Acute Pancreatitis. Gastroenterology 2020, 159, 2226–2228.e2222. [Google Scholar] [CrossRef]
  30. Hartl, L.; Haslinger, K.; Angerer, M.; Semmler, G.; Schneeweiss-Gleixner, M.; Jachs, M.; Simbrunner, B.; Bauer, D.J.M.; Eigenbauer, E.; Strassl, R.; et al. Progressive cholestasis and associated sclerosing cholangitis are frequent complications of COVID-19 in patients with chronic liver disease. Hepatology 2022, 76, 1563–1575. [Google Scholar] [CrossRef]
  31. Cha, M.H.; Regueiro, M.; Sandhu, D.S. Gastrointestinal and hepatic manifestations of COVID-19: A comprehensive review. World J. Gastroenterol. 2020, 26, 2323–2332. [Google Scholar] [CrossRef]
  32. Cole, J.B.; Florez, J.C. Genetics of diabetes mellitus and diabetes complications. Nat. Rev. Nephrol. 2020, 16, 377–390. [Google Scholar] [CrossRef]
  33. Tariq, Z.; Abusnana, S.; Mussa, B.M.; Zakaria, H. New insights on genetic background of major diabetic vascular complications. Diabetol. Metab. Syndr. 2024, 16, 243. [Google Scholar] [CrossRef]
  34. Pahomeanu, M.R.; Ojog, D.; Nițu, D.T.; Diaconu, I.Ș.; Nayyerani, H.; Negreanu, L. Acute Pancreatitis and Type 2 Diabetes Mellitus: The Chicken–Egg Paradox—A Seven-Year Experience of a Large Tertiary Center. J. Clin. Med. 2024, 13, 1213. [Google Scholar] [CrossRef]
Figure 1. Diagram of patients identified and analyzed.
Figure 1. Diagram of patients identified and analyzed.
Diagnostics 16 00903 g001
Figure 2. Forest plots of type 2 diabetes and COVD-19 for pancreas and biliary complications.
Figure 2. Forest plots of type 2 diabetes and COVD-19 for pancreas and biliary complications.
Diagnostics 16 00903 g002
Figure 3. Kaplan–Meier survival curves comparing COVID-19 patients with and without T2DM for the outcomes of acute pancreatitis, cholangitis, cholecystitis, and all-cause mortality.
Figure 3. Kaplan–Meier survival curves comparing COVID-19 patients with and without T2DM for the outcomes of acute pancreatitis, cholangitis, cholecystitis, and all-cause mortality.
Diagnostics 16 00903 g003
Table 1. Demographic data of study cohorts before and after matching.
Table 1. Demographic data of study cohorts before and after matching.
Before MatchingAfter Matching
VariableWith T2DM
(N = 164,249)
n (%) or Mean ± SD
Without T2DM
(N = 673,434)
n (%) or Mean ± SD
p-ValueStd DiffWith T2DM
(N = 116,192)
n (%) or Mean ± SD
Without T2DM
(N = 116,192)
n (%) or Mean ± SD
p-ValueStd Diff
Demographics
Age (mean ± SD)62.4 ± 14.348.6 ± 18.2<0.0010.84560.8 ± 14.861.0 ± 16.0<0.0010.016
Female (%)52.5%58.5%<0.0010.11954.0%54.1%0.4050.003
Male (%)47.4%41.5%<0.0010.12046.0%45.7%0.2230.005
White (%)64.0%68.3%<0.0010.09066.7%66.5%0.2910.004
Black (%)20.9%15.5%<0.0010.14018.9%19.1%0.1490.006
Asian (%)4.3%3.8%<0.0010.0294.1%4.1%0.7530.001
Hispanic/Latino (%)11.9%12.1%0.0230.00611.5%11.4%0.7250.001
Not Hispanic/Latino (%)70.9%68.8%<0.0010.04671.1%71.3%0.3000.004
Diagnosis
Hypertensive diseases85.931.5<0.0011.3269090.40.0010.013
Overweight, obesity51.620.1<0.0010.69656.755.9<0.0010.017
Disorders of thyroid gland2712.6<0.0010.36724.624.60.8280.001
Ischemic heart disease40.510.3<0.0010.744645.40.0090.011
Liver disease20.27<0.0010.39250.4500.0410.008
Gallbladder/biliary/pancreas disorders15.46<0.0010.3083837.50.0130.01
Intestinal disease4623.5<0.0010.4863130.3<0.0010.015
Influenza and pneumonia35.717.1<0.0010.43266.766.70.9930
Nervous system diseases72.441<0.0010.66879.780.5<0.0010.018
Neoplasms36.921.1<0.0010.35558.9590.6950.002
Medication
Cardiovascular drugs92.956.6<0.0010.9199090.40.0010.013
Antilipemic agents67.718.3<0.0011.15256.755.9<0.0010.017
Diuretics53.217.3<0.0010.8134645.40.0090.011
Beta-blockers57.520.9<0.0010.80850.4500.0410.008
Calcium channel blockers43.813.8<0.0010.7033837.50.0130.01
ACE inhibitors38.39.9<0.0010.7023130.3<0.0010.015
Antiasthma/Bronchodilators69.944.5<0.0010.53166.766.70.9930
Respiratory agents83.352.5<0.0010.779.780.5<0.0010.018
Antacids65.430<0.0010.75958.9590.6950.002
Laboratory data
Sodium137.8 ± 3.8138.6 ± 3.3<0.0010.215137.8 ± 3.7138.5 ± 3.6<0.0010.173
Potassium4.2 ± 0.54.1 ± 0.5<0.0010.2154.2 ± 0.54.1 ± 0.5<0.0010.13
Creatinine1.5 ± 3.81.1 ± 3.8<0.0010.1221.4 ± 3.81.2 ± 4.1<0.0010.044
Calcium9.1 ± 0.79.2 ± 0.6<0.0010.1249.1 ± 0.79.1 ± 0.7<0.0010.014
ALT (GPT)30.2 ± 67.330.8 ± 68.4<0.0010.00930.4 ± 63.331.5 ± 74.0<0.0010.016
AST (GOT)33.4 ± 146.632.1 ± 109.5<0.0010.0132.7 ± 143.435.0 ± 153.8<0.0010.016
ALP94.6 ± 68.982.8 ± 52.5<0.0010.19293.0 ± 66.887.7 ± 61.9<0.0010.081
GGT131.3 ± 260.694.3 ± 213.8<0.0010.155127.1 ± 264.2112.1 ± 238.6<0.0010.06
Bilirubin, total0.6 ± 0.80.6 ± 0.8<0.0010.0140.6 ± 0.80.6 ± 0.9<0.0010.048
Albumin3.7 ± 0.74.0 ± 0.6<0.0010.393.7 ± 0.63.8 ± 0.6<0.0010.097
HbA1c7.3 ± 1.95.6 ± 0.9<0.0011.1377.3 ± 2.05.7 ± 1.0<0.0011.02
Glucose152.5 ± 74.7105.0 ± 31.7<0.0010.827152.5 ± 75.2109.5 ± 35.1<0.0010.733
Cholesterol160.6 ± 48.0180.3 ± 42.3<0.0010.434164.0 ± 47.8172.6 ± 45.2<0.0010.185
Triglyceride163.4 ± 146.0126.6 ± 88.6<0.0010.305164.2 ± 146.4133.3 ± 92.1<0.0010.253
Urea nitrogen22.4 ± 16.415.6 ± 10.1<0.0010.520.9 ± 15.318.7 ± 12.8<0.0010.156
Table 2. Hazard ratio of COVID-19 patients with or without DM for pancreas and biliary complications within 90 days.
Table 2. Hazard ratio of COVID-19 patients with or without DM for pancreas and biliary complications within 90 days.
Risk (%) DMWithout DMHazard Ratio95% CIp-Value
Pancreatitis
within 90 days181/112, 288139/113, 1691.307(1.048, 1.630)0.017
Cholangitis
within 90 days51/115, 54360/115, 6100.847(0.583, 1.230)0.382
Cholecystitis
within 90 days234/113, 029184/112, 8371.264(1.042, 1.533)0.017
Mortality
within 90 days6649/102, 5605047/102, 5491.226(1.183, 1.271)0.000
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Peng, C.-Y.; Lin, Y.-F.; Chow, W.-K.; Peng, Y.-C.; Lai, C.-H. Association of Diabetes Mellitus and COVID-19-Related Pancreatic and Biliary Inflammatory Diseases. Diagnostics 2026, 16, 903. https://doi.org/10.3390/diagnostics16060903

AMA Style

Peng C-Y, Lin Y-F, Chow W-K, Peng Y-C, Lai C-H. Association of Diabetes Mellitus and COVID-19-Related Pancreatic and Biliary Inflammatory Diseases. Diagnostics. 2026; 16(6):903. https://doi.org/10.3390/diagnostics16060903

Chicago/Turabian Style

Peng, Chi-Yi, Yu-Fong Lin, Wai-Keung Chow, Yen-Chun Peng, and Cheng-Hung Lai. 2026. "Association of Diabetes Mellitus and COVID-19-Related Pancreatic and Biliary Inflammatory Diseases" Diagnostics 16, no. 6: 903. https://doi.org/10.3390/diagnostics16060903

APA Style

Peng, C.-Y., Lin, Y.-F., Chow, W.-K., Peng, Y.-C., & Lai, C.-H. (2026). Association of Diabetes Mellitus and COVID-19-Related Pancreatic and Biliary Inflammatory Diseases. Diagnostics, 16(6), 903. https://doi.org/10.3390/diagnostics16060903

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop