Authors: Anthony Cuturrufo, Ratul Ghosh, Devashish Khatwani, Krishnaram KenthapadiarXiv 2611.31521

PatientFlowSynth: Evaluating FHIR Agents with Matched Patient Charts was submitted to arXiv on 2026-11-23 by Anthony Cuturrufo, Ratul Ghosh, Devashish Khatwani, Krishnaram Kenthapadi. Read it on arXiv or as a PDF.

Key findings

The main takeaway. In this FHIR benchmark, fixing tool retrieval through prompt guidance can expose classification errors that failed searches previously hid, and the size of the gain depends heavily on the specific model.

The abstract, as written

Agents that search patient charts must classify claims from retrieved records, including cases with missing or conflicting evidence. In Fast Healthcare Interoperability Resources (FHIR), status fields can change how those records should be interpreted. PatientFlowSynth provides 18,000 tasks from 225 synthetic patients and 18 templates that hold the patient, question, and retrieval program fixed across chart variants representing four evidence states. Re-executing the program verifies each variant’s reference answer, evidence sets, and search requirements. Strict success requires a completed response with correct labels and citations exactly matching an accepted evidence set retrieved during the episode. Where required, a tool response must also show a complete search at the specified scope. In a study using GPT-5.6 Luna and 225 synthetic patients (3,600 matched pairs), explicit Encounter-status guidance increased strict success from 40.7% to 51.3% (+10.6 percentage points; 95% patient-bootstrap confidence interval, 8.4 to 12.8). Among cases whose primary reference label was insufficient evidence, label agreement fell from 49.2% to 29.3%. A prespecified two-model replication reproduced both changes. Failed retrieval can mask interpretation errors by producing a correct insufficient-evidence label without examining the relevant records. Additional model comparisons showed that the benefit of guidance was model-dependent. Retrieval, citation, and classification should be evaluated separately.

Key terms

From the paper

The paper describes why retrieving a clinical record does not guarantee reading its lifecycle state correctly.

Correct retrieval does not guarantee correct interpretation: a MedicationRequest describes a request, such as an order, and does not establish administration; an Observation marked entered-in-error is not a negative result; and FHIR R4 encodes a completed Encounter as status=finished ; completed is not a valid Encounter status

The authors summarize why separate metrics and family-level checks are needed when evaluating retrieval agents.

Family-level checks caught errors missed by per-task replay. Failed retrieval can mask interpretation errors: guidance repairs the visit lookup, not necessarily classification. Effects vary by model, rule family, and note content. Full mappings improve rule adherence, whereas incomplete notes can encourage unsupported labels.

What the authors say it means

What to do with it

  1. Score retrieval completeness, citation matching, and claim classification as separate metrics when evaluating chart-search agents. Supported by: In the 900 insufficient-evidence cases for GPT-5.6 Luna, evidence sufficiency rose from 71.44% to 97.00% while label agreement fell from 49.22% to 29.33%.
  2. Test retrieval agents across matched chart variants covering supported, refuted, insufficient, and conflicting evidence states. Supported by: Across 3,600 matched pairs on 225 synthetic patients, Encounter-status guidance raised overall strict success for GPT-5.6 Luna from 40.7% to 51.3% while lowering insufficient-evidence agreement from 49.2% to 29.3%.
  3. Provide complete lifecycle status mappings rather than partial notes when testing rule adherence in FHIR workflows. Supported by: In the 74-patient external evaluation with visible requirements, full lifecycle mappings increased strict success from 62.67% to 97.13% for GPT-5.6 Luna and from 62.50% to 99.16% for GPT-5.6 Terra, whereas incomplete Observation notes harmed performance in the four-note comparison.
  4. Measure prompt guidance changes separately on each target model rather than assuming uniform improvements across model families. Supported by: In the 24-patient comparison, Encounter-status guidance changed strict success by +13.15 points for GPT-5.6 Luna (35.16% to 48.31%) and by +1.43 points for Qwen3.8-27B (8.85% to 10.29%).

Caveat. The 18,000 tasks come from 225 synthetic Synthea patients, 18 structured templates, and three lifecycle rules rather than independent clinical cases, and the external evaluation used one MIMIC-to-FHIR pipeline on 74 patients. Exploratory comparisons on Claude Opus 4.8 and Gemini 3.1 Pro Preview covered smaller subsets, and the authors state that these read-only results do not establish clinical safety or deployment readiness.

In short

PatientFlowSynth evaluates FHIR chart-search agents across 18,000 tasks built from 225 synthetic patients and four matched evidence states. Adding explicit Encounter-status guidance raised strict success for GPT-5.6 Luna from 40.7% to 51.3% by fixing visit retrieval, yet lowered insufficient-evidence label agreement from 49.2% to 29.3% because newly retrieved visits were often misclassified. Across additional models and note conditions, guidance effects depended on the model and completeness of the lifecycle rules.

Read the paper on arXiv →

Written from the paper's own text. Quoted passages are verbatim and the numbers are the authors' own. For the method and full results, read the paper.