Copyright: ©Author(s) 2026.
World J Diabetes. Dec 15, 2026; 17(12): 125342
Published online Dec 15, 2026. doi: 10.4239/wjd.125342
Published online Dec 15, 2026. doi: 10.4239/wjd.125342
Table 1 Study-level evidence relevant to electronic medical record-enabled precision care for diabetes with depression comorbidity
| Ref. | Evidence class | Design, setting, and sample | Task or intervention | Quantitative findings | Validation, directness, and key limitations |
| Katon et al[15], 2010 | Direct clinical care | Randomized trial; 14 United States primary-care clinics; 214 patients with depression and poorly controlled diabetes, coronary disease, or both | Nurse-led collaborative care vs usual care | At 12 months, greater improvement in the combined metabolic/depression outcome (P < 0.001); HbA1c difference 0.58 percentage points; depression score difference 0.40 points | 214 is the total randomized sample, not a diabetes-only denominator; non-AI collaborative care in an integrated system |
| Turchin and Florez Builes[24], 2021 | Diabetes NLP review | Systematic review; 38 diabetes NLP studies through June 2020 | NLP development and diabetes research | Mean F1 0.882 among studies reporting F1; 24/38 studies were tool-development only | Diabetes-specific but mostly retrospective; limited workflow and outcome evaluation |
| Saban et al[25], 2025 | Diabetes NLP | Retrospective Israeli EMR study; 2.3 million records, 41469 adults aged at least 35 years; 2012-2017 | Free-text identification of eight complication categories, including mood disorders and hypoglycaemia | Mean F1 0.86 vs 0.51 for ICD codes | Clinician-reviewed reference standard; single health system and Hebrew notes; no prospective care impact |
| Camacho-Cogollo et al[26], 2025 | Diabetes NLP | Retrospective analysis of 146542 EHR records | Hypoglycaemic-event identification from physician notes | Best multilayer perceptron accuracy 0.87 | Diabetes-specific signal extraction; no reported external validation or patient-outcome evaluation |
| Feng et al[33], 2024 | Direct diabetes-depression prediction | Retrospective regional EHR study; pretraining in 85085 patients, fine-tuning in 17491, external primary-care validation in 1028 | One-year recorded depression/anxiety after discharge; diagnosis-or-medication composite | ROC-AUC 0.91 internally and 0.75 externally; PR-AUC 0.80 and 0.47 | Primary-care test set in the same region; broad outcome label and case-control sampling; no clinical-impact trial |
| Feng et al[32], 2025 | Direct diabetes-depression prediction | Retrospective 1:3 matched regional datasets; 24724 patients in 2020, 34340 in 2022 | One-year regional EHR prediction of recorded depression/anxiety | ROC-AUC 0.903 and 0.736; PR-AUC 0.812 and 0.550 | Temporal validation within Nanjing, not geographic validation; predictive values depend on sampled prevalence |
| Cai et al[12], 2026 | Direct evidence synthesis | Systematic review/meta-analysis; 14 studies and 64 models | Machine-learning prediction of depression in diabetes | Pooled best-model ROC-AUC 0.822 (95%CI: 0.789-0.858); I2 = 97.4% | All studies rated high risk of bias; small samples and external validation uncommon |
| Prabhakaran et al[46], 2019 | Prospective digital decision support | Cluster-randomized trial; 40 Indian centres; 3698 enrolled, 3324 completed; 12 months | Rule-based integrated care for five conditions, including depression; enhanced usual-care comparator | Adjusted HbA1c difference 0.08 percentage points (95%CI: -0.27 to 0.44); no incremental benefit | Total trial population with diabetes and/or hypertension; not restricted to diabetes-depression; no incremental benefit |
| Bilotta et al[23], 2024 | Documentation-bias evidence | Cross-sectional United States EHR study; 12905 notes from 1562 adults with diabetes | NLP analysis of note language by race and ethnicity | Significant differences in negative, fear/disgust, positive, trust, and joy language domains | Diabetes-specific evidence that documentation is socially patterned; not a prediction or intervention study |
| Zu et al[31], 2024 | Direct psychosocial intervention synthesis | 18 studies reviewed; 16 studies and 1639 adults with type 2 diabetes pooled; interventions 4 weeks to 6 months | Psychological interventions tailored to diabetes distress | Short-term distress SMD = -0.56 (95%CI: -0.90 to -0.22); no significant HbA1c effect | Supports phenotype-specific care; not EMR-AI; long-term distress and glycaemic benefit uncertain |
Table 2 Proposed electronic medical record-enabled phenotype-action modules in diabetes with depression comorbidity
| Phenotype-action module | Indicative EMR signals | Temporal anchor | Clinical action | Validation priority |
| Depressive episode | Depression codes, PHQ scores, antidepressant initiation with indication, psychiatric referral, narrative low mood | First positive screen, diagnostic visit, or treatment start | Structured reassessment, collaborative care, psychotherapy or medication review | Chart-review PPV and sensitivity; audit missed safety-critical signals; subgroup performance |
| Diabetes distress | Narrative burnout, hypoglycaemia fear, technology frustration, perceived loss of control | Visit or note where distress is first documented | DSMES, hypoglycaemia problem-solving, technology support | Annotation manual, distinction from major depression |
| Treatment burden | Polypharmacy, frequent injections, regimen complexity, refill gaps, adverse effects, cost concerns | Medication-review opportunity or treatment intensification decision | Regimen simplification, shared decision-making, deprescribing where appropriate | Avoid confounding by disease severity and access |
| Social vulnerability and disengagement | Food insecurity, transport barriers, language barriers, missed visits, delayed labs, medication affordability notes | First recorded barrier or care gap | Social-work referral, affordability support, outreach follow-up | Missing-not-at-random social data and documentation bias |
| Complication acceleration | Albuminuria, eGFR decline, retinopathy, neuropathy, cardiovascular events, pain notes | First evidence of elevated complication risk | Risk-factor optimization, pain management, complication surveillance | Reverse causation and time-varying confounding |
| Medication-sequence risk | GLP-1RA/SGLT2i eligibility, insulin intensification, hypoglycaemia, weight change, adherence proxies | Treatment decision time zero | Individualized treatment sequence with mental-health and burden considerations | Target-trial emulation with clear grace periods |
Table 3 Proposed minimum and preferred standards for electronic medical record studies of diabetes and depression
| Component | Minimum practice | Preferred practice | Reason |
| Search and synthesis | State databases, concepts, and review type | Report search date, example queries, evidence categories, and exclusions | Makes narrative selection transparent |
| Phenotype | Combine codes, medications, screening instruments, notes, and temporal rules | Validate against chart review and report subgroup performance | Reduces misclassification and separates depression from distress |
| Prediction | Report discrimination, calibration, missing data handling, and internal validation | Add external validation, decision-curve analysis, subgroup calibration, and prospective impact | Supports transportability and clinical utility |
| NLP/LLM | Report annotation schema, error types, and clinician review | Cross-site validation, auditable snippets, sensitivity-focused safety checks, human review, and simpler baselines | Prevents opaque extraction errors from becoming clinical signals |
| Causal design | Define exposure, time zero, outcome, and follow-up windows | Use target-trial emulation with grace periods and sensitivity analyses | Reduces immortal time bias and clarifies the causal contrast |
| Implementation | Describe intended user, timing, and recommended action | Measure adoption, workload, patient outcomes, equity, cost, and safety | Moves from retrospective accuracy to real-world benefit |
Table 4 Proposed target-trial emulation templates for diabetes-depression electronic medical record research
| Question | Eligibility and time zero | Strategies | Outcomes | Main design risk |
| Does collaborative care improve combined outcomes? | Diabetes plus positive depression screen or diagnosis; time zero at screening or diagnostic visit | Collaborative care within a grace period vs usual care | Depression response, HbA1c, blood pressure, hospitalization, cost | Confounding by access and symptom severity; test alternative depression definitions, screening intensity, and treatment uptake |
| Does regimen simplification benefit treatment burden? | High medication burden or documented distress; time zero at medication-review opportunity | Simplification vs standard intensification | HbA1c, hypoglycaemia, adherence, burden, quality of life | Selection of patients already likely to improve; assess time-varying adherence and patient preference |
| Does early social support reduce disengagement? | Documented social vulnerability plus diabetes; time zero at first recorded barrier | Social-work or affordability support vs routine care | Medication gaps, missed visits, HbA1c trajectory, acute-care use | Under-recording of unmet social need; use negative controls or quantitative bias analysis for unmeasured social support |
| Does intensified complication surveillance improve outcomes? | Depression plus elevated kidney or cardiovascular risk; time zero at risk identification | Structured surveillance pathway vs usual monitoring | eGFR decline, albuminuria progression, cardiovascular events, patient experience | Reverse causation and competing risks; evaluate informative observation, competing risks, and alternative landmark definitions |
Table 5 Proposed prospective implementation endpoints for integrated decision support
| Domain | Endpoint examples | Interpretation |
| Metabolic outcomes | HbA1c, blood pressure, lipids, hypoglycaemia, weight | Whether care improves cardiometabolic risk without excess burden |
| Mental-health outcomes | Depression score, diabetes distress, quality of life, treatment burden | Whether psychological and lived burden improve |
| Complications | Albuminuria, eGFR decline, retinopathy screening, cardiovascular events, hospitalization | Whether surveillance and risk-factor management change clinical trajectory |
| Equity | Subgroup calibration, intervention uptake, access to technology and support | Whether the pathway reduces or worsens disparities |
| Workflow and cost | Alert burden, clinician time, missed safety-critical cases, time to review, referral completion, emergency visits, hospital admissions, false-positive workload, overrides, interoperability failures | Whether the system is sustainable and economically plausible; staged evaluation should establish usability and safety before comparative testing |
- Citation: Xu ST, Sun M, Xiang Y. Electronic medical records and artificial intelligence for diabetes and depression care: A narrative minireview. World J Diabetes 2026; 17(12): 125342
- URL: https://www.wjgnet.com/1948-9358/full/v17/i12/125342.htm
- DOI: https://dx.doi.org/10.4239/wjd.125342