Retrieval-Augmented Large Language Models for Automated Classification of Clinical Narratives

Background: Clinical narratives recorded in the National Electronic Injury Surveillance System (NEISS) are manually coded to assign diagnosis, body part, and product classifications. Although large language models (LLMs) may offer opportunities to automate this process, it remains unclear whether providing official coding guidance improves classification performance. Methods: We analyzed the complete 2025 NEISS public-use file, comprising 410,201 eligible records. Using 179 paired development cases, we evaluated GPT-6 Luna under three configurations: (1) the code dictionary alone, (2) the code dictionary supplemented with five passages retrieved from the 2025 coding manual using retrieval-augmented generation (RAG), and (3) RAG supplemented with output verification. A separate 25-case pilot included rule-based and conventional text-classification baselines. Model failures and abstentions were classified as errors. For the primary product endpoint, a prediction was considered correct if it matched any recorded product. The primary contrast was the difference between RAG and the LLM-only configuration. Results: End-to-end accuracy for diagnosis, body part, and any recorded product was 0.542, 0.564, and 0.464, respectively, for the LLM-only configuration; 0.609, 0.536, and 0.402 for RAG; and 0.642, 0.592, and 0.469 for verified RAG. Compared with the LLM-only configuration, RAG yielded macro-F1 differences of +0.057 (95% bootstrap interval, -0.038 to 0.146) for diagnosis, -0.030 (-0.084 to 0.036) for body part, and -0.062 (-0.084 to 0.001) for the first recorded product (Product 1); none of these differences was statistically significant after Holm adjustment (adjusted P ≥ 0.385). Abstentions, which occurred in 27%-34% of cases, accounted for the majority of errors across systems and classification tasks. Abstention rates were particularly high among patients aged ≥ 65 years, affecting 53%-64% of cases in this age group.

Link
https://doi.org/10.64898/2026.11.30.26369304
Found by
Crossref
Authors
Jiancheng Ye, Mudasser Rasool
Organizations
Cornell University;, Virtual University of Pakistan
Categories
evaluation
Published
2026-12-02
Last seen by the radar
2026-12-04
Citations
0
Radar score
26.75 / 100 (how it is scored)
Why it scored so
Matched: evaluat; Primary record: Crossref
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Crossref