论文 · 队列研究
使用大语言模型从非结构化急诊科记录自动计算PECARN腹部损伤规则
Automated Calculation of the Pediatric Emergency Care Applied Research Network (PECARN) Intra-Abdominal Injury Rule from Unstructured Emergency Department Notes Using a Large Language Model
作者:Leisha Devisetti, Belinda Chen, Newton Addo, Kush Narang, Chris Alvarez, John Kornak, Chandan Singh, Aaron E Kornblith
J Am Coll Emerg Physicians Open · 2026年10月8日 · Devisetti 等 8 位作者
不需要生物学背景,多打比方
正在阅读全文并生成讲解…
已等待 0 秒大约需要 10–20 秒
可以先看别的,做好了会自动出现在这里。
这篇还没有动画
动画会把研究的流程、作用机制和关键结果一步一步演示出来,每一步都标明出自原文哪里。制作大约需要一两分钟。
摘要Abstract
Objective: The Pediatric Emergency Care Applied Research Network (PECARN) intra-abdominal injury clinical prediction rule identifies children at very low risk for clinically significant intra-abdominal injury after blunt abdominal trauma. However, retrospective evaluation of the rule’s use in practice requires resource-intensive chart review. We investigated whether large language models (LLMs) can automatically calculate PECARN intra-abdominal injury risk scores from real-world unstructured emergency department (ED) notes.
Methods: We conducted a retrospective secondary analysis of children after blunt abdominal trauma presenting to 2 urban pediatric EDs. The LLM, OpenAI o1, was compared with clinician-derived standards for PECARN risk scores and predictor variable extraction from unstructured physician ED notes. Performance was assessed using standard diagnostic test characteristics.
Results: Among 196 children with complete ED notes, the LLM calculated binary PECARN risk scores with 95.4% accuracy (95% confidence interval [CI] 92.5 to 98.3), 94.4% sensitivity (95% CI 90.6 to 98.2), 98.2% specificity (95% CI 94.6 to 100), and an F1 score of 0.97 (95% CI 0.90 to 0.98). Agreement by weighted Cohen’s kappa between multicategorical LLM-derived risk scores and clinician-derived risk scores was high, 0.96 (95% CI 0.92 to 1.00). Predictor variable extraction demonstrated strong performance across all PECARN variables, with accuracy greater than 94%.
Conclusion: The LLM had comparable performance to clinicians in calculating binary and multicategorical PECARN intra-abdominal injury risk scores and extracting predictor variables from unstructured ED notes. LLMs may enable automated calculation of clinical prediction rules from clinical documentation.
Keywords: clinical decision rules, large language models, abdominal injuries, pediatric emergency medicine
Main text
Can a large language model calculate the Pediatric Emergency Care Applied Research Network intra-abdominal injury rule from emergency physician notes?
In this retrospective study of 196 children with blunt abdominal trauma at 2 academic pediatric emergency departments, the model calculated rule-based risk scores with 95.4% accuracy compared with clinicians. Sensitivity was 94.4% and negative predictive value was 86.9% for identifying children at very low risk of injury. These results suggest that automated rule calculation from clinical notes is feasible for research and quality review, but larger external validation is needed before use to guide bedside imaging decisions.
Introduction / Background
The Pediatric Emergency Care Applied Research Network (PECARN) intra-abdominal injury clinical prediction rule identifies children at very low risk for clinically significant intra-abdominal injury after blunt abdominal trauma. It supports reduced use of computed tomography scans, which expose children to ionizing radiation and increased lifetime malignancy risk. More broadly, clinical prediction rules support consistent, evidence-based clinical predictions in emergency medicine.,,
Introduction / Importance
Although clinicians can apply the PECARN intra-abdominal injury rule at the bedside, retrospective evaluation of how the rule is used in practice remains challenging because predictor variables are documented inconsistently or require subjective interpretation during chart review, introducing inter-rater variability., Many PECARN predictor variables are documented within unstructured clinical notes, making retrospective calculation of PECARN risk scores labor-intensive and difficult to scale. Reliable methods to automatically extract predictor variables and calculate PECARN risk scores could support quality monitoring, research validation, and future clinical prediction support applications. LLMs offer a potential approach to automatically calculate clinical prediction rules from unstructured clinical notes and generate risk scores without manual data entry or review., However, it remains unclear whether LLMs can accurately calculate the PECARN intra-abdominal injury risk scores from real-world emergency department (ED) notes.
Introduction / Goals of This Investigation
We evaluated whether an LLM can accurately calculate PECARN intra-abdominal injury risk scores from real-world unstructured ED notes compared with clinician-derived scores from chart review. We also assessed the LLM’s ability to extract the individual predictor variables used to generate those scores.
Methods / Study Design and Setting
We conducted a retrospective secondary analysis on a random sample of 198 electronic health records (EHRs) of children 18 years old or younger, who presented after blunt abdominal trauma and received a Focused Assessment with Sonography for Trauma (FAST). The 2 study sites were University of California, San Francisco (UCSF)-affiliated academic pediatric EDs: an urban tertiary/quaternary referral center (∼25,000 annual visits) and a Level 1 pediatric trauma center (∼45,000 annual visits). Both share an EHR instance, semistructured documentation templates, and some pediatric emergency medicine physicians. We reviewed physician ED notes only because the treating ED physician applies the PECARN intra-abdominal infection (IAI) rule. This study was approved as exempt by the UCSF Institutional Review Board and reported according to the TRIPOD-LLM guidelines and the Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) Statement: guidelines for reporting observational studies (Supplemental Methods).,
Methods / Selection of Participants
We included children who met local trauma activation criteria in the period from March 2018 to January 2021, and excluded children with penetrating injuries and any patients missing a physician ED note or final diagnosis code (Fig S1, Fig S2). The study window spans the period when EHR documentation and archived FAST data were harmonized.
Methods / Measurements and Outcomes
Our primary outcomes were measures of concordance between the LLM and clinicians across 3 levels of the PECARN intra-abdominal injury clinical prediction rule: binary risk scores (very low risk vs. not very low risk), multicategorical risk scores (very low, moderate, and high risk), and individual predictor variable extraction.
Methods / Clinician predictor variable extraction and risk score calculation
To create the reference standard, 2 clinicians (LD; CA) independently reviewed physician ED notes to identify whether each PECARN intra-abdominal injury predictor variable and/or a dangerous mechanism of injury was positive, negative, or missing per prespecified criteria (Table 1). Disagreements were resolved by a physician-investigator (AK). To enable binary classification, missing predictor variables were classified as “negative” because missing documentation was judged more likely to be a negative than a positive finding, consistent with prior approaches., Using clinician-derived predictor variables, we calculated binary and multicategorical PECARN risk scores per the original decision tree.
Table 1. Operational definitions of the PECARN intra-abdominal injury predictor variables.
Methods / Intra-abdominal injury reference standard development
For secondary outcomes, we reviewed charts to determine whether the child had intra-abdominal injury or intra-abdominal injury requiring acute intervention using hospital final diagnoses and International Classification of Diseases (ICD)-10 diagnosis codes. We reviewed charts to identify acute interventions using previously defined PECARN criteria.
Methods / Model Selection
We evaluated GPT-4o-mini (gpt-4o-mini-2024-07-18) and GPT-4.1 (gpt-4.1-2025-04-14) using default sampling parameters (temperature = 1.0, no seed set), and OpenAI o1 (o1-2024-12-17; medium reasoning effort). One inference run was performed per clinical note. OpenAI o1 was selected for final analyses because it demonstrated the highest accuracy at the predictor variable level (Table S1).
Methods / LLM predictor variable extraction and risk score calculation
The LLM was prompted to extract the 7 PECARN predictor variables and dangerous mechanisms individually from unstructured physician ED notes using zero-shot prompting with function calls for structured outputs. Median note length was 845 words with no empty notes, and all note sections were provided. The prompt provided definitions for each predictor variable and instructed the model to classify each as positive or negative from the text alone. LLM prompts were developed over 2 rounds and are recorded in the Supplemental Methods. Two clinicians (LD; AK) assessed discordant LLM–clinician predictor variable extractions to identify misclassification patterns and refine prompts with clearer criteria (Table 1). For risk score calculation, we used the LLM’s extracted predictor variables to generate both a binary and a multicategorical risk score based on the original PECARN decision tree.
Methods / LLM-derived binary risk scores vs. intra-abdominal injury reference standards
We evaluated LLM-derived binary risk scores in discriminating patients with intra-abdominal injury from those without. Performance was assessed separately against the clinician-derived intra-abdominal injury and intra-abdominal injury requiring acute intervention reference standards.
Methods / Data Analysis
LLM-derived binary risk score calculation and predictor variable extraction were compared with clinician-derived calculation and extraction using standard diagnostic test characteristics (accuracy, sensitivity, specificity, positive predictive value, negative predictive value, and F1 score). For the multicategorical risk scores, we generated a confusion matrix and assessed inter-rater agreement between the LLM and clinicians using weighted Cohen’s kappa. All model inference and data processing were conducted within the secure UCSF Research Analysis Environment and Versa secure computing environments, and all analyses were performed in Python 3.11 (Python Software Foundation).
Results / Characteristics of Study Subjects
Two of the 198 children were excluded because of missing ED notes, yielding a final study cohort of 196 patients (112 boys, 84 girls) with a mean age of 7.8 years (SD 5.3, range 0 to 18 years). Four children (2.0%) had intra-abdominal injury, of whom one required acute intervention (0.5%).
Results / Main Results
The LLM binary risk scores achieved a sensitivity of 94.4% (95% CI 90.6 to 98.2) and a negative predictive value of 86.9% (95% CI 78.4 to 95.4) compared with the clinician-derived binary risk scores. Overall accuracy was 95.4% (95% CI 92.5 to 98.3), specificity was 98.2% (95% CI 94.6 to 100), positive predictive value was 99.3% (95% CI 97.8 to 100), and F1 score was 0.97 (95% CI 0.90 to 0.98). The LLM required 2 hours to process all 196 encounters. Agreement between the LLM-derived and clinician-derived multicategorical risk scores by weighted Cohen’s kappa was 0.96 (95% CI 0.92 to 1.00). Figure 1 presents the confusion matrix comparing the multicategorical risk scores from the LLM and the clinician. In both cases where the clinician calculated a high-risk score and the LLM calculated a very low risk score, the LLM missed abdominal wall trauma; neither child had IAI.
Figure 1. Confusion matrix for Large Language Model (LLM)-derived and clinician-derived multi-categorical PECARN risk scores.
Across all 8 variables evaluated, the LLM generated 1568 labels, of which 23 (1.47%) were discordant with the clinician-derived labels. Most discordance involved dangerous mechanism of injury (11/23, 47.8%), abdominal wall trauma (4/23, 17.4%), chest wall trauma (3/23, 13.0%), decreased breath sounds (2/23, 8.7%), abdominal tenderness (2/23, 8.7%), and abdominal pain (1/23, 4.3%). Table 2 reports LLM performance for the extraction of individual PECARN intra-abdominal injury predictor variables.
Table 2. Test characteristics of Large Language Model extraction of PECARN intra-abdominal injury clinical prediction rule predictor variables (N=196).
Qualitative review of discordant labels revealed variable-specific error patterns, including missing quantitative details for dangerous mechanisms, failure to recognize anatomical descriptors for abdominal wall trauma, classification of chest wall trauma due to blunt trauma without evidence of external injury, nonstandard phrasing for decreased breath sounds, pain attributed to nontraumatic causes, and conflicting documentation for abdominal tenderness (Figure S3).
As a secondary outcome, LLM-derived risk scores demonstrated 100% sensitivity for intra-abdominal injury and intra-abdominal injury requiring acute intervention, although confidence intervals were wide, because of the low prevalence of these outcomes (Table 3).
Table 3. Test characteristics for Large Language Model calculation of binary PECARN intra-abdominal injury risk scores identifying intra-abdominal injury (N=196).
局限性Limitations
Our study has several limitations. First, clinicians establishing the reference standard were not blinded to LLM outputs, which may have inflated agreement. However, consensus adjudication is an accepted method for improving reference standard quality involving clinically interpreted variables.,,, Fully blinded adjudication would strengthen future work. Second, the low prevalence of intra-abdominal injury and several PECARN predictor variables yielded binary risk scores with lower negative predictive value and wide confidence intervals, restricting utility beyond quality improvement and research applications. Because the primary objective was to evaluate LLM risk score calculation rather than clinical outcome prediction, larger cohorts enriched for clinical outcomes are needed. Third, developing operational definitions for predictor variables revealed inconsistencies in the reference standard that required adjudication, such as defining the extent of abrasion coverage in abdominal wall trauma. As a result, ambiguity in these definitions may have limited clinician and LLM performance. Fourth, iterative prompt refinement may have overfit to institution-specific documentation patterns. External validation and site-specific prompt tuning may be required, particularly for dangerous mechanism of injury. Fifth, classifying missing documentation as “negative” may have affected performance estimates. Although this reflects the binary structure of the PECARN IAI rule, some undocumented findings may have been positive, especially chest wall and abdominal wall trauma, which lack structured entries. Sixth, we analyzed only physician ED notes. Future work could investigate alternative missing-data strategies, including missingness indicators and additional documentation sources, and how objective definitions within clinical prediction rules impact clinician baseline extraction and downstream LLM performance.
讨论Discussion
In this retrospective single-system study, the LLM calculated the PECARN intra-abdominal injury risk scores from unstructured physician ED notes with performance comparable to clinician reviewers. LLM performance varied across PECARN predictor variables. Accuracy was highest for objective findings, such as Glasgow Coma Scale score <14, abdominal tenderness, and decreased breath sounds, and lowest for dangerous mechanism of injury, whereas all other variables demonstrated similarly high performance. The observed differences in performance highlighted the importance of clear operational definitions for individual predictor variables.
Developing explicit operational definitions emerged as a key determinant of both clinician consistency and LLM performance. Standardized definitions improved clinician consistency among reviewers when establishing the reference standard. For example, defining dangerous mechanisms required iterative review by the investigators because several mechanisms encountered during chart abstraction were not explicitly addressed in the original PECARN study definitions. LLM performance depended on the clarity and consistency of the clinical definitions used to operationalize predictor variables. Discordant cases frequently reflected ambiguity in the underlying definitions rather than model errors, suggesting that LLMs may help identify and refine imprecise clinical variable definitions, supporting rule development and bedside interpretability. Notably, the LLM applied definitions strictly and did not consider a mechanism of injury as dangerous if the necessary quantitative information, such as fall height or motor vehicle crash speed, was not documented.
Previous efforts to automate clinical prediction rules have relied on structured EHR data, traditional natural language processing, or manual chart abstraction. Although effective, each approach faces important scalability limitations. Structured EHR-based approaches depend on documentation in designated fields, which is typically inconsistent in clinical practice. Conventional natural language processing methods can extract information from narrative text but typically require task-specific development. Manual chart abstraction remains the standard approach, but is labor-intensive and difficult to sustain at scale. Recent studies have demonstrated that LLMs can perform complex chart abstraction tasks from clinical notes, overcoming these issues.,, Our findings extend this work by demonstrating LLM calculation of a validated clinical prediction rule from routine documentation without structured data entry or task-specific development. Future work should evaluate whether this approach generalizes across institutions, EHR systems, and documentation cultures.
In conclusion, LLM-derived intra-abdominal injury risk scores may be useful for quality improvement and research applications, including auditing adherence to clinical prediction rules, standardizing predictor definitions, and evaluating prediction rule performance across sites without resource-intensive chart review. Future work should validate this LLM-based approach prospectively with greater outcome prevalence across institutions before implementing clinician-facing applications.
Ethics Declarations
The authors have NOT obtained informed consent from participants or their legal representatives. This study was approved by the University of California, San Francisco Institutional Review Board (25-43740), which granted a waiver of informed consent and parental permission. The study was a retrospective analysis of existing emergency department records, involving no intervention and no contact with patients or families, and posing no more than minimal risk. Obtaining consent from every family in a cohort of this size, for encounters that had already occurred, was not practicable, and the waiver did not adversely affect the rights or welfare of the participants. All data were de-identified before analysis and stored on secure institutional servers. The study was conducted in accordance with the Declaration of Helsinki.
This study was performed in compliance with relevant laws, regulatory frameworks and guidelines where the research took place. This study was approved by the University of California, San Francisco. (Approval No. 25-43740)
还没有查过关联研究
我会去找这篇研究之前的基础工作、做类似事情的研究,以及之后引用它的研究,并说明每篇为什么相关。