Case Study

Reaching expert-level medical triage with guideline-executing LLMs

For Schmitt-Thompson Clinical Content, Vstorm built a HIPAA-compliant system that makes an LLM execute telehealth triage guidelines — not invent dispositions from parametric knowledge.

  • Healthcare
The outcome

Clinical triage where a wrong answer is a patient-safety event

STCC guidelines are decision trees, not prose. Queried directly, a raw LLM recovers the reference disposition in only 44% of cases and over-escalates heavily. ALLMTS instead extracts patient context, selects the guideline, answers triage assessment questions under a closed-world yes/no format, and derives the disposition deterministically from the first positive question — the same traversal rule a nurse follows.

Published evaluation figures from the ALLMTS study: 591 expert-validated scenarios spanning 14 dispositions, plus a curated 50-scenario open benchmark compared against a five-nurse expert panel.

98%

Accuracy on a curated 50-scenario subset

On par with the 94.4% correct-disposition rate the five-nurse expert panel recorded on that same subset.

44% → 98%

Raw LLM baseline to guideline-executing performance

Same open benchmark. The gain is executable guidelines, not a larger model.

94%

Weighted F1 on 591 expert-validated scenarios

Fourteen dispositions across the full acuity spectrum. Disposition accuracy is 93%.

About the client

Schmitt-Thompson Clinical Content (STCC) is one of the most widely deployed clinical decision-support publishers in North America. Its triage guidelines, structured clinical frameworks that determine urgency and route patients to the appropriate level of care, are in active use across more than 400 health systems and health plans, and in an additional 10,000 physician practices.

STCC provides the most comprehensive triage and advice content across the continuum of delivery: After Hours, used by call center nurses, and Office Hours, used in practices and clinics. Patty Maynard, Chief Operating Officer at STCC: “The STCC telehealth triage guidelines are used by thousands of nurses at hundreds of healthcare facilities around the world, marking STCC as the gold standard in the industry.”

Vstorm's impact

Vstorm's impact, the TL;DR

  • Guideline-executing triage: the LLM understands language; the disposition follows the STCC guideline deterministically
  • 98% accuracy on a curated 50-scenario open benchmark — on par with a 94.4% five-nurse correct-disposition rate
  • 93% disposition accuracy (94% weighted F1) on 591 expert-validated scenarios spanning 14 dispositions, versus 44% for a raw-LLM baseline
  • Over-triage cut from roughly 44% on the baseline to about 2% under ALLMTS
  • Four-stage pipeline on PydanticAI, with Logfire tracing every stage
  • Relational database retrieval replaced pre-parsed PDF after nine Proof of Value iterations

The challenge

Logic-based guidelines in a language-model world

STCC recognised that content built over decades and validated against expert clinical benchmarks had to be made machine-accessible. Competitors building AI-native tools would fill the gap, and public LLMs were already at risk of absorbing proprietary guideline content through uncontrolled data exposure. STCC came to Vstorm for a controlled, validated, HIPAA-compliant system that could execute those guidelines at clinical accuracy — without inventing findings the intake note does not support.

The first challenge was not architecture. It was data. STCC guidelines are not written in natural language. They are structured as decision trees: sequential yes/no questions arranged in descending order of urgency, each linked to a recommended disposition such as “Go to ED Now” or “Home Care.”

That format is efficient for human practitioners and a specific failure risk for large language models. Queried as free-form clinical reasoners, LLMs are poorly calibrated for telehealth triage: they over-escalate routine cases and cannot justify recommendations against an auditable clinical standard. The engineering brief was therefore precise: treat the guidelines as the exclusive source of truth, make the model answer narrow triage assessment questions, and derive the disposition from the guideline traversal — not from the model’s parametric knowledge.

How we delivered

TriStorm on content nurses already trust

The agent had to execute STCC guidelines, not produce a plausible disposition from the open web. Evaluation ran against 591 expert-validated scenarios and a curated 50-scenario open benchmark.

Lock the safety brief

Workshops aligned the technical roadmap with STCC clinical and compliance requirements. Guidelines stay the exclusive source of truth. The LLM extracts and answers questions; disposition is deterministic. When the system cannot find an answer, it reports the absence.

  • Clinical and HIPAA brief
  • Exclusive-source rule
  • No-answer reporting

