Case study · CoriRx CD Register · 4 decision stories
A legal record that can be corrected, but never rubbed out.
Every UK pharmacy keeps a controlled drugs register: every box of oxycodone or morphine in and out, and a running balance that must match the shelf. A mistake here is a legal problem, not just a UX one. I designed the CD Register in CoriRx. These are four decisions that shaped it, including one where I had to admit my first design was wrong.
- My role
- Designed the CD Register end to end, and helped build the frontend
- Users
- Pharmacists, dispensers, inspectors
- The rule behind everything
- Every entry is permanent, and signed by a named person with their PIN
- Status
- Correction pattern and opening-balance lock: proposed
Four decision stories
Decision story 1 · Strategic
I compared my design with four competitors, and found my correction flow was wrong
In a CD register, you can’t rub out a mistake. My first design fixed the number, but quietly lost the story of what went wrong.
- Before
- My first correction was simple: choose “Correction”, add or remove a quantity, give a reason. The balance came out right, but the wrong entry stayed in the register, unmarked. An inspector would see two numbers that don’t agree, with nothing joining them. I only saw this when I compared our flows, step by step, with CDRx, PharmCD, CDsmart and Pharmace.
- The decision
- Fix a mistake from the entry itself, not with a new, separate entry. Each row gets a menu with three choices: Annotate (a typo, the numbers are fine), Void (wrong register, so reverse it) or Correct quantity. Every choice needs a reason and a PIN.
- After
- The original stays visible but struck through, and is linked to its fix, with who changed it and when. Reading down the register, an inspector can follow every single number.
The same comparison found six more gaps: patient returns were being logged as destructions (which wrongly lowers stock), expired stock had no “awaiting destruction” list, there was no way to record a witness from outside the pharmacy, supplies didn’t record who collected or if ID was checked, receipts had no invoice number, and registers didn’t show the CD schedule. I wrote it up with a suggested flow for each, so engineering could turn it into tickets.
Decision story 2 · Flow
Scan first, so nobody picks the wrong strength
Oxycodone 5 mg and Oxycodone 10 mg sit right next to each other in any list. One wrong tap puts stock in the wrong register.
- Before
- Finding a drug meant typing its name and choosing from a list of near-identical forms, strengths and pack sizes, at a busy counter, often with a patient waiting.
- The decision
- Make scanning the first step. One “Scan or search” window opens with the barcode field ready. Most pharmacy scanners type like a keyboard, so a scan fills the field and searches straight away, with no setup. Search by name sits underneath as the back-up.
- After
- Scan the pack in your hand and the right register opens. A small “Ready to scan” label tells staff the scanner will work before they try it.
The pack itself chooses the register, so the riskiest step, picking the right strength from a list, is gone for any drug with a barcode.
Decision story 3 · Micro
“The register says 120. You’re removing 122.”
A warning that can be closed will be closed. So when the numbers don’t add up, I chose to stop the entry, not warn about it.
- Before
- When someone tried to supply or destroy more than the register held, the easy design was a yellow warning with a “Continue” button. Under pressure, people press Continue, and the balance goes below zero.
- The decision
- Block the entry with a plain message that states both numbers, and give one way forward: Reconcile. That opens a balance check where the register balance is shown but locked, and the physical count is required.
- After
- The balance can’t quietly go negative. Every mismatch becomes a recorded balance check, with a name, a count and a time.
Counting one drug at a time was slow for big registers, so I later added a bulk balance check, where a branch counts many drugs in one go.
Decision story 4 · Strategic
Give the inspector a link, not your computer
During an inspection, the dispensary computer is the one thing a pharmacy can’t spare.
- Before
- With a digital register, the obvious way is for the inspector to sit at the pharmacy’s computer. Staff stop working, and the inspector can see whatever else is open on that screen.
- The decision
- An inspector access link: pick the dates and an expiry, then share it. The link is read-only, and the window says “no edits or exports” in plain words. An inspector preview shows the pharmacist exactly what the inspector will see.
- After
- The inspector reviews on their own device, the pharmacy keeps working, and access ends on its own.
The inspector sees only the dates they need, and only for as long as they need them. The pharmacy stays in control of its own data.
Smaller decisions
The details that add up
Top of every register, with the date of the last check. It’s the first thing anyone looks for.
Receipt, Supply, Destruction: colour helps, but the word does the work.
Who witnessed and who entered sit side by side, because both names matter legally.
You can see it, but only the physical count can be typed in.
Inspector links expire on their own, so nobody has to remember to turn them off.
After the first entry, the starting balance can’t be edited, so history can’t be rewritten.
Reflection
What I took from this
Finding my own mistake was the most useful thing I did. Comparing my design with competitors was uncomfortable, but it found seven real gaps before customers did.
In a legal record, some friction is the feature. Blocking an entry felt harsh at first, but a warning you can close protects nobody.
Say the rule on the screen. “No edits or exports” and “Ready to scan” cost a few words and remove a lot of doubt.