cs.CLAug 17, 2026

Foundation Agents Meet Agentic Deep Research: Evidence-Grounded Clinical Code Forecasting

Authors: Junda Wang, Meysam Ghaffari, Akshat Choube, Mohsen Sharifi Renani, Hong Yu, Carlos Morato

Organizations: University of Massachusetts Amherst, MA, USA · Optum, MN, USA · University of Massachusetts Lowell, MA, USA

Abstract

Next-encounter ICD forecasting predicts which standardized diagnosis codes will be documented at a future visit from the longitudinal record available beforehand. The task is prospective and multi-label: the target note does not yet exist, and several codes may be correct. Structured EHR foundation models capture recurrence and temporal progression, whereas language foundation models generate flexible diagnostic hypotheses. We introduce ICD-Deepresearch, a DeepResearch workflow that composes these predictive foundation models with medical search and ICD dictionaries. Because no source reveals the future code set, research evaluates candidate transitions by linking patient evidence, external clinical relations, and exact code semantics under a fixed top-K budget. Candidate Generation uses SparseEHR to produce an EHR Prior that initializes two bounded Research Expansion rounds; an independent GPT-5 Direct Forecast supplies complementary candidates. Final Selection validates, deduplicates, and jointly ranks both paths, after which a separate module writes rationales without changing predictions. Finally ICD-Deepresearch achieves patient-averaged precision/recall of 24.60/35.09% on MIMIC-III and 25.14/48.32% on MIMIC-IV. Physicians rate 51% and 68% of its retrieved documents useful, compared with 22% and 39% for standalone GPT-5 web search and 32% and 41% for Medical Deep Research. ICD-Deepresearch therefore improves over the registered local comparators while retrieving evidence with higher physician-rated usefulness than the standalone research systems

Figures & tables

Appendix figures & tables30 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Graph-Constrained Policy Learning for Extreme Clinical Code Prediction

    Jul 11, 2026Amritpal Singh, Sebastian Torres, Khawar Shakeel +1Hierarchical ClassificationConstrained Decoding

  2. Primary ICD Category Prediction using LLM-based Probing

    Jun 27, 2026Chengyuan Liu, Xinyue Zhang, Yao Li +1Automated Medical CodingLinear Probing

  3. Hierarchical Modeling of ICD Codes in EHR Foundation Models

    Jun 13, 2026Megha Thukral, Dong Gyun Kang, Rudra Pratap Singh +3Graph Representation LearningHierarchical Representation Learning