Saved in:
Bibliographic Details
Main Authors: Knorr, Marius S., Müller, Robert, Bremer, Jan P., Schweingruber, Nils
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.14126
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910218715136000
author Knorr, Marius S.
Müller, Robert
Bremer, Jan P.
Schweingruber, Nils
author_facet Knorr, Marius S.
Müller, Robert
Bremer, Jan P.
Schweingruber, Nils
contents Fast Healthcare Interoperability Resources (FHIR) is the dominant standard for interoperable exchange of healthcare data. In FHIR, electronic health records form a directed graph of resources. Answering clinically meaningful questions over FHIR requires agents to perform multi-step reasoning, filtering, and aggregation across multiple resource types. Prior work shows that even tool-augmented LLM agents (retrieval, code execution, multi-turn planning) often select the wrong resources or violate traversal constraints. We study this problem in the context of FHIR-AgentBench, a benchmark for realistic question answering over real-world hospital data, and frame reasoning on FHIR as a sequential decision-making problem over a queryable structured graph. We implement a multi-turn CodeAct agent and post-train it with reinforcement learning using a custom harness and tools. A LLM Judge provides execution-grounded rewards. Compared to prompt-based, closed-model baselines, RL post-training improves performance while enforcing data-integrity constraints. Empirically, our approach improves answer correctness from 50% (o4-mini) to 77% on FHIR-AgentBench using a smaller and cheaper Qwen3-8B model. We present an end-to-end post-training pipeline (environment building, harness construction, model training and custom evaluation) that reliably improves multi-turn reasoning over structured clinical graphs.
format Preprint
id arxiv_https___arxiv_org_abs_2605_14126
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Reinforcement Learning for Tool-Calling Agents in Fast Healthcare Interoperability Resources (FHIR)
Knorr, Marius S.
Müller, Robert
Bremer, Jan P.
Schweingruber, Nils
Machine Learning
Artificial Intelligence
Fast Healthcare Interoperability Resources (FHIR) is the dominant standard for interoperable exchange of healthcare data. In FHIR, electronic health records form a directed graph of resources. Answering clinically meaningful questions over FHIR requires agents to perform multi-step reasoning, filtering, and aggregation across multiple resource types. Prior work shows that even tool-augmented LLM agents (retrieval, code execution, multi-turn planning) often select the wrong resources or violate traversal constraints. We study this problem in the context of FHIR-AgentBench, a benchmark for realistic question answering over real-world hospital data, and frame reasoning on FHIR as a sequential decision-making problem over a queryable structured graph. We implement a multi-turn CodeAct agent and post-train it with reinforcement learning using a custom harness and tools. A LLM Judge provides execution-grounded rewards. Compared to prompt-based, closed-model baselines, RL post-training improves performance while enforcing data-integrity constraints. Empirically, our approach improves answer correctness from 50% (o4-mini) to 77% on FHIR-AgentBench using a smaller and cheaper Qwen3-8B model. We present an end-to-end post-training pipeline (environment building, harness construction, model training and custom evaluation) that reliably improves multi-turn reasoning over structured clinical graphs.
title Reinforcement Learning for Tool-Calling Agents in Fast Healthcare Interoperability Resources (FHIR)
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2605.14126