Chart Review with AI

Research
Research Topic 05

Chart checking is the last safety barrier before a discrepancy between the prescription, the plan and the treatment record reaches the patient.

Manual chart review is knowledge-intensive, time-limited and reviewer-dependent. In a study cited by AAPM TG-275, only 38% of potentially detectable events (47 of 125) were actually identified during physics review. Carbon-ion radiation therapy (CIRT) adds its own review safeguards: range-sensitive Bragg peaks with steep dose gradients, RBE-weighted prescriptions that depend on the biological model, and composite plans with adaptive changes across fractions. MCLAB builds AI agents that make this review faster and verifiable, while keeping every patient fact traceable to institutional records.

Subproject 01 · Chart checking

On-Premises LLM-Based AI Agent for Radiotherapy Chart Checking

Presented

Why it matters

General-purpose large language models can summarize clinical text, but two requirements block their use in chart review. First, patient data cannot leave the hospital network. Second, the model must never invent a patient fact: a fabricated dose or fraction count is worse than no answer at all. Our agent therefore runs fully on-premises, retrieves patient facts from a structured institutional knowledge graph, and checks protocol rules before the language model writes any patient-specific answer.

What we develop

Domain-adapted LLM

  • Domain-adaptive pretraining (DAPT) of Qwen3-14B on about 12.6k radiation oncology papers
  • Larger gains on multi-step clinical reasoning

Institutional ontology

  • OWL/RDF graph of the CIRT workflow built from MD charts, plan reports and beam records
  • Rule-derived values such as total fractions, total dose, D95, BED and EQD2

Rule-checked agent

  • SHACL protocol-rule validation before inference
  • Routing to plan review, fact lookup or knowledge QA, with safe deferral
HIS data MD chart Rx and MD comments Plan report PDF Beam records JSON On-premises AI engine 1 Preprocess & structure de-identification and parsing (RDB) 2 Ontology (OWL/RDF) patient facts and rule-derived values 3 SHACL validation protocol rules checked before inference 4 Qwen3-14B-DAPT reasoning and wording Agent routing Plan review Fact lookup Knowledge QA Response source-grounded answer or safe deferral Fully on-premises no patient data leaves the hospital network
System design of the on-premises chart-checking agent. Data from the hospital information system are de-identified and structured into an institutional ontology, validated against protocol rules with SHACL, and answered by a domain-adapted Qwen3-14B model. An agent router directs each query to plan review, fact lookup or knowledge QA.

Key results

Evaluated on institutional prostate CIRT cases.

176 / 176
injected errors detected
(30 patients, 6 error types)
11 / 11
clinical scenarios
behaved as expected
+3.3 pp
multi-step QA with DAPT
(92.7% → 96.0%)
~1 s
patient fact lookup
(2–4 s for summaries)

Grounding answers in the ontology substantially improved the accuracy of patient-specific answers, and domain adaptation helped the model reject false premises and abstain on unanswerable questions. The injected errors covered fraction-count mismatch after replanning, excess fractions, dose-unit error, laterality mismatch, zero-masked missing dose and implausible D95. No fabricated patient information was observed in our tests.

Validation is currently limited to prostate CIRT and demonstrates technical feasibility. Extension to further treatment sites is ongoing, and the clinical benefit in routine chart-check workflows remains to be evaluated.

Selected presentations

  • H. Yoo et al., “Development and performance evaluation of an on-premises LLM-based AI agent for radiotherapy chart checking,” KOSRO 2026, oral presentation.