The Records Desk · Clinical technology and patient data

A sandbox before the first patient

A clinical test environment should expose uncertainty, failed corrections and difficult recovery paths before they become patient-facing problems.

  • Kanwar Partap Singh Gill, MD
  • Family medicine physician & independent policy analyst

Published

Public sources accessed 26 November 2026 · guide, not legal advice · 12 min read

Test the work that goes wrong

A convincing demonstration usually shows a product completing a task under favorable conditions. A useful clinical test environment should also show what happens when the task becomes uncertain, interrupted, or mistaken. The difference matters because a health technology system is not used only by a confident presenter following a prepared route. It is used by people handling incomplete information, corrections, changing priorities, and responsibilities that cross several roles. Before the first patient depends on a new workflow, the practice should test how that workflow behaves when the expected path breaks.

This does not require pretending that a small clinic can reproduce every possible circumstance. It requires choosing consequential questions and constructing controlled examples that answer them. Can an operator recognize uncertainty? Can a correction reach everyone who needs it? Can a failed step be retried without creating duplicate work? Can a person stop an automated action before it becomes clinically consequential? These questions are more useful than a general request to prove that the product is safe, because each can be connected to an observable result and a responsible decision.

The word sandbox should describe this protected learning environment, not serve as an assurance by itself. A test environment can be poorly configured, connected to production systems unexpectedly, or populated with information that should not be there. Its boundaries need to be understood. Within those boundaries, the purpose is to expose weaknesses while a mistake remains a test result. The goal is not a perfect performance that protects the purchasing decision from embarrassment. It is an honest account of what must change before the workflow is allowed to carry real responsibility.

Begin with a claim that can fail

A vendor may claim that a tool reduces the time required to process incoming documents. That is a useful starting proposition, but the practice should define what successful processing means. Does the document reach the correct patient record? Is its status visible? Is a person assigned to review it? What happens when the document contains information that contradicts an existing entry? A faster process that leaves these questions unanswered may move work rather than complete it. The test should capture the whole task the practice expects the technology to support.

The test team should write down what result would count as failure before watching the demonstration. If a corrected document remains associated with the wrong patient, that may be a stop condition. If a notification arrives later than expected but the responsible staff member can still identify and manage the task, the problem may require adjustment rather than rejection. These distinctions should be made deliberately. Otherwise, enthusiasm can lead the team to redefine success after each failure, while skepticism can lead it to treat every inconvenience as proof that the product should never be used.

ASTP/ONC's SAFER Guides provide recommended practices for EHR safety, including organizational responsibilities, system management, and contingency planning. They are a resource for structured assessment rather than a guarantee of legal compliance or a certification that a particular deployment is safe.1 A practice can use that orientation to build its own test questions around actual workflows. The important move is from a broad aspiration for safety to a defined responsibility for examining how the system behaves in the setting where people will use it.

The resulting test plan should be small enough to execute and explicit enough to repeat. Each test needs an initial condition, an action, an expected result, and a way to record what actually happened. It should also identify who decides whether a discrepancy matters. A long list with no accountable reviewer can be less useful than a shorter set of well-chosen scenarios. The quality of the exercise depends on whether its results can change the deployment decision, not on how many boxes appear in the document.

Use fabricated cases with purposeful difficulties

Synthetic test material should contain the kinds of ambiguity that the workflow must handle. A hypothetical referral can lack a requested attachment. A fabricated medication list can include a discontinued item that appears in an older document. Two invented patients can have similar names and different identifiers. These examples should be designed from the task's requirements rather than copied from identifiable clinical encounters. Their value comes from knowing the intended interpretation and being able to see whether the system preserves or distorts it.

The practice should resist the temptation to make every test record unusually dramatic. Ordinary errors are also instructive: a blank field, an attachment with an unexpected orientation, a date entered in a different format, or a document arriving twice. The aim is not to stage a contest in which the software must defeat an ingenious adversary. It is to examine the seams between software behavior and human expectations. A mundane discrepancy can matter if it makes a task appear complete when no responsible person has actually reviewed the information.

Test material should include uncertainty that ought to remain uncertainty. If an invented note says that a symptom may have begun before a particular event, an automated summary should not silently convert that possibility into a definite sequence. If a source contains conflicting accounts, the system should not erase the conflict merely to produce a fluent result. The practice can define acceptable behavior in several ways, such as preserving the qualification or flagging the inconsistency. What matters is that the test makes unjustified certainty visible.

