Beyond HIPAA: Clinical Safety Review for AI-Built Medical Tools
Last reviewed:
Public documentation checked November 7, 2026 (PT). Educational material, not legal, regulatory or medical-device advice.
The short answer
If you built a clinical tool with Lovable, Replit, Bolt, v0, Cursor or ChatGPT, getting patient data protected is only half the job. The other half is whether the tool does the right thing clinically, for the people who will use it, in the situation where they'll use it.
These are separate questions with separate evidence:
- Privacy and security (HIPAA and related law): is the data protected, access controlled and the vendor chain covered? See the pillar guide .
- Legal and regulatory status (including FDA): is the software a medical device, or another regulated product? That depends on its intended use and functions, and is a question for qualified regulatory counsel. FDA device software functions FDA CDS guidance
- Clinical safety and validity: does it give correct, safe output for its intended use, and fail visibly when it can't?
A HIPAA-ready app can still give unsafe advice. A clinically sound app can still leak data. Passing one review says nothing about the other. This article covers the third question.
1. Write down the intended use first
Every later step depends on a one-paragraph intended-use statement. Write it before you test anything:
- Who uses it: attending physicians, nurses, front-desk staff, patients?
- For what decision or task: dose calculation, summarizing a chart, triage suggestion, patient education?
- In what setting: clinic, ED, home, telehealth?
- For which population: adults only? pregnancy excluded? specific conditions?
- What the user does with the output: acts on it directly, or checks it against something else first?
Also list foreseeable misuse: what a tired user, or a user outside your intended population, is likely to do with it anyway.
The intended use also matters outside clinical safety. FDA describes the software functions it focuses on, and its clinical decision support guidance discusses criteria (including whether a clinician can independently review the basis for a recommendation) that bear on whether a function is a device. This article makes no device-status determination. FDA device software functions FDA CDS guidance
2. List failure modes and rank them by severity
Brainstorm how the tool could be wrong, then rank each failure by what happens to a patient if nobody catches it. A simple three-level scale works for a first pass:
| Severity | Meaning | Hypothetical example |
|---|---|---|
| High | Could plausibly cause serious harm or delay urgent care | Triage helper reassures a user about chest pain |
| Medium | Could cause harm that's likely caught downstream, or wasted effort | Summary omits a recent medication change |
| Low | Inconvenient or confusing, unlikely to change care | Wrong unit label on a display-only field |
All examples in this article are hypothetical illustrations, not results from real projects.
Common failure modes in AI-built clinical tools worth checking:
- Calculation edges: units (mg vs mcg, kg vs lb), rounding, missing weight, renal or hepatic adjustment, age cut-offs, contradictory inputs.
- Omissions: allergies, recent changes, negations ("no history of…") dropped from summaries.
- Unsupported statements: a language model adds a finding, citation or recommendation that isn't in the source.
- False reassurance: output that could delay urgent evaluation.
- Silent failure: an empty, stale or partial result that looks like a real answer.
- Population mismatch: behavior on patients outside the cases you tested (pediatrics, pregnancy, multimorbidity, language).
- Drift after edits: a regenerated component or a model-version change quietly alters behavior.
NIST's AI Risk Management Framework is a useful, voluntary structure for mapping, measuring and managing risks like these. NIST AI RMF
3. Build a set of representative cases
Test cases should look like the patients and situations in your intended use, plus the edges where you expect trouble:
- Typical cases across the intended population.
- Boundary cases: thresholds, extremes, missing data.
- Known hard cases from your own clinical experience.
- At least one case for every high-severity failure mode.
- Cases just outside the intended use, to see whether the tool declines or warns.
Use synthetic or properly de-identified data unless your privacy review approves something else. Never paste patient records into an AI tool to generate tests.
4. Write reference answers and adjudicate disagreements
For each case, decide the correct (or acceptable) output before you run the tool. Then compare.
A recommended method:
- Two clinicians independently write the reference answer, or rate the tool's output against a rubric.
- Where they disagree, a third reviewer adjudicates, and the reason is recorded.
- Agree in advance what counts as acceptable: for example, "no high-severity errors in the case set" and a stated threshold for medium ones.
- Record every error with its severity, so retesting can show what changed.
This is a recommended review design, not a statement that PAHL already runs it in this form for every project.
The scribe source-and-draft review example illustrates prospective verification and withheld finalization; it does not establish a PAHL review capability or validated results.
5. Design human oversight that actually works
"A physician reviews it" is not a safety control until you can answer:
- Who reviews, and with what training?
- Before which action: before the result reaches a patient, before an order, or after the fact?
- With what source information beside the output, so the reviewer can check it rather than just trust it?
- With enough time to catch errors in a real clinic day?
- What happens when the tool is down mid-task?
Make uncertainty visible in the interface, and say plainly what the tool does when it can't answer.
6. Pilot with stop criteria, then retest
Before a pilot, write down:
- Scope: which users, which site, how long, which cases.
- Monitoring: how errors and near misses are reported and who reads the reports.
- Stop criteria: for example, any high-severity error reaching a patient, or a set number of medium errors in a week, pauses the pilot.
- Retest triggers: any change to prompts, models, generated code, input data sources or intended use reruns the case set.
FDA's materials on AI-enabled devices show that the agency treats changes to AI behavior over time as something to plan for. Even if your tool is not a device, the same habit is good practice. FDA AI-enabled devices
7. Where Palo Alto Health Labs can help
Clinical safety review: Palo Alto Health Labs offers an optional clinical safety review alongside its readiness audit and migration. For an AI-built tool, the review follows the workflow above: intended-use statement, severity-ranked failure modes, representative cases, reference answers with adjudication, and a retest plan.
Reviewers are board-certified practicing MDs (residents and fellows welcome), recruited per project to match the tool's specialty. Scope, reviewers and deliverables are set in writing after the free call. We do not claim a standing reviewer roster, prior client results or any certification.
Clinical review stays separate from privacy, legal and FDA questions. It does not make a tool compliant or cleared.
See Fabrica and book a 30-minute call A free 30-minute call to review your app or your practice's tech. It is a conversation, not a completed security or compliance audit, and not a certification. Please don't send patient data, screenshots of real records or credentials.
Related: physician guide · readiness audit and migration · checklist guide · experts
FAQ
If my app is HIPAA-ready, is it safe to use clinically?
No. HIPAA readiness concerns protecting health information. Clinical safety concerns whether the output is correct for its intended use. They need separate reviews.
Does a clinical safety review mean FDA doesn't apply?
No. Device status depends on intended use and functions under FDA's framework, and needs regulatory advice. Clinical review doesn't decide it. FDA device software functions FDA CDS guidance
Isn't "a doctor checks every output" enough?
Only if the reviewer has the source information, the time and a defined point in the workflow to catch errors. Design and test that, rather than assuming it.
When should I retest?
After any change to models, prompts, generated code, data sources or intended use, and on whatever schedule your pilot plan sets.
See Fabrica and book a 30-minute call
A free 30-minute call about your app or your practice's technology. You leave with a recommended next step. It is not an audit, a certification or legal advice.