WA Health Summary

Research Sandbox Guide

Exploring how WAHS prepares records and answers questions

The WAHS Research Sandbox is a public tool for looking inside the question-answering process. You can load an example record, see how the chart is cleaned and condensed before a language model reads it, add optional context, and compare the answers that come back. The sandbox uses the same AI engine as the WAHS apps and contains only synthetic and de-identified records.

Layout

What the sandbox shows

The sandbox is organized as three tabs that follow the path a question takes. The first two work for every visitor without signing in.

Tab 1 · Browse / Upload FHIR R4

Choose a record

Pick one of ten example records. They range from small synthetic charts to a de-identified hospital record with more than 7,000 entries. You can also upload your own file in the FHIR format used for health records. The browser lists every entry in the record so you can see what the model will be working from.

Tab 2 · Engine Condensation & Enrichers

See what the model receives

This tab shows the prepared chart exactly as the model will read it. Summary figures show how much of the record fit, which condensation level was used, and how many items were left out. Separate views show the added context, the instructions given to the model, and the full technical response for researchers who want it.

Tab 3 · Ask WAHS & Verify Provenance

Ask questions and check the sources

Type a question or choose a suggested one. The answer appears with numbered citations. Selecting a citation opens the record entry it refers to, so you can confirm each statement against the chart.

Setup

Connecting a model

Tabs 1 and 2 need no setup. To get answers in Tab 3, open Connection in the top bar and choose one of two options.

Option A · Hosted model

Use the university-hosted models

  1. Select Sign in for UW GPU and sign in with an authorized OpenClinAI Google account.
  2. Choose a model from the Model menu. The larger model is the default; smaller models answer faster.
  3. Ask a question in Tab 3.

Answers are generated by open-weight models running on University of Washington servers. Access is currently limited to project collaborators.

Option B · Your own model

Use a model on your own computer

  1. Start a local model server such as LM Studio or Ollama.
  2. In Connection, choose Local BYO-Model, pick your server address, and select Apply Connection.
  3. Ask a question in Tab 3. No sign-in is needed.

The sandbox still prepares the chart and links the citations. Only the answer itself is written by the model on your machine, which makes this option useful for comparing different models on the same prepared record.

Guided Exercises

Three short exercises

Each exercise takes about two minutes and shows one part of how WAHS works. The first two use only Tabs 1 and 2, so they need no sign-in.

Exercise 1

Fitting a large record

  1. In Tab 1, select Maurice742 Auer97, a record with 7,099 entries.
  2. In Tab 2, switch Context Budget between 64k, 16k, and 2k.
  3. Compare Condensation Tier and Omitted Items at each size, and scroll through the condensed chart.
What to look for: As the size shrinks, repeated measurements and older history are summarized. Allergies, active medications, and active conditions stay in full. The number of omitted items is reported openly, not hidden.
Exercise 2

Adding optional context

  1. Select Margaret Chen or Elena Rostova.
  2. In Tab 2, open Enrichers and choose Clear. Then open the Enricher Appendix view.
  3. Choose Core, then All, and compare what is added each time.
What to look for: The added context appears after the chart. It can include lab trends over time, medications grouped by drug class, passages from long notes, and public guideline excerpts. The chart itself does not change.
Exercise 3

Checking citations and missing information

  1. With Margaret Chen selected, ask in Tab 3: "What active medications am I taking, and are there any fall or sedation risks?"
  2. Select a numbered citation in the answer to open the record entry it refers to.
  3. Select Show suggested questions and choose Test grounded abstention, which asks about a colonoscopy or cardiac stress test.
What to look for: Each medication statement points to a real entry in her chart. Margaret has no colonoscopy or stress test on record, and the answer says so instead of guessing.

Reference

Terms used in the sandbox

The sandbox labels are written for researchers. These short definitions explain the ones you will see most.

Context budget
How much of the record the model is given at once, measured in tokens (roughly, pieces of words). 16k is the default. Larger budgets include more history; smaller ones force more summarizing.
Condensation tier
How much the chart had to be shortened to fit. Tier 0 means the record fit in full. Higher tiers summarize repeated or older entries while keeping the most important clinical facts.
Omitted items
The count of entries that did not fit. They are listed openly so readers and the model both know the chart is not complete.
Enrichers
Optional modules that add supporting context for a specific question, such as lab trends, drug-class groupings, note passages, or guideline excerpts. Core turns on the standard set; All adds guideline excerpts.
Citation
A numbered marker in an answer, such as [3], that links a statement to the record entry it came from.
Provenance
Where a piece of information came from: the clinic, the date, and the original record entry.
Open-weight model
A language model whose weights are published, so it can run on university servers or a personal computer rather than only through a commercial service.

Further Reading

Going further

The pages below explain the design choices behind the sandbox and report how different approaches compare.

WA Health Summary is an exploratory research and demonstration project using synthetic and de-identified records. AI outputs can contain errors and do not constitute medical advice or replace clinical review.