The team should also test an appropriate refusal. A system that declines to process an unreadable document may be functioning more responsibly than one that returns a plausible but unsupported answer. The workflow must then show what happens to the declined task. Does it enter a visible queue? Is someone assigned to resolve it? Can the reason for the refusal be understood? A safe stopping point is useful only if the practice can recognize and manage it. Otherwise, refusal can become another form of silent abandonment.

Corrections must travel as far as the original error

A correction test should follow information through the entire proposed workflow. In a hypothetical exercise, a fabricated referral is assigned to the wrong record and then corrected. The team should determine whether the correction changes the primary display, any downstream task, and any exported summary that staff are expected to use. The issue is not whether the original mistake can be hidden. It is whether people who relied on the earlier version can recognize that the information changed and identify the current, authoritative account.

The test should distinguish correction from deletion. Removing an incorrect item may make the screen cleaner while obscuring why a later decision changed. Preserving every version without clear status can create the opposite problem: users may continue relying on a superseded entry. The appropriate design depends on the information and the system, but the test can ask a consistent question. Can a person understand what changed, who changed it, and which version should guide the next action without reconstructing an obscure technical history?

The team should deliberately interrupt a correction halfway through. What happens if the user loses connectivity after changing the main record but before notifying the responsible staff member? Can the system identify an incomplete transaction? Does retrying create a second correction or complete the first one? These are proposed resilience tests, not assertions that any particular product behaves badly. Their purpose is to reveal whether the workflow depends on a sequence that humans reasonably believe is complete when the system has completed only part of it.

Responsibility for downstream correction should be assigned before deployment. A tool may be capable of sending an update while the practice has no process for deciding when to use it. Conversely, staff may expect an automatic update that the product does not provide. A successful sandbox exercise brings these assumptions into the open. It should leave the practice with a clear account of which corrections are automatic, which require human action, and who verifies completion when an earlier version may already have influenced work elsewhere.

Language and accessibility belong inside the test

A workflow that succeeds in one language under ideal listening conditions has not answered every question about communication. If the proposed service supports interpretation, transcription, or patient instructions, the practice should test the functions it actually intends to use. A hypothetical exchange can include a clarification, a speaker correction, and an uncertainty about a term. The test should examine how those features appear in the output and whether a reviewer can compare the result with the source. A fluent sentence is not by itself evidence of faithful interpretation.

The practice should identify what the tool is expected to do and what remains the responsibility of a qualified human. A transcription service, a translation feature, and an interpreter-supported encounter are different arrangements. Combining them under the word communication can obscure who verifies meaning and how a misunderstanding is corrected. The test should preserve those roles. If the workflow requires a clinician to review a translated instruction, the clinician needs an effective way to perform that review rather than a button that merely records an approval.

Accessibility testing should include the actual people and environments involved in the work. A display may be understandable on a large screen but difficult to interpret on the device staff use during rooming. A notification may rely on a color distinction that some users do not perceive easily. An audio instruction may be missed in a noisy area. These are illustrative design questions. The practice should select the ones relevant to its environment and verify that the proposed alternative allows the task to be completed, rather than assuming that an available accessibility setting resolves every practical obstacle.

Patients should also have a workable way to decline an optional feature when such a choice is part of the proposed service. In a hypothetical test, a patient declines a recording function after the encounter has begun. The team should know how to stop it, what happens to material already captured, and how ordinary care continues. The precise obligations depend on the service and applicable rules, but the operational question is immediate. A choice that exists only in a policy document is incomplete if staff cannot carry it out during the encounter.

Downtime tests should include the return to service

An outage exercise often stops once staff show that they can work on paper or use an alternative channel. The return to normal operation can be equally important. Orders, results, messages, and corrections created during the interruption must be reconciled with the restored system. A practice should test how it identifies unfinished work and avoids entering the same action twice. The goal is not to prove that the alternative process resembles the electronic workflow perfectly. It is to establish that responsibility remains visible while the usual tools are unavailable.

The outage should be specific enough to expose a dependency. A loss of internet access differs from a failure of one vendor's service. A single workstation problem differs from an account authentication problem affecting everyone. The team can choose a small number of scenarios based on the proposed system's role. Each should identify what remains available, who communicates the change, and what work must pause. A generic instruction to follow downtime procedures is insufficient if no one can explain which procedure applies to the actual interruption.

Restoration should include a reconciliation owner and an endpoint. Someone must decide when the backlog is cleared, which records need review, and whether temporary workarounds should be removed. Otherwise, a practice can remain partly in its emergency workflow after the system is technically available again. The sandbox provides an opportunity to observe that transition without exposing patients to the experiment. A test is successful when it identifies the steps needed for an orderly recovery, even if the first attempt reveals that the original plan was incomplete.

The practice should also rehearse abandoning the new workflow if a material problem appears soon after launch. What information must be preserved? Which credentials or interfaces need to be disabled? How will users know which system now contains the authoritative task list? A rollback plan is not a prediction of failure. It is an acknowledgment that early deployment can reveal conditions a controlled test did not reproduce. Knowing how to stop safely can make the decision to begin more responsible and less dependent on optimism.

Human review must be possible, not merely required

Instructions to review every output can conceal an impossible workload. A reviewer needs enough time, access to the relevant source, and a clear understanding of the errors that matter. If a product generates a long summary while hiding the underlying material several screens away, the workflow may make meaningful review difficult. A sandbox test should observe how a person actually verifies the result. Requiring an approval click is easy. Designing a process in which the approval represents an informed assessment requires closer attention.

For an AI-enabled product, NIST's AI Risk Management Framework offers a voluntary approach to considering trustworthiness throughout design, development, use, and evaluation.2 That broad orientation does not establish that a particular clinical use is acceptable. It does reinforce the value of examining the system in context rather than treating a model's general performance as the whole answer. The practice must still decide what its users need to detect, what action follows a detected problem, and which outputs should never proceed without appropriate review.

The test should distinguish a detectable error from a detectable error that someone has reason to notice. If an incorrect detail looks entirely ordinary, a reviewer may need to compare it deliberately with the source. If the system highlights uncertainty, the same reviewer may be able to direct attention more efficiently. Neither approach eliminates responsibility, but they impose different demands. The practice should be honest about those demands when estimating time savings. Work has not disappeared simply because it moved from drafting to verification.

Staff should be able to report a problem without having to prove that the entire product is defective. A single failed scenario may justify a configuration change, a narrower use, additional training, or a pause. The response should be tied to the nature of the failure. Treating every report as an attack on the procurement decision discourages the information needed to improve the deployment. Treating every error as a reason for permanent rejection can be equally unproductive. The sandbox should model a culture in which a precise observation leads to a proportionate decision.

The result should change what happens next

A test report should identify the intended use, the scenarios examined, the observed results, and the unresolved limitations. It should state which findings block deployment and which can be managed through a defined change. The decision maker should then record whether the product will proceed, proceed in a narrower role, return for further work, or be declined. This closes the loop between testing and authority. Without that step, the exercise can become a collection of observations that no one is responsible for translating into a decision.

The report should also identify what will trigger reassessment. A major update, a new integration, a change in the type of information processed, or a different group of users may alter the assumptions under which the original test succeeded. The practice need not repeat every scenario after every minor change. It should, however, know which claims depend on a configuration or workflow that has changed. A bounded reassessment can focus on that dependency and preserve the value of the earlier work without pretending that an old result answers a new question.

There is a real cost to testing, and a small practice cannot spend unlimited time simulating every possible failure. The answer is to prioritize consequences and uncertainty. Test the errors that could misdirect care, conceal unfinished work, or make recovery difficult. Use fabricated material where possible, keep the results understandable, and assign the final decision. A sandbox earns its place when it reveals something consequential before patients depend on the workflow. The best result is not a flawless demonstration. It is a system and a team that know more clearly when to proceed, when to question, and how to stop.

Sources

  1. ASTP/ONC SAFER Guides. What it supports here: Recommended practices for EHR safety include organizational responsibilities, system management and contingency planning; guidance is not a deployment-specific safety certification. Accessed 26 November 2026.
  2. NIST AI Risk Management Framework. What it supports here: The AI RMF is voluntary and addresses trustworthiness across design, development, use and evaluation. Accessed 26 November 2026.

Where this continues on the site

Editorial and informational notice: this analysis of health care, technology, consumer and legal policy is published for education and public awareness. It is not individualized medical, legal or financial advice and does not replace your own clinician, lawyer, bank or benefits office. Court orders, settlements and filings are described for what they decide; allegations are not findings. Kanwar Partap Singh Gill, MD is a physician, not a lawyer, and this site is not a law firm. In an emergency, call 911.

Prepared 26 November 2026 with AI assistance from the author’s notes and the public sources linked on this page, under the editorial direction of Kanwar Partap Singh Gill, MD. Examples are hypothetical unless a source is cited; no real patient, employer or vendor is described. Rules, forms and deadlines change: confirm current requirements with the agency, plan or program named in the sources before relying on them. Corrections: editorial standards.

Search KPSGill.com

Search the full publication — patient guides, policy, investigations, enforcement records and research.