Drugs and substitutes
The drug profile of a medicine (generic name, strength, form, schedule, maker, registration number, storage, GTIN, directions), substitutes, searching by generic name, importing drugs, and scanning a pack's GS1 DataMatrix code.
With the Pharmacy app (installed with OmniBooks Pharmacy), a medicine is a product with a drug profile. The product keeps its SKU, prices, stock and accounts as usual. The profile adds what a pharmacist needs to know about it.
The drug profile
Open the item and use the Drug card (Add drug profile, or Edit). It has these fields:
- Generic name: the active ingredient(s), for example Paracetamol, or Paracetamol + Caffeine.
- Strength: for example 500 mg or 250 mg/5 ml.
- Form: tablet, capsule, syrup, suspension, injection, cream, ointment, gel, drops, inhaler, suppository, patch, powder, spray, solution, device or other.
- Schedule:
- Over the counter (OTC): sold freely.
- Pharmacy only (P): sold by or under a pharmacist.
- Prescription only (POM): sold against a prescription. India's Schedule H belongs here.
- Controlled (CD): narcotics and psychotropics. India's Schedule H1 and X belong here; add the class in Controlled class.
- Storage: room temperature, cool, fridge (2–8 °C) or frozen.
- Maker and Registration number (the drug authority's number).
- GTIN: the 14-digit product number in the pack's 2D code or barcode. Scanning the pack then finds the item.
- Units per pack: for labels.
- Route, and Default directions in English and Arabic: printed on dispensing labels later.
A drug is always a stock-tracked good with batches and expiry dates. Saving a profile switches both on for the item. Stock already on hand goes into the item's unassigned batch, which you can assign under Inventory → Batches and expiry (see Batches and expiry dates).
The schedule is recorded and shown everywhere the drug appears. The till does not apply schedule rules yet: pharmacist approval and prescriptions at the counter come in the next stage of the edition.
Substitutes
Drugs with the same generic name, strength and form are substitutes: other brands, or other pack sizes of the same drug. Spelling and order don't matter: paracetamol/caffeine matches Caffeine + Paracetamol, and 500mg matches 500 mg.
The Drug card lists an item's substitutes with their stock and price. Pharmacy → Drugs shows how many each drug has.
Pharmacy → Drugs
The catalogue by generic name, with form, schedule, storage, maker, stock, price and substitutes:
- The tabs filter by schedule. You can also filter by form or storage (for example, everything kept in the fridge), or search by generic or brand name, maker, registration number or GTIN.
- Without a profile lists stock items that have no drug profile yet. Add one, or leave non-medicines (health and beauty goods) as they are.
Finding a drug on a document
On invoices, bills, purchase orders and the other forms, you can search a line's product by:
- generic name: typing amoxicillin finds every amoxicillin product;
- several words: typing paracetamol 500 finds the items whose name, generic name or strength match every word;
- scanning the pack's DataMatrix: this finds the item exactly, by its GTIN.
Results show the drug's generic name, strength, form and schedule under the item's name.
Importing drugs
The product import reads these drug columns: Generic name, Strength, Form, Schedule, Maker, Registration no., GTIN, Storage, Units per pack, Directions, and the local drug codes Dubai Drug Code, SFDA registration number and National drug code.
- Values can be written as pharmacies usually write them:
- schedules: OTC, P, POM, Rx, CD, H, H1 or X;
- forms: tab, caps, syr, inj and the like;
- storage: Fridge 2-8, Room temperature.
- A row with a generic name becomes a drug, with batches and expiry dates on. Its opening stock therefore needs Batch and Expiry columns.
- An existing item named in the file gets a profile, or has its profile updated. Blank cells keep the values it has.
- Drug columns are read only with the Pharmacy app. There, a column headed GTIN is the drug's GTIN; without the app it is read as a barcode.
Scanning a pack's DataMatrix
Medicine packs carry a GS1 DataMatrix: a small square 2D code holding the GTIN, the batch, the expiry date and often a serial number. A 2D scanner (one that reads QR and DataMatrix codes) types it like a barcode. You can scan it in three places:
- Receiving goods (Count by scanning): each scan finds the order line by its GTIN, adds one unit, and records the pack's batch and expiry date on the line. Several batches on one line are counted apart. See Receiving goods.
- Any batch field (stock adjustments, opening stock, transfers, bills): scanning into Batch no. fills the batch number and the expiry date.
- A document line's product search: finds the item.
An expiry date printed with day 00 means the last day of that month, as the GS1 rules say. The serial number is kept per pack when you receive by scanning and when the pack is sold at the counter: see Counter checks and pack serials.