BlinkRx
State-Specific Dispense Labels
A configurable label-generation system that handles differing pharmacy requirements across all 50 states.
Case study outcomes
Overview
Medication-label requirements differ by state, but the existing format was rigid. Each regulatory change could require an engineering release, and label generation took long enough to interrupt a pharmacist’s workflow.
What I Did
I built a configurable label platform with separate preview and print paths, grouped state rules, and administrative tools that let operations teams maintain templates directly.
- Modeled state-specific fields and grouped compatible states into ten reusable template families.
- Built preview and print APIs so pharmacists could validate a label before producing it.
- Added controls for text limits, auxiliary information, substitution text, and pharmacy formatting.
- Exposed template management through Django administration instead of source-code changes.
- Optimized rendering and font handling to produce labels in under one second.
Engineering Decisions
The durable solution was not a larger set of conditionals. Treating regulation as configuration created a controlled way to absorb future state changes while keeping validation and rendering behavior consistent.
Outcome
The system supports requirements across all 50 states and processes approximately 27,000 to 39,000 preview, print, and update operations per month. Template changes no longer require an engineering deployment.