Saved in:
Bibliographic Details
Main Authors: Morgado, Sofia, Valdeira, Filipa, Sander, Niklas, Ferreira, Diogo, Vilela, Marta, Menezes, Miguel, Soares, Cláudia
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2604.13077
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913032318222336
author Morgado, Sofia
Valdeira, Filipa
Sander, Niklas
Ferreira, Diogo
Vilela, Marta
Menezes, Miguel
Soares, Cláudia
author_facet Morgado, Sofia
Valdeira, Filipa
Sander, Niklas
Ferreira, Diogo
Vilela, Marta
Menezes, Miguel
Soares, Cláudia
contents Coronary angiography (CAG) reports contain clinically relevant physiological measurements, yet this information is typically in the form of unstructured natural language, limiting its use in research. We investigate the use of Large Language Models (LLMs) to automatically extract these values, along with their anatomical locations, from Portuguese CAG reports. To our knowledge, this study is the first addressing physiology indexes extraction from a large (1342 reports) corpus of CAG reports, and one of the few focusing on CAG or Portuguese clinical text. We explore local privacy-preserving general-purpose and medical LLMs under different settings. Prompting strategies included zero-shot, few-shot, and few-shot prompting with implausible examples. In addition, we apply constrained generation and introduce a post-processing step based on RegEx. Given the sparsity of measurements, we propose a multi-stage evaluation framework separating format validity, value detection, and value correctness, while accounting for asymmetric clinical error costs. This study demonstrates the potential of LLMs in for extracting physiological indices from Portuguese CAG reports. Non-medical models performed similarly, the best results were obtained with Llama with a zero-shot prompting, while GPT-OSS demonstrated the highest robustness to changes in the prompts. While MedGemma demonstrated similar results to non-medical models, MedLlama's results were out-of-format in the unconstrained setting, and had a significant lower performance in the constrained one. Changes in the prompt techinique and adding a RegEx layer showed no significant improvement across models, while using constrained generation decreased performance, although having the benefit of allowing the usage of specific models that are not able to conform with the templates.
format Preprint
id arxiv_https___arxiv_org_abs_2604_13077
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Can Large Language Models Reliably Extract Physiology Index Values from Coronary Angiography Reports?
Morgado, Sofia
Valdeira, Filipa
Sander, Niklas
Ferreira, Diogo
Vilela, Marta
Menezes, Miguel
Soares, Cláudia
Computation and Language
Coronary angiography (CAG) reports contain clinically relevant physiological measurements, yet this information is typically in the form of unstructured natural language, limiting its use in research. We investigate the use of Large Language Models (LLMs) to automatically extract these values, along with their anatomical locations, from Portuguese CAG reports. To our knowledge, this study is the first addressing physiology indexes extraction from a large (1342 reports) corpus of CAG reports, and one of the few focusing on CAG or Portuguese clinical text. We explore local privacy-preserving general-purpose and medical LLMs under different settings. Prompting strategies included zero-shot, few-shot, and few-shot prompting with implausible examples. In addition, we apply constrained generation and introduce a post-processing step based on RegEx. Given the sparsity of measurements, we propose a multi-stage evaluation framework separating format validity, value detection, and value correctness, while accounting for asymmetric clinical error costs. This study demonstrates the potential of LLMs in for extracting physiological indices from Portuguese CAG reports. Non-medical models performed similarly, the best results were obtained with Llama with a zero-shot prompting, while GPT-OSS demonstrated the highest robustness to changes in the prompts. While MedGemma demonstrated similar results to non-medical models, MedLlama's results were out-of-format in the unconstrained setting, and had a significant lower performance in the constrained one. Changes in the prompt techinique and adding a RegEx layer showed no significant improvement across models, while using constrained generation decreased performance, although having the benefit of allowing the usage of specific models that are not able to conform with the templates.
title Can Large Language Models Reliably Extract Physiology Index Values from Coronary Angiography Reports?
topic Computation and Language
url https://arxiv.org/abs/2604.13077