Tutorial: record and replay a triage note

You record a triage note in MockMed, a synthetic clinic app that ships with OpenAdapt, then replay it with new note text. In the published test pack, 3 of 3 normal runs were checked and 15 of 15 runs with injected faults stopped. Start it with uvx --python 3.12 openadapt flow tutorial.

Updated 2026-10-18

Run it

New to OpenAdapt? Run the quickstart first. It saves a synthetic entry and checks it, then reruns with the save set to fail and stops:

uvx --python 3.12 openadapt quickstart --break-it

Then the tutorial:

uvx --python 3.12 openadapt flow tutorial

Then replay with your own note:

uvx --python 3.12 openadapt flow replay bundle --param note="Triage note from today"

The recorded task

  1. Sign in to the clinic app.
  2. Open the first referral in the task list.
  3. Start a new encounter and pick the Triage type.
  4. Type the note (the value you change on each replay).
  5. Save.

What's been tested

The public test pack, as published on 26 Jul 2026 with engine version 1.23.0, ran 18 trials: 3 normal runs were checked by a read of the saved note, median 4.7 seconds; 15 runs with 5 kinds of injected fault all stopped. The faults: a target it can't tell from another, a save that didn't happen, an out-of-date record match, a save check too weak to trust, and the wrong record. 0 AI model calls.

The tutorial program is deliberately not approved for clinical writes: the engine's strictest setting refuses to run it, so you see that boundary before you trust a program with real work.

See it on your process

Bring one task your team types every day. We'll tell you whether it fits, and what a test on your own system would cover.