Proof of Value on real guidelines

Nine iterations (v0.3.x through v9.1) compared three GPT versions and PDF versus database retrieval, then settled on a four-stage agentic pipeline. Database retrieval won on disposition accuracy and operational scale. GPT-5.1 became the production model.

  • Four-stage pipeline
  • Database-backed retrieval
  • GPT-5.1 under HIPAA config

Validate against expert panels

Full evaluation: 591 publisher-authored, nurse-validated scenarios across 14 dispositions, plus a curated 50-scenario open benchmark compared to a five-nurse panel. Remaining gaps concentrate on retrieval and matching — not invented content.

  • 591-scenario eval suite
  • 50-scenario open benchmark
  • Failure-mode log

How it works

A four-stage pipeline, then a database instead of a PDF

Vstorm designed a four-stage agentic pipeline to handle the full scenario-to-disposition workflow. The pipeline runs on the PydanticAI framework, with Logfire providing observability across every stage. Every decision is traceable. Every step is auditable.

Incoming clinical scenario Free-text presentation
Stage 1 — patient context Extract age and gender; filter the guideline set
Stage 2 — reason for visit Primary and secondary reason, structured — not raw prose
Stage 3 — guideline selection via RAG Match the reason against the guideline vector store, then classify
Stage 4 — parallel TAQ evaluation Triage Assessment Questions across disposition levels, Boolean on multi-part TAQs
Recommended disposition
SOAP clinical note
LLM rationale Optional

STCC × Vstorm — four-stage guideline-executing pipeline

Stage 1 extracts patient age and gender so the applicable guideline set is filtered before any clinical reasoning begins. Stage 2 identifies the primary and secondary reasons for the visit, so retrieval receives clean inputs rather than raw prose. Stage 3 matches that reason against a pre-indexed guideline vector store using retrieval-augmented generation, then classifies the most appropriate guideline — the stage where selection errors concentrate on clinically ambiguous presentations. Stage 4 evaluates Triage Assessment Questions concurrently across disposition levels under a closed-world assumption: anything the scenario does not mention is treated as false. The disposition itself is not generated by the model; it follows from the first positive TAQ in acuity order.

In earlier Proof of Value builds, guideline content reached retrieval as a pre-parsed PDF. That was fast to prototype and introduced structural noise: fragmented chunks broke the logical continuity of individual guidelines, particularly around multi-step TAQ sequences. The team moved to a relational database. Guidelines were indexed as structured records with explicit relationships between questions, urgency tiers, and disposition outcomes. Database retrieval outperformed PDF delivery in both disposition accuracy and operational scalability across the full test suite.

Retrieval method

Why the team left pre-parsed PDF behind

PDF retrieval
Pre-parsed PDF
  • Fast to prototype
  • Fragmented chunks
  • Broken TAQ sequences
  • Logic continuity lost
  • Lower disposition accuracy
Database retrieval
Relational database
  • Structured records indexed
  • Logic preserved
  • Questions, tiers, outcomes linked
  • Clean context on every call
  • Higher accuracy, scalable

Model selection across three GPT versions

The team evaluated three GPT model versions across Proof of Value builds v0.3.x through v9.1: GPT-4.1, GPT-5, and GPT-5.1. All models ran with HIPAA compliance configurations, a non-negotiable requirement given the sensitivity of patient scenario data.

GPT-5 and GPT-5.1 consistently outperformed GPT-4.1 across the guideline test suite. The gap was most pronounced in clinically complex scenarios that require multi-step reasoning across branching TAQ sequences. GPT-5.1 was selected as the production model, offering the strongest balance of disposition accuracy and reasoning reliability within the compliance constraints.

Testing and validation: 591 scenarios, plus an open 50-scenario benchmark

Clinical scenarios used to evaluate the system were authored by the guideline publisher’s clinical content team and validated by an expert triage-nurse panel, covering 14 disposition labels across the full acuity spectrum. A curated 50-scenario subset is released as an open benchmark with reference dispositions for direct comparison against that expert-validated telehealth standard.

