Hiring in life sciences? Share your open positions with our professional community. Read more Close

Advertisement

Leveraging time-series electronic health records with large language models for chronic kidney disease diagnosis in primary care.

Created on 19 Sep 2026

Authors

Jingyi Wu, Yuewen Zheng, Zhijun He, Qianlin Zuo, Weidong Zhang, Pengfei Li, Zhang Luxia

Published in

BMJ health & care informatics. Volume 33. Issue 1. Sep 18, 2026. Epub Sep 18, 2026.

Abstract

Chronic kidney disease (CKD) presents a growing public health challenge in China, exacerbated by low patient awareness and limited nephrology resources. This study evaluated the potential of large language models (LLMs) to support CKD diagnosis in primary care using time-series electronic health record (EHR) data.
Longitudinal data were extracted from the EHR system of Weinan, China. Among 29 963 adults meeting inclusion criteria, 2300 participants were randomly sampled to generate clinical vignettes. CKD status was determined using diagnosis data, and individuals with early kidney injury indicated by laboratory abnormalities who lack a formal diagnosis were also identified. Using the DeepSeek LLM with prompt engineering, we generated binary CKD diagnoses and probability scores based on EHR data. Diagnostic performance was evaluated using accuracy, sensitivity, specificity, F1 score, area under the curve (AUC) and the detection rate for early kidney injury and compared with traditional machine learning (ML) models.
Using 1-month EHR data, the LLM achieved an accuracy of 87.0%, AUC of 0.921, F1 score of 0.579, sensitivity of 89.1%, specificity of 86.8%, and detection rate for early kidney injury of 42.2%. With 1-year data, sensitivity increased to 92.2% and early detection to 52.6%.
The LLM outperformed ML models across most metrics, achieving diagnostic performance comparable to clinicians and further enhancing detection for early kidney injury.
LLMs applied to time-series EHR data may serve as a clinical decision support tool to improve CKD diagnosis in primary care, with particular value in resource-limited settings.

PMID:
42759972
Bibliographic data and abstract were imported from PubMed on 19 Sep 2026.

Read full publication at:
Please sign in to see all details.

Advertisement

Stats

  • Community rating n/a 0 votes
  • Reviewers' rating n/a 0 votes
  • Your rating

1-terrible, 9-excellent. How would you rate this publication? Sign in in to submit your rating.

  • Recommendations n/a n/a positive of 0 vote(s)
  • Views 26
  • Comments 0

Recommended by

  • No recommendations yet.

Post a comment

You need to be signed in to post comments. You can sign in here.

Comments

There are no comments yet.

Advertisement