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.

  1. 01

    What it is

    A master data system: reference product cards, a matching queue, duplicate search and an API for pharmacy software.

  2. 02

    Who it's for

    Catalog operators, their managers and the pharmacies that receive clean product data.

  3. 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

  1. 01

    Data intake

    Price lists, stock and products via API.

  2. 02

    Auto-matching

    By codes and binding history.

  3. 03

    Queue

    Resolving unclear lines.

  4. 04

    AI hints

    A suggested match with confidence.

  5. 05

    Duplicates

    Search and merge with rollback.

  6. 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.

01

Automatic matching

The system scores a match by codes, name, brand and binding history and links everything it is confident about on its own.

02

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.

03

Clean data

Product codes are validated and repaired on intake, and suspicious ones go to quarantine.

04

No duplicates

A nightly search finds identical cards, and any merge can be undone.

Features

  1. 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.

  2. Product card

    Active substance, form, dosage, manufacturer, codes, analogs, photos and every linked supplier line.

  3. Duplicate handling

    Groups of similar cards with a risk score: merge, mark “not a duplicate” or detach a code — all with rollback.

  4. Efficiency center

    Operator activity by hour, a workload heatmap and the share of lines matched automatically — with Excel export.

  5. 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 project

Technical 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

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. 1

    We reply within one business day

    If any details are missing, we'll clarify them in writing.

  2. 2

    We review the task

    If it helps, we'll have a short call at a time that suits you.

  3. 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

One way to reach you is enough: Telegram, email or phone.

PDF, DOC, XLS, PNG, JPG, ZIP — up to 10 MB

We usually reply within one business day.