Language Models Analyze Medical Notes to Identify Reasons Patients Discontinue Medication
- Text A study published in the Journal of Medical Informatics in June 2026 reveals that artificial intelligence models trained on physicians’ clinical notes have identified common reasons patients...
- Text The AI system, developed by UCSF’s Digital Health Initiative, processed unstructured text from doctors’ notes to detect patterns in patient behavior.
- Text “Doctors often note concerns about medication in free-text fields, but these insights are buried in vast datasets,” said Dr.
Text
A study published in the Journal of Medical Informatics in June 2026 reveals that artificial intelligence models trained on physicians’ clinical notes have identified common reasons patients discontinue prescribed medications, offering new insights into adherence challenges. The research, conducted by a team at the University of California, San Francisco (UCSF), analyzed anonymized electronic health records from over 12,000 patients across three U.S. hospitals.
Text
The AI system, developed by UCSF’s Digital Health Initiative, processed unstructured text from doctors’ notes to detect patterns in patient behavior. Researchers found that 43% of medication discontinuations were linked to side effects, 28% to financial barriers, and 19% to perceived lack of efficacy. These findings align with prior surveys but provide more granular data by directly analyzing clinician observations rather than patient self-reports.

Text
“Doctors often note concerns about medication in free-text fields, but these insights are buried in vast datasets,” said Dr. Aisha Patel, lead author of the study. “Our model extracts these implicit cues, revealing systemic issues that traditional surveys might miss.” The team validated results by cross-referencing AI-generated insights with patient follow-up interviews, achieving 89% accuracy in identifying reasons for discontinuation.
Text
The study highlights disparities in medication adherence across demographics. Patients from low-income ZIP codes were 2.3 times more likely to discontinue medications due to cost, according to the analysis. Additionally, non-English-speaking patients had a 17% higher rate of discontinuation linked to communication gaps with providers. These findings underscore the role of socioeconomic and linguistic factors in healthcare outcomes.
Text
Health officials have praised the approach for its potential to improve patient care. “This tool could help clinicians proactively address barriers before they lead to complications,” said Dr. Michael Torres, a public health expert at the Centers for Disease Control and Prevention (CDC). The CDC is now exploring partnerships with tech firms to integrate similar AI systems into routine care workflows.
Text
However, the research also raises ethical concerns. Critics warn that AI-driven analysis of clinical notes could inadvertently reinforce biases if training data reflects existing disparities. “We must ensure these tools don’t perpetuate inequities by over-relying on historical patterns,” said Dr. Lena Kim, a bioethicist at Harvard Medical School. The UCSF team acknowledges these risks and emphasizes that their model is designed to flag patterns rather than replace human judgment.
Text
The study’s authors plan to expand the research to include data from rural clinics and underserved communities. They also aim to test whether providing clinicians with AI-generated insights reduces medication discontinuation rates. A pilot program at a community health center in Texas showed a 12% improvement in adherence among patients whose providers received AI-driven summaries of potential barriers.

Text
This development comes amid growing interest in leveraging AI to address healthcare access issues. In 2025, the U.S. Food and Drug Administration (FDA) approved a similar tool for predicting adverse drug reactions, and the World Health Organization (WHO) has called for greater use of digital health innovations to bridge care gaps.
Text
For patients, the research underscores the importance of open communication with providers. “If you’re struggling with medication costs or side effects, speak up,” said Dr. Patel. “These conversations shape the notes that AI systems later analyze—and ultimately influence care decisions.”
Text
As AI integration in healthcare accelerates, experts stress the need for transparency. The UCSF team has made their methodology publicly available, inviting peer review and collaboration. “This is a starting point, not a final answer,” said Dr. Patel. “Our goal is to empower providers with better tools, not to replace the human element of care.”
