Corroba

Corroba

Offline dictation for UK GPs that double-checks every drug name.

A clinical dictation safety research prototype, designed and documented by a UK GP.

Research prototype. Not for clinical use. Not a medical device. Uses fictional data only. No patient data is collected, stored or sent.

One misheard word can put the wrong drug in a record.

Saidamlodipine
Writtenamiodarone

Speech software mishears drug names. The words sound alike; the drugs do not act alike. A busy clinician reading back a long letter can miss it.

Dictation Ear 1 speech model Ear 2 independent speech model Drug-name check medical speech model + clinician dose rules

It listens twice.

Two independent speech models (the two “ears”) hear every dictation. A third, medical speech model then double-checks every drug name against what they heard.

Both agree a drug was misheardIt corrects it, shows the change in amber, and one click (or Ctrl+Z) puts the original back.

They disagreeIt stops and asks the clinician.

A dose looks wrongClinician-written rules flag possible dangerous slips, such as methotrexate “daily” or insulin in “mg”.

PasteText only goes into the window the clinician started from. Paste is refused if that window has changed.

Drug-name errors fell from 8.4% to 2.5%.

About 70% fewer drug-name errors, in the test described below.

The test: 60 unseen, publicly available simulated consultations (239 drug-name mentions), compared with the same speech engine listening once. Overall word accuracy was not made worse in the same test.

Overall word error

All words, same 60 consultations. Not made worse.

Medical-term word error

All medical terms, not only drugs. Same test.

LimitationSimulated North American conversations, not UK dictation.
LimitationOne sample of 60 consultations.
LimitationNot tested against commercial products.
LimitationThe same held-out set was used twice: before and after one fix.
More testing detail

Method

  • Data: Fareez et al. 2022, simulated medical consultations, released under a CC0 licence.
  • Sample: 60 consultations, chosen and fixed before any system was run on them.
  • Scorer: the open Omi Health medical speech-to-text scorer. It reports overall word error, medical-term word error, medical-term recall and high-risk drug-name error.
  • “Listening once”: the same main speech engine on its own, with none of Corroba’s checks.
  • Corroba: the full app pipeline: both ears, the drug-name check and agreed corrections.

All results

Measure (60 consultations)Listening onceWord boost, no guardCorroba (current)
Drug-name error (239 mentions)8.37%2.09%2.51%
Overall word error7.85%8.52%7.83%
Medical-term word error2.87%2.48%2.34%
Medical terms recognised97.8%98.6%98.4%

Other checks

  • On a second public set (PriMock57), 4 of 5 drug names that were never said, but appeared in the text, were flagged to the clinician.
  • In the 60 test consultations Corroba made 4 automatic corrections. Whether each was right has not yet been verified.
  • Paste safety is tested with simulated Windows calls. Live testing on Windows is limited.

What didn’t work first time.

Telling the speech engine to expect GP words cut drug-name errors, but it also invented small words that were never said. Overall accuracy got worse.

A guard now keeps the engine’s changes only where they involve a GP word, and uses the plain transcript everywhere else. That traded a little of the drug-name gain (2.09% to 2.51%) for overall accuracy no worse than before.

Offline by design.

Corroba runs fully offline on an ordinary practice PC. No cloud and no internet needed. No audio or text leaves the computer.

8 GBmemory
Intelstandard CPU only
No GPUno graphics card needed
Offlineno internet connection

Because nothing leaves the PC, dictation does not depend on an internet connection or a cloud service, and no recording is sent anywhere.

The safety case, done in the open.

I am documenting a clinical safety case to the structure of DCB0129. It is a draft and has not been approved by a Clinical Safety Officer.

The draft hazard log has 13 hazards. Two residual risks are openly rated unacceptable for clinical use, and they block it: dose-rule coverage and automation bias (trusting the text and reading less carefully).

The hazard log and safety documents are available to relevant professionals on request.

Across: severity. Up: likelihood. Residual risk, after controls. Hover or tap a hazard for its name.

Rated 1–2, acceptableRated 3, undesirableRated 4, unacceptable for clinical use
The 13 hazards
IDHazardResidual risk
H1Automatic correction changes a correctly spoken drug to a wrong drug2
H2A misheard drug is not flagged3
H3A drug that was never said is written3
H4Wrong dose, number or unit written3
H5A dangerous dose is not flagged4
H6Text pasted into the wrong window or record2
H7Dictated text is lost or overwritten2
H8Poor audio produces plausible but wrong text2
H9The wrong patient’s medication list is used2
H10Confidentiality breach of audio or text1
H11Automation bias: the clinician stops reading carefully4
H12Undocumented change to behaviour2
H13Software fails while in use1

Steps still to do before any clinical use

These are steps, not promises or dates.

  1. A test on UK dictation: accents, headsets, clinic noise
  2. A usability (human-factors) study
  3. Independent Clinical Safety Officer review and sign-off
  4. DCB0160 assessment by any deploying organisation
  5. MHRA medical device registration

About

Corroba is built by Dr Ibrahim Abdo, a GP partner and GP trainer in Wales, working in clinical safety (DCB0129 and DCB0160) and clinical AI.

It is a personal project, built in personal time and kept separate from NHS work and systems. The name comes from “corroborate”: two ears, one shared check.

I am open to conversations about clinical safety and clinical AI, and to collaborators.

Get in touch

The best way to reach me is a message on LinkedIn.

Message me on LinkedIn