Skip to content
How much to read

Knowledge base

projects / clarity / features

The made-up clinic behind Clarity 2's design review

One seeded, deterministic clinic of ten invented patients that both shells show on the same day, follows the clinic's own calendar, and can be reset.

feature · current · updated 2026-09-21 · Clarity case study

The design review needs a clinic to look at, with nothing real in it. One file holds ten invented patients, each with a name that is plainly not real, a phone number in a range no clinic patient would have, and one or more treatments. Across the ten, all four treatment statuses appear. The seed carries no amounts at all, because nothing in this work order shows money except the type-scale specimen on the dentist's own screen.

How it is generated

A generator turns the seed and a calendar day into the clinic. It is deterministic: no randomness, and no clock read except to learn the day, which is read in the clinic's timezone rather than the machine's. Given the same seed and the same day it produces byte-identical output on any device, and that is what "both devices show the same clinic" means here. See work order 2 for the shells this sits behind.

The calendar

  • Open days are Monday to Friday and Sunday. On a closed day both shells say the clinic is closed and show no appointments.
  • On an open day, appointments fall only inside the clinic's two sessions, 11:00 to 14:00 and 18:00 to 21:00, and every appointment carries its patient, its time and its treatment.

Storage and reset

Two browser storage keys, one for the theme and one for the clinic, because the theme is a person's preference and the clinic is the clinic. They reset differently.

The stored clinic carries the day it was made for, so a clinic from another day is replaced on load and the desk never shows yesterday. Reset removes the clinic key and generates today again, and it leaves the theme alone. Reset lives on the dentist's Settings screen, because the attendant has no Settings.

Nothing real

No name, no number, no export, and no import from the clinic's own data. The seed is the only place a name or number in the review comes from.

See overview.

This page was written by a model from my own repositories and checked by a second one against the same sources. I did not write it, and no version of it was approved by me before it went up. How that works, and where it can still be wrong.