← All case studiesPharmacy Operations

QR Scanned Pharmacy Dispensing and FEFO Compliance

A scan-controlled inventory workflow that embeds item, batch, expiry and FEFO checks from goods entry through stock taking, transfers, issues and returns.

66.9%QR adoption2.45 minQR average TAT+17.9 ptsFull FEFO lift97.2%Traceability
01 · Context

The challenge

Manual inventory handling depended heavily on staff visually reading labels, selecting batches and checking expiry dates in busy pharmacies and stores. Interruptions, look-alike packaging, split packs, poor shelf arrangement and incomplete expiry review created avoidable selection, expiry and recall risk. A fast click at the issue stage could look efficient while excluding the later cost of reconciliation, error correction and expiry cleanup.

Leadership also needed evidence that separated true scan-controlled compliance from normal issues reconstructed after the event. Without a traceable comparison by method, user, location, item, batch and expiry, it was difficult to govern adoption or identify where master-data and workflow gaps were weakening FEFO discipline.

02 · System

What I built

I designed and developed QR functionality inside a legacy PHP 5.6 and MySQL hospital platform, extending it rather than requiring a costly replacement. The workflow captures item, batch, expiry, FEFO reference and location at goods entry, stock taking, inter-department transfers, issues and returns. It can warn, block, trace or report exceptions at the point of work.

I also built a management and audit layer that separates QR-controlled issues from normal issues, measures captured turnaround time, reconstructs expiry and FEFO references from stock and purchase records, and exposes adoption, traceability, reference coverage and non-compliant lines. The methodology explicitly distinguishes enforced QR compliance from retrospective manual alignment.

Legacy PHP 5.6MySQLQR and barcode workflowsFEFO and expiry controlsAudit dashboardsInventory integration
03 · Outcome

How the organisation benefits

The publication analysis for 1 March to 13 May 2026 covered 8,242 encounters and 34,000 issued lines at the QR/mixed site. QR adoption reached 66.9%; QR-controlled issues averaged 2.45 minutes compared with 7.07 minutes for manual issues within the same hospital; full FEFO compliance reached 45.7% versus 27.8% manual alignment, a 17.9-point lift; and traceability coverage reached 97.2%.

The value is broader than transaction speed. The workflow embeds safety and stock governance during routine work, improves recall readiness, makes near-expiry and reference gaps visible, and gives pharmacy, stores and leadership a daily evidence base for coaching, master-data correction and phased rollout. Later dashboard snapshots remain visible in the case-study evidence and show that performance continues to be monitored as the data window changes.

04 · Practice

Delivery reality

The project had to make a mature legacy system perform modern scan-controlled inventory without disrupting daily dispensing. Master data needed validation; damaged labels, split packs and returns needed exception paths; printer or scanner downtime needed a fallback procedure; and partial adoption could leave traceability gaps even when the technology itself worked.

Delivery therefore combined executive sponsorship, Pharmacy and Stores ownership, IT first-line support, role-based training, spare-device planning and adoption monitoring by user and location. I treated dashboard interpretation with equal care: manual issue can appear faster when it skips validation, so leadership reporting presents visible speed alongside safety, FEFO, expiry and traceability controls.

05 · Visual evidence

System narrative

Continue exploring

More operational case studies.