MedElevator Войти в исследования
← Поиск публикаций

DOI 10.64898/2026.01.21.26344531

Медицинская библиотека · medRxiv : the preprint server for health sciences · 2026

Hybrid rule-based and on-premises LLM pipeline for extracting CMR and CPET metrics from free-text reports in repaired tetralogy of Fallot.

Akbasli Izzet T, Beck Kristen L, Liou Wilson, Du Sherry, Nemer Gabriel, Baloglu Orkun, Latifi Samir Q, Marino Bradley S, Albahra Samer, Tandon Animesh

СтатьяПрепринтПеревод в очереди

Аннотация

BACKGROUND

Patients with repaired tetralogy of Fallot (rTOF) require lifelong surveillance with cardiovascular magnetic resonance (CMR) and cardiopulmonary exercise testing (CPET). However, results are frequently stored as unstructured free-text reports, hindering large-scale analysis and research.

OBJECTIVES

This study aimed to develop and evaluate a privacy-preserving hybrid natural language processing pipeline combining regular expressions (regex) and an on-premises large language model (LLM) to accurately extract key CMR and CPET metrics from legacy free-text reports in patients with rTOF.

METHODS

We retrospectively analyzed 430 CMR and 262 CPET reports (2005-2023) from patients with rTOF. A two-stage hybrid pipeline was implemented: regex rules were applied first, followed by targeted prompting of an on-premises Llama-3.1-8B-Instruct LLM only when regex failed or returned ambiguous results. Performance was compared against regex-only and LLM-only approaches using coverage, precision, recall, and F1-score.

RESULTS

In CMR reports, the hybrid pipeline achieved perfect coverage (1.00) and F1-score (1.00) versus 0.98 coverage and 0.93 F1-score with regex alone, while reducing computational cost by ~75% compared with LLM-only. In CPET reports, the hybrid approach improved F1-score from 0.74 (regex alone) to 0.98, with particularly large gains for semantically complex variables (e.g., peak VO , test termination reason).

CONCLUSIONS

A hybrid regex-on-premises LLM pipeline provides near-perfect, efficient, and HIPAA-compliant extraction of clinical metrics from unstructured cardiology reports, offering a scalable solution for retrospective research and quality improvement in congenital heart disease.

Для цитирования: Akbasli Izzet T, Beck Kristen L, Liou Wilson, Du Sherry, Nemer Gabriel, Baloglu Orkun, Latifi Samir Q, Marino Bradley S, Albahra Samer, Tandon Animesh. Hybrid rule-based and on-premises LLM pipeline for extracting CMR and CPET metrics from free-text reports in repaired tetralogy of Fallot.. medRxiv : the preprint server for health sciences. 2026. DOI: 10.64898/2026.01.21.26344531.
Подготовка и перевод публикации
Обработка статьи · этапы, ошибки и управление
Загрузка состояния…

История · было → стало

Состояние обновляется каждые 5 секунд, пока блок открыт. Процент показывается только там, где известен объём работы. Пауза останавливает продолжение этапа; текущий запрос к источнику может завершиться.

Тип публикации указан по данным источника. Уровень доказательности автоматически не присваивается.