Chatbot disposition accuracy is measured against those expert-validated references — not against theoretical correctness, and not as a bare “zero hallucination” claim. Guideline-grounded execution is what closes the gap from a 44% raw-LLM baseline to expert-level performance on the open subset.

Publisher scenarios Clinical content team drafts cases
Expert nurse panel Telehealth triage nurses validate dispositions
591-scenario suite 14 dispositions, full acuity spectrum
50-scenario open benchmark Released with reference dispositions
System under test Guideline-executing pipeline vs raw-LLM baseline

STCC × Vstorm — evaluation sets used in ALLMTS

Results

From a 44% raw LLM to expert-level triage

On the curated 50-scenario open benchmark, ALLMTS reaches 98% accuracy — on par with the 94.4% correct-disposition rate recorded by the five-nurse expert panel on that same subset. On the full 591 expert-validated scenarios spanning 14 dispositions, it reaches 93% disposition accuracy and 94% weighted F1, against 44% for the strongest raw-LLM baseline.

Safety profile matters as much as headline accuracy. Baselines over-triage up to about 46% of cases; ALLMTS keeps error low in both directions (at most about 6% under-triage and about 2% over-triage on the reported runs). Run-to-run stability also improves: the system reproduces the reference acuity band on all ten runs for 47 of 50 open-benchmark scenarios, versus 28 for the baseline.

FIG. 1 · RESULTS
Disposition accuracy: raw LLM vs guideline-executing system

Same evaluation protocol. The lift is executable clinical guidelines — not generic retrieval or a larger model alone.

Hover a bar for the measured value
Raw LLM · open 50-scenario set 44%
ALLMTS · open 50-scenario set 98%
Nurse panel CRD · same 50-set 94.4%
ALLMTS · 591 scenarios (accuracy) 93%
ALLMTS · 591 scenarios (weighted F1) 94%
Measured accuracy / F1
Data table
Disposition accuracy: raw LLM vs guideline-executing system
MetricRaw LLMALLMTSNurse panel (50-set)
Accuracy · 50-scenario open benchmark44%98%94.4% CRD
Disposition accuracy · 591 scenarios44%93%
Weighted F1 · 591 scenarios94%
ALLMTS evaluation — curated 50-scenario open benchmark and 591 expert-validated scenarios spanning 14 dispositions.
STCC × Vstorm — published ALLMTS evaluation summary
ResultFigureNotes
Open 50-scenario accuracy98%On par with 94.4% nurse-panel correct-disposition rate
591-scenario accuracy93%Fourteen dispositions across the full acuity spectrum
591-scenario weighted F194%Primary aggregate quality metric on the full suite
Raw-LLM baseline44%Same task without guideline-executing architecture

Remaining misses concentrate on deterministic failure modes: no positive TAQ identified after correct guideline selection, and incorrect guideline selection on overlapping or ambiguous chief complaints. Those are retrieval and matching gaps — engineering backlog — not a license to market a bare zero-hallucination rate. When the system cannot identify an answer, it reports the absence of a match and provides traceable source references, or the explicit absence of them.

What is still in flight

The system remains in active development. TAQ matching logic is being extended to handle scenarios where no positive TAQ is present: a condition the current pipeline flags but does not yet resolve. Guideline selection is being improved for ambiguous chief-complaint presentations through enhanced retrieval ranking and disambiguation logic.

In parallel, Vstorm is developing a locally deployable model variant designed to run on client-owned infrastructure. That addresses healthcare environments with stricter data residency constraints, where patient history and treatment records cannot leave the organisation's perimeter. The local model keeps the same guideline-executing contract and explicit data boundary controls, so a higher degree of patient context can be passed into the system safely.

Related research

Academic context for guideline-executing clinical AI

Adjacent work on clinical guideline adherence, evidence integration, and LLM-executable decision support — linked for readers who want the research framing around this build.

Work with us

Ready to see how guideline-executing agents transform clinical triage?

Meet directly with our founders and PhD AI engineers. We will walk through real implementations from 30+ agentic projects and the practical steps to integrate them into your workflows.