Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

TabMedQA: From Structured Data to Question-Answer Datasets in Early Clinical Decision-Making

Gabriel Iturra-Bocaz, Petra Galuščáková, Sol Vedde, View ORCID ProfileAlvaro Fernandez-Quilez
doi: https://doi.org/10.64898/2026.08.19.26360779
Gabriel Iturra-Bocaz
1University of Stavanger
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Petra Galuščáková
1University of Stavanger
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Sol Vedde
2Stavanger University Hospital
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Alvaro Fernandez-Quilez
2Stavanger University Hospital
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Alvaro Fernandez-Quilez
  • For correspondence: alvaro.fquilez{at}gmail.com
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

Abstract

The rising adoption of Large Language Models (LLMs) and Retrieval Augmented Generation (RAG) in clinical general practice demands datasets that capture realistic early-stage clinical decision-making, where experts must decide on follow-up actions based on sparse, structured patient data. Existing medical Question–Answering (QA) resources primarily address post-diagnostic or specialist settings and rarely reflect how General Practitioners (GPs) document and justify early decisions based on clinical observations from Electronic Health Records (EHRs) and grounded on clinical guidelines. We present TabMedQA, a framework for synthesizing QA collections that emulate how GPs formulate and document decisions in encounter notes during early patient assessments. TabMedQA leverages instruction-tuned LLMs, guided by disease-specific clinical guidelines, to generate full encounter notes composed of a guideline-grounded justification and a corresponding follow-up recommendation directly from structured EHR inputs. The framework further supports RAG-based evaluation, simulating how GPs might consult previous patient encounters to inform new consultations. We demonstrate the application and resulting resource use of TabMedQA on prostate cancer using the publicly available PI-CAI collection and release the resulting PI-CAI QA collection, resource generation templates, and TabMedQA code. To the best of our knowledge, TabMedQA provides the first open framework for creating guideline-grounded, EHR-based QA collections that enable the generation and holistic evaluation of LLM-produced clinical encounter notes, bridging decision-making accuracy with clinical encounter quality in general practice.

Competing Interest Statement

The authors have declared no competing interest.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

The data was available from PICAI repository. This research study was conducted using retrospectively open-access human subject data (Saha et al., 2024). The use was approved by the institutional review board of all PI-CAI centers.

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.

Yes

Footnotes

  • {gabriel.e.iturrabocaz{at}uis.no, petra.galuscakova{at}uis.no, alvaro.f.quilez{at}uis.no}

  • s.gedde{at}sus.no

Data Availability

All data produced are available on the GitHub repository linked in the article

https://github.com/iai-group/cl4health-tabmedqa/

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. All rights reserved. No reuse allowed without permission.
Back to top
PreviousNext
Posted August 21, 2026.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
TabMedQA: From Structured Data to Question-Answer Datasets in Early Clinical Decision-Making
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
TabMedQA: From Structured Data to Question-Answer Datasets in Early Clinical Decision-Making
Gabriel Iturra-Bocaz, Petra Galuščáková, Sol Vedde, Alvaro Fernandez-Quilez
medRxiv 2026.08.19.26360779; doi: https://doi.org/10.64898/2026.08.19.26360779
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
TabMedQA: From Structured Data to Question-Answer Datasets in Early Clinical Decision-Making
Gabriel Iturra-Bocaz, Petra Galuščáková, Sol Vedde, Alvaro Fernandez-Quilez
medRxiv 2026.08.19.26360779; doi: https://doi.org/10.64898/2026.08.19.26360779

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Urology
Subject Areas
All Articles
  • Addiction Medicine (617)
  • Allergy and Immunology (899)
  • Anesthesia (330)
  • Cardiovascular Medicine (4804)
  • Dentistry and Oral Medicine (478)
  • Dermatology (414)
  • Emergency Medicine (648)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1625)
  • Epidemiology (15925)
  • Forensic Medicine (32)
  • Gastroenterology (1202)
  • Genetic and Genomic Medicine (7038)
  • Geriatric Medicine (732)
  • Health Economics (1064)
  • Health Informatics (5033)
  • Health Policy (1432)
  • Health Systems and Quality Improvement (1758)
  • Hematology (584)
  • HIV/AIDS (1343)
  • Infectious Diseases (except HIV/AIDS) (16282)
  • Intensive Care and Critical Care Medicine (1170)
  • Medical Education (667)
  • Medical Ethics (153)
  • Nephrology (722)
  • Neurology (7260)
  • Nursing (366)
  • Nutrition (1080)
  • Obstetrics and Gynecology (1240)
  • Occupational and Environmental Health (1004)
  • Oncology (3603)
  • Ophthalmology (1049)
  • Orthopedics (397)
  • Otolaryngology (451)
  • Pain Medicine (470)
  • Palliative Medicine (139)
  • Pathology (706)
  • Pediatrics (1795)
  • Pharmacology and Therapeutics (737)
  • Primary Care Research (765)
  • Psychiatry and Clinical Psychology (5886)
  • Public and Global Health (9742)
  • Radiology and Imaging (2412)
  • Rehabilitation Medicine and Physical Therapy (1448)
  • Respiratory Medicine (1247)
  • Rheumatology (640)
  • Sexual and Reproductive Health (771)
  • Sports Medicine (578)
  • Surgery (775)
  • Toxicology (107)
  • Transplantation (304)
  • Urology (290)