Scripted test suites prove that the software does what the requirements say. The bugs that worry a clinical safety officer are usually somewhere else: a result filed to the wrong patient after a merge, a dose that rounds differently on a tablet, a banner that disappears when a nurse switches units.
This post is for QA leads, test engineers and product owners on clinical software. It covers how to plan exploratory sessions around clinical risk, how to run bug bashes with clinicians, and how to triage what they find by patient-safety severity rather than by who shouts loudest.
What are bug hunting strategies for healthcare QA?
Strengthening QA on clinical software?
Our healthcare quality assurance team plans risk-based exploratory testing and runs bug bashes alongside your scripted and automated suites.
Bug hunting strategies for healthcare QA are planned, time-boxed ways of searching for defects that scripted tests miss, aimed first at the features where a defect could harm a patient. Agnotic Technologies uses three together: exploratory charters ranked by clinical risk, bug bashes with clinicians, and severity triage based on patient safety.
None of these replaces automated regression tests. They find the bugs nobody thought to write a test for.
Why do scripted tests miss clinical bugs?
Scripted tests miss clinical bugs because they check the paths someone predicted. Clinical defects tend to appear in unpredicted combinations of data, roles, timing and interruptions.
- Data combinations: a patient with two active encounters, a merged record or a missing weight.
- Timing: a result arriving while the order screen is open, or a shift change at midnight.
- Interruptions: a nurse leaving a half-finished entry to answer a call, then returning.
- Environment: a shared workstation, a slow ward network or a tablet in portrait mode.
Start with a clinical risk map
A clinical risk map ranks each feature by what happens to a patient if it fails, how often it is used and how recently it changed. Exploratory time goes to the top of the map first.
- Harm if wrong: wrong patient, wrong drug or dose, a lost result or a missed alert rank highest.
- Use frequency: features touched hundreds of times a shift deserve more sessions.
- Change: code, configuration or interfaces changed since the last release.
- Complexity: calculations, unit conversions, merges and anything that crosses systems.
ONC publishes eight SAFER Guides of recommended practices for safer EHR use, grouped as foundational, infrastructure and clinical process guides, including Contingency Planning and System Management.
For EHR-connected products, the SAFER Guides are a useful prompt list when building the map, because they describe where clinical systems tend to fail in practice.
What is a test charter?
A test charter is a one-line mission for a time-boxed exploratory session: what to explore, with which data or tools, to discover which kind of risk. It gives freedom inside a boundary.
- Charter: explore weight-based dose entry with unit changes and missing weights to discover wrong-dose risks.
- Charter: explore result filing during patient merges to discover results attached to the wrong record.
- Charter: explore allergy banners across role switches and screen sizes to discover hidden warnings.
- Charter: explore offline entry and resync on a ward tablet to discover lost or duplicated notes.
Each session produces notes, bugs, questions and new charter ideas. A debrief with the test lead decides whether the area needs another session.
Keep sessions short enough to stay focused, and record the charter, tester, build and data used. That record lets someone repeat the session after a fix, and shows auditors which risks were explored.
Which test data makes bug hunts realistic?
Realistic test data is synthetic but messy: patients with long histories, merges, gaps and odd values. Clean demo patients hide most of the bugs that matter.
- Identity problems: near-duplicate names, merged and unmerged records, and newborns without a final name.
- Clinical edge cases: missing weights, many allergies, renal impairment and results with unusual units.
- History depth: patients with years of encounters, long medication lists and very long notes.
- Role coverage: test accounts for each clinical role, including students and locum staff.
Never copy production records into a test environment to get realism. Build a reusable library of synthetic patients for each risk area, and add a new patient every time a bug hunt finds a gap.
Heuristics that find clinical bugs
Heuristics are reminders of where software tends to break. In clinical software a short list of them finds a large share of serious defects.
- Wrong patient: two similar names, merged records, a second tab open on another patient.
- Units and rounding: mg against mcg, pounds against kilograms, decimals and trailing zeros.
- Time: daylight saving changes, time zones, midnight, and dates entered after the event.
- Partial data: missing weight, unknown allergy status, pending results and blank fields.
- Concurrency: two users editing the same order, or a result arriving mid-edit.
- Long values: long drug names, many allergies and long notes that truncate or overflow.
Print the list on the charter sheet. Testers under time pressure fall back on the happy path, and a visible reminder pulls them back to the cases where patients get hurt.
How should a bug bash with clinicians run?
A bug bash with clinicians is a short, structured session where nurses, physicians or pharmacists use the software on realistic scenarios while testers capture what goes wrong. Clinicians find workflow and safety problems that testers do not recognize.
- Step 1, scenarios: write realistic cases with synthetic patients, such as an admission with an allergy and a weight-based order.
- Step 2, roles: give each clinician a role and device that matches their real work.
- Step 3, pairing: pair each clinician with a tester who records steps, screens and data.
- Step 4, capture: log every confusion as well as every defect, since confusion is a use error waiting to happen.
- Step 5, debrief: end with a short review of the worst findings while memories are fresh.
FDA's guidance on applying human factors and usability engineering to medical devices recommends processes intended to maximize the likelihood that new devices will be safe and effective for their intended users, uses and use environments.
Even when a product is not a regulated device, the same idea applies: test with intended users, in their environment, doing their tasks.
How do you triage bugs by patient-safety severity?
Triage by asking what could happen to a patient if the defect reached production, then by how likely and how detectable it is. Severity is not the same as how annoyed the reporter was.
- Critical: could cause patient harm directly, such as a wrong patient, wrong dose, lost result or hidden allergy.
- High: could delay care or mislead a clinician, with a workaround that staff might miss.
- Medium: breaks a workflow with a visible failure and a reliable workaround.
- Low: cosmetic or wording issues with no effect on decisions.
Raise severity when the defect is silent, since a clinician cannot work around what they cannot see. Critical findings block release until fixed or until a clinical safety owner accepts a documented mitigation.
Where do bug hunts go wrong?
Bug hunts go wrong when they turn into unstructured clicking or when findings are not followed through. The fixes are planning and debriefs.
- No charter: sessions that wander and repeat what the scripted suite already covers.
- Unrealistic data: clean synthetic patients with no merges, gaps or long histories.
- Clinicians as spectators: a demo instead of hands on the keyboard.
- Severity by volume: the loudest finding ranked first, not the most dangerous one.
- No regression test: a fixed critical bug with no automated test to stop it returning.
A worked example: a lab results screen
A team adds trend graphs to a lab results screen. The risk map ranks it high, because clinicians act on lab values and the change touched units and date handling.
Two charters follow: one on unit changes when a lab switches analyzers, one on results filed during a patient merge. The first finds that a trend line joins values in different units without a marker.
A bug bash with two nurses finds that the abnormal flag is hidden when the graph is expanded on a tablet. Both findings are triaged critical, fixed and covered by new automated tests.
The team also adds an analyzer change and a merged patient to the synthetic data library, so later sessions on any results screen start with those cases already in place.
Who plans, runs and triages a bug hunt?
Bug hunting needs owners for planning, running and deciding. The clinical safety decision should not rest with the team under release pressure.
- QA lead: the risk map, charters, session schedule and debriefs.
- Testers: running sessions, recording findings and proposing new charters.
- Clinical safety owner: severity calls on safety findings and acceptance of mitigations.
- Clinician volunteers: bug bash participation and scenario realism.
- Engineering lead: fixes, root cause and the regression test for each critical finding.
How do you measure exploratory testing?
Measure coverage of the risk map and what escapes, not the raw number of bugs. A quiet session on a high-risk area is useful evidence too.
- Risk coverage: share of high-risk features with a session since their last change.
- Findings by severity: critical and high findings per session hour, tracked over releases.
- Escaped defects: production issues in areas that had sessions, reviewed for missed heuristics.
- Follow-through: critical findings with a regression test added.
What are healthcare bug hunting best practices?
Rank features by clinical risk, write a charter for every session and use realistic, messy synthetic data. Put clinicians' hands on the keyboard in bug bashes.
Triage by patient-safety severity, treat silent failures as more serious, and add a regression test for every critical bug found.
How can Agnotic help run exploratory clinical testing?
Agnotic runs exploratory testing for clinical software: risk maps, charters, realistic synthetic data, bug bashes with your clinicians and severity triage alongside your safety owner. We also turn critical findings into automated regression tests so they stay fixed.
Add risk-based testing with Agnotic
We plan and run exploratory testing and bug bashes on your clinical software.
Related reading on Agnotic
Testing clinical software and integrations.


