Lesson 03 · Regulated · 14 min
Healthcare: refusal boundaries
Scope
Healthcare is the most regulated domain here and the rules are jurisdiction-specific. What follows is a design lesson, not medical or regulatory guidance — confirm the boundaries for your setting with qualified counsel and clinicians.
Clinical intake sits near a real boundary, but it is worth stating precisely rather than as a slogan. It is not that naming a diagnosis is universally forbidden. It is that software whose output is directive toward a specific diagnosis — and whose basis a clinician cannot independently review — becomes a regulated medical device under US FDA rules; and separately, giving individualised medical conclusions directly to patients can constitute the practice of medicine, which is governed by state licensing boards and varies by jurisdiction. For an unsupervised intake agent, both pressures point to the same design line: collect and route, do not name conditions.
Sources (1) — primary references, with jurisdiction and verification dates
- Clinical Decision Support Software — Final Guidance — U.S. Food & Drug Administration
Sets the criteria (from the 21st Century Cures Act) under which decision-support software is a regulated medical device: software whose output is directive or specific to a diagnosis, and which a clinician cannot independently review the basis for, is a device. That is the real boundary an intake agent is near — not a blanket ban on the word 'diagnosis'.
United States · published 2022-09-28 · last verified 2026-08-28
Wherever exactly that line falls for your deployment, it does not move because the model is confident or the patient is insistent — which is why it belongs in a check rather than in a mood.
Boundaries like this need to be checkable, because a prompt instruction is unverifiable at runtime. "Never name a condition" becomes a test: does the reply contain diagnostic language? That test can run on every response in production, not only in development.
The second requirement is escalation. Some presentations must interrupt the process entirely — a red-flag symptom means stop collecting and advise emergency care now. That check runs first, before anything else, because a correct intake that missed an emergency is still the worst outcome available.
Run the red-flag case in the lab. The blueprint says the check should be a node that fires first — and the lab deliberately does not build it that way. It runs as a loop, with the check merely requested in the prompt. On the model this course was built against, the agent called the red-flag tool with a truncated argument, got "no red flag matched", and reassured a patient describing chest pain and breathlessness. Three of the four checks passed. That gap between what the blueprint says and what the prompt enforces is the lesson.
That result is the lesson. The three passing checks tested process — was the tool called, was a condition named, was medication mentioned. None tested outcome. The fourth check, which asks whether the reply actually advised emergency care, is the only one that caught it.
Process checks are necessary and insufficient. An agent can call every required tool, mishandle every result, and pass a suite made only of them. Where the stakes are highest, you need at least one check on what actually happened.
Checkpoint
Produce the run where the process checks pass and the outcome check fails, and explain the gap.