GTIN barcode setup for Lebanese pharmacy distributors and pharmacies
What a GTIN is, how it encodes batch and expiry in the GS1 2D barcode on every regulated Lebanese drug, and what pharmacies and distributors have to get right before MediTrack works.
Definition
GTIN (Global Trade Item Number) is the 14-digit GS1-standard identifier that uniquely identifies a drug SKU across the global supply chain. On Lebanese regulated drugs, the GTIN is encoded into a 2D DataMatrix barcode on the outer packaging together with the batch number and expiry date, allowing the MoPH MediTrack system to track every box from import to dispensing.
What a GTIN actually is
A GTIN is the global standard product identifier maintained by GS1, the same body that runs the UPC barcodes you see on retail shelves worldwide. Every distinct drug SKU — a specific product, manufacturer, strength, and package size — gets a unique 14-digit GTIN that follows the product across borders and through every link of the supply chain. The pharmacy never invents a GTIN; the importer or manufacturer registers it with GS1 and uses it consistently on every batch.
What the 2D barcode encodes
The GS1 2D DataMatrix on a regulated Lebanese drug pack encodes three things the dispensing pharmacy needs: the GTIN (which product), the batch or lot number (which specific manufacturing run), and the expiry date (when the contents become unusable). All three are read in a single scan. Pharmacies that still rely on a 1D barcode + a hand-typed batch + a hand-typed expiry inherit data-entry errors at the till — and those errors are exactly what MoPH MediTrack rejects.
- GTIN (Application Identifier 01) — 14-digit product identifier
- Batch / lot (Application Identifier 10) — variable-length manufacturing run code
- Expiry (Application Identifier 17) — YYMMDD format
- Optional serial number (Application Identifier 21) for serialised drugs
What the distributor has to get right
Before a drug can be dispensed under MediTrack, the importer or distributor has to: (1) register the GTIN with GS1 Lebanon, (2) declare the product to MoPH so the GTIN appears in MoPH's master catalog, and (3) print the GS1 2D barcode on every pack with correctly-encoded batch and expiry. Errors at any of these three steps surface at the pharmacy till as a MediTrack rejection — and the pharmacy cannot fix them. The fix has to go back up the chain.
What the pharmacy has to get right
The pharmacy's responsibility is much narrower: scan the 2D barcode at goods receiving (not 1D, which loses batch and expiry), confirm the scanned GTIN matches the drug on the pack, and trust the system to read the batch and expiry from the same scan. Manual typing of batch or expiry is where errors enter the system; barcode-only entry is where they exit.
- USB or Bluetooth 2D barcode scanner at goods-receiving
- Same scanner at the till for dispensing
- Scanner configured to read GS1 DataMatrix (most modern scanners do by default)
- No manual typing of batch or expiry — scan-only data entry
How PharmEasy handles GTIN end-to-end
PharmEasy stores the GTIN against each drug in the catalog and against each batch in inventory. When a pack arrives at goods-receiving, scanning the 2D barcode auto-creates the inventory entry with batch and expiry from the same scan. When the same pack is dispensed at the till, scanning the 2D barcode pulls the same data back out. MediTrack submission uses these stored values — they cannot drift between what the pharmacy thinks it has and what MoPH thinks the pharmacy has.
Frequently asked
- Does the pharmacy need its own GS1 registration?
- No. GTINs are issued by GS1 to manufacturers and importers, not to retail pharmacies. The pharmacy uses GTINs that were registered by the upstream supply chain. The pharmacy's relationship with GS1 is purely as a consumer of GTINs, not a publisher of them.
- What happens if a drug arrives with a GTIN that PharmEasy does not recognise?
- PharmEasy creates the catalog entry from the scan, then flags the GTIN for the owner to review. If the GTIN is genuinely new (a new SKU from a known supplier) the entry is approved and added to the master catalog. If the GTIN is unknown to MoPH MediTrack as well, dispensing the drug under MediTrack will fail until the distributor completes registration — that is a supply-chain step, not a pharmacy one.
- What about old stock without a 2D barcode?
- Some legacy stock predates the 2D barcode requirement and only carries a 1D EAN code. Those packs can still be sold, but the batch and expiry have to be entered manually at goods-receiving, and MediTrack submission will not apply if the drug is in a regulated category and the master catalog has been updated to require GS1 scanning. The right path forward is to clear legacy stock and rely on GS1-compliant deliveries going forward.
Keep reading
What is MoPH MediTrack? A guide for Lebanese pharmacists
MoPH MediTrack is Lebanon's national drug track-and-trace system. What it is, what it requires, what changed in 2023, and how pharmacies submit dispenses today.
Read articleMoPH MediTrack submission errors — the most common ones and how to fix them
The error patterns Lebanese pharmacies hit when submitting to MoPH MediTrack — UHID format, GTIN not registered, batch already consumed, expiry mismatch — and what to do about each.
Read articlePharmacy expiry management — avoiding write-offs at scale
Why expiry write-offs are the dominant inventory loss in retail pharmacy, what a system has to track to surface them early, and how Lebanese pharmacies recover the lost margin.
Read article
Run your pharmacy with PharmEasy.
Founders-run demos, 30 minutes, tailored to your pharmacy. We typically schedule within 24 hours.
