Skip to content
DraconiticResearch
Search Sources API
203,952 studies31 sourcesUpdated 10 min ago
Peer-reviewedCC BY 4.0JMIR Medical Informatics

Automating Injury Severity Score Calculation From Free-Text Discharge Diagnoses Using Domain-Specific Retrieval-Augmented Large Language Models: Retrospective Validation Study

4 affiliations
  1. 1Department of Artificial Intelligence College of Intelligent Computing Chang Gung University Taoyuan Taiwan
  2. 2Artificial Intelligence Research Center Chang Gung University Taoyuan Taiwan
  3. 3School of Medicine Chang Gung University Taoyuan Taiwan
  4. 4Department of Surgery Division of Trauma and Emergency Surgery Chang Gung Memorial Hospital Taoyuan Taiwan

Abstract

Background: Trauma registries are crucial for evaluating the prognosis of injuries and the quality of trauma care. However, the calculation of Injury Severity Score (ISS) remains a predominantly manual process, which is labor-intensive, potentially error-prone, and difficult to scale. Automating this process is a critical step toward enhancing the efficiency and quality of trauma registry data.

Objective: This study conducts a feasibility test on the use of large language models (LLMs) to automatically calculate ISS from free-text discharge diagnoses. We specifically investigate the efficacy of retrieval-augmented generation (RAG) to enhance LLM accuracy by incorporating knowledge from the Abbreviated Injury Scale. We compare the performance of baseline LLMs against models augmented with both a standard RAG and a novel, domain-specific RAG framework.

Methods: In this retrospective validation study, we used deidentified, free-text discharge diagnoses from trauma patients at Chang Gung Memorial Hospital (Linkou, Taiwan) in 2022. Against a physician-verified gold standard, we compared the performance of three systems: (1) baseline LLMs, (2) LLMs with standard RAG, and (3) LLMs with domain-specific RAG, for which the retriever was fine-tuned on trauma-related ICD-10 (International Statistical Classification of Diseases, Tenth Revision) codes. Performance was evaluated on a physician-verified test set across exact ISS prediction, tolerance-based accuracy, and ISS severity categories.

Results: Baseline state-of-the-art LLMs achieve modest exact-match (EM) accuracy, ranging from 47.3% to 64.7%. Standard RAG did not produce consistent gains (54.3% to 60.3%), whereas the domain-specific RAG substantially improved accuracy (62.7% to 75.3%). Performance gains were most pronounced in patients with moderate to severe injuries. GPT-4.1 with domain-specific RAG reached the highest EM accuracy (75.3%, 95% CI 66.1%-82.7%), compared with 70.0% for the deterministic International Classification of Diseases and R statistical software (ICDPIC-R) baseline. Tolerance-based and categorical analyses confirm substantial gains with the domain-specific RAG framework in clinically relevant ranges.

Conclusions: This single-center feasibility study suggests that LLMs augmented with a domain-specific retriever can calculate the ISS from free-text discharge diagnoses with overall accuracy comparable to that of a deterministic coding tool, with the advantage concentrated in the most severe injuries. This approach may help alleviate the administrative burden of manual coding, enhance standardization, and improve the quality of trauma registry data. Future multi-institutional validation is needed to confirm these findings.

Related

  1. Development and internal validation of a simple risk stratification score for unplanned emergency department revisits within 24 hours after discharge: A retrospective observational study
    Hidetaka Onda, Yuma Kuramatsu, Toyoaki Yamamoto +8
    PLOS OnePeer-reviewedCC BY 4.0Full textCell biologyImmunologyPLOS
  2. Retrospective Review of Suspected Melanoma Diagnoses Made by a Single-Centre Teledermoscopy Service in New Zealand.
    Savani Kannangara, Amanda Oakley
    Dermatology practical & conceptualPeer-reviewedCC BY-NCFull textOncologyEurope PMC
  3. AAPT Fibromyalgia Criteria and Concomitant Musculoskeletal Diagnoses in a Referral-Based Pain Clinic Cohort: A Retrospective Pilot Study
    Alessandro Casarella, Vincenzo Rania, Cristina Vocca +9
    Healthcare (Basel, Switzerland)Peer-reviewedCC BYFull textEurope PMC
  4. Validation of a nursing consultation protocol for preterm infants after hospital discharge.
    Kelly Saboia Menezes Dias, Alessandra Carvalho Soares Rosa, Wilton Kevin Silva Alencar +1
    Revista brasileira de enfermagemPeer-reviewedCC BYFull textEurope PMC
  5. Adjudicating evolving inpatient diagnoses with a clinical coding agent: a retrospective multicentre study
    Y. Li, Y. Shi, Y. Sun +8
    medRxivPreprintCC BY-NC-NDFull textEpidemiology & public healthmedRxiv
BibTeX
@article{lin2026automating,
  title = {{Automating Injury Severity Score Calculation From Free-Text Discharge Diagnoses Using Domain-Specific Retrieval-Augmented Large Language Models: Retrospective Validation Study}},
  author = {Ying-Jia Lin and Kuan-Yueh Fang and Chien-Hung Liao and Chi-Tung Cheng},
  journal = {JMIR Medical Informatics},
  year = {2026},
  month = oct,
  doi = {10.2196/93922},
  url = {https://doi.org/10.2196/93922},
  note = {CC BY 4.0},
}
RIS
TY  - JOUR
TI  - Automating Injury Severity Score Calculation From Free-Text Discharge Diagnoses Using Domain-Specific Retrieval-Augmented Large Language Models: Retrospective Validation Study
AU  - Ying-Jia Lin
AU  - Kuan-Yueh Fang
AU  - Chien-Hung Liao
AU  - Chi-Tung Cheng
PY  - 2026
DA  - 2026/10/13
JO  - JMIR Medical Informatics
DO  - 10.2196/93922
UR  - https://doi.org/10.2196/93922
AB  - Background: Trauma registries are crucial for evaluating the prognosis of injuries and the quality of trauma care. However, the calculation of Injury Severity Score (ISS) remains a predominantly manual process, which is labor-intensive, potentially error-prone, and difficult to scale. Automating this process is a critical step toward enhancing the efficiency and quality of trauma registry data.  Objective: This study conducts a feasibility test on the use of large language models (LLMs) to automatically calculate ISS from free-text discharge diagnoses. We specifically investigate the efficacy of retrieval-augmented generation (RAG) to enhance LLM accuracy by incorporating knowledge from the Abbreviated Injury Scale. We compare the performance of baseline LLMs against models augmented with both a standard RAG and a novel, domain-specific RAG framework.  Methods: In this retrospective validation study, we used deidentified, free-text discharge diagnoses from trauma patients at Chang Gung Memorial Hospital (Linkou, Taiwan) in 2022. Against a physician-verified gold standard, we compared the performance of three systems: (1) baseline LLMs, (2) LLMs with standard RAG, and (3) LLMs with domain-specific RAG, for which the retriever was fine-tuned on trauma-related ICD-10 (International Statistical Classification of Diseases, Tenth Revision) codes. Performance was evaluated on a physician-verified test set across exact ISS prediction, tolerance-based accuracy, and ISS severity categories.  Results: Baseline state-of-the-art LLMs achieve modest exact-match (EM) accuracy, ranging from 47.3% to 64.7%. Standard RAG did not produce consistent gains (54.3% to 60.3%), whereas the domain-specific RAG substantially improved accuracy (62.7% to 75.3%). Performance gains were most pronounced in patients with moderate to severe injuries. GPT-4.1 with domain-specific RAG reached the highest EM accuracy (75.3%, 95% CI 66.1%-82.7%), compared with 70.0% for the deterministic International Classification of Diseases and R statistical software (ICDPIC-R) baseline. Tolerance-based and categorical analyses confirm substantial gains with the domain-specific RAG framework in clinically relevant ranges.  Conclusions: This single-center feasibility study suggests that LLMs augmented with a domain-specific retriever can calculate the ISS from free-text discharge diagnoses with overall accuracy comparable to that of a deterministic coding tool, with the advantage concentrated in the most severe injuries. This approach may help alleviate the administrative burden of manual coding, enhance standardization, and improve the quality of trauma registry data. Future multi-institutional validation is needed to confirm these findings.
SN  - 2291-9694
ER  -