- Home
- Case studies
- Master product catalog
A medicine catalog with automatic and AI matching of price lists
For a developer of pharmacy software we evolve a master product catalog. Supplier price lists and stock arrive over an API and are matched to cards automatically, operators resolve unclear lines with AI hints, and the finished catalog goes back to the pharmacy software.
Web apps · AI
The project in brief
A system that brings thousands of spellings of the same products from different suppliers down to one form.
- 01
What it is
A master data system: reference product cards, a matching queue, duplicate search and an API for pharmacy software.
- 02
Who it's for
Catalog operators, their managers and the pharmacies that receive clean product data.
- 03
What it solves
Links every supplier price-list line to one master card, so pharmacies can compare prices and keep records without confusion.
The client's problem
Suppliers name the same medicine in dozens of ways: abbreviations, typos, different dosage formats, broken barcodes. Without one catalog pharmacies struggle to compare prices and keep records, and manual matching took operators an enormous amount of time.
Different names
One product — dozens of spellings across price lists.
Broken codes
Errors in barcodes and marking codes broke automatic matching.
Duplicates
Identical products were added to the catalog several times.
Manual work
Operators resolved every new line by hand.
The client needed a catalog that matches everything it is sure of on its own and helps a person where a check is needed.
The task
- 01
Data intake
Price lists, stock and products via API.
- 02
Auto-matching
By codes and binding history.
- 03
Queue
Resolving unclear lines.
- 04
AI hints
A suggested match with confidence.
- 05
Duplicates
Search and merge with rollback.
- 06
Analytics
Operator and auto-match performance.
The system had to handle peak price-list loads without losing a single line.
Solution
We designed and keep evolving a system that takes in supplier and pharmacy data, cleans the codes and matches lines to master cards automatically. Anything the system is unsure of goes to the operator queue with ranked candidates and an AI hint.
Automatic matching
The system scores a match by codes, name, brand and binding history and links everything it is confident about on its own.
AI hints
For unclear lines a language model suggests a match with a confidence level and a reason, while the decision stays with the operator.
Clean data
Product codes are validated and repaired on intake, and suspicious ones go to quarantine.
No duplicates
A nightly search finds identical cards, and any merge can be undone.
Features
Matching queue
Tabs for price lists, stock, codes and rebinding, live counters of new lines and locking so two operators never take the same line.
Product card
Active substance, form, dosage, manufacturer, codes, analogs, photos and every linked supplier line.
Duplicate handling
Groups of similar cards with a risk score: merge, mark “not a duplicate” or detach a code — all with rollback.
Efficiency center
Operator activity by hour, a workload heatmap and the share of lines matched automatically — with Excel export.
Catalog enrichment
A client uploads their own Excel file and gets it back with catalog data added: codes, active substances and manufacturers.
Have a similar task?
Tell us what your project needs. Within one business day we'll reply, review the task for free and suggest an architecture, timeline and budget.
Discuss your projectTechnical implementation
The backend runs on Laravel with PostgreSQL and full-text search over a custom pharmaceutical dictionary. Heavy processing runs in Redis queues.
Queues and peaks
Large price lists are split into chunks and processed in parallel, and background jobs pause themselves at peak hours.
Safe changes
Every merge and rebinding goes into a log and can be undone, and bulk fixes are checked with a dry run first.
- Backend
- PHPLaravel
- Data
- PostgreSQLRedis
- AI
- Language modelsPython name-parsing services
- Interface
- TwigJavaScriptWebSocket
- Infrastructure
- DockerGitLab CI
This stack lets the system evolve for years and take on new data sources without downtime.
Result
Most supplier lines are now matched without a person, and operators deal only with the genuinely hard cases — with AI hints. Pharmacy software receives a clean catalog over the API.
- master card for every product
- 1
- lost lines — everything unclear goes to the queue
- 0
- of merges and rebindings can be undone
- 100%
- price-list and stock intake over the API
- 24/7
Services behind this project
What these services include and what else we have built in them.
Evolution & support
We take over a live product and keep it growing: new features, fixes and long-term maintenance.
More about this serviceSystem integrations
We connect CRMs, accounting systems, payment services and third-party APIs so data never has to be moved by hand.
More about this serviceAI in business apps
We build AI into systems and processes where it pays off: document search, request handling, report preparation.
More about this service
Tell us about your task
Describe what you need to build, automate or integrate — we reply within one business day and propose a solution. The review is free.
What happens next
- 1
We reply within one business day
If any details are missing, we'll clarify them in writing.
- 2
We review the task
If it helps, we'll have a short call at a time that suits you.
- 3
You get an estimate
Timeline, budget and a work plan — free, no strings attached. Then we work under a contract.
Prefer email? Write to sales@shefcode.tech
Request sent
Thank you! I will get back to you within one business day with a solution.


