Short answer
Clinic drug stock software is the pharmacy and inventory part of a clinic system. It receives drugs with their lot numbers and expiry dates, then deducts stock on its own when a doctor prescribes during a visit, taking the lot that expires first. Shop stock software deducts at the till and never knows which patient a drug went to. Controlled drugs in Thailand also need registers and monthly reports in the Thai FDA's own formats.
Key points
- A doctor or dentist selling drugs only to their own patients needs no drug-selling licence under the Drug Act B.E. 2510, section 13(3)
- Dispense the lot that expires first (FEFO), not the lot that arrived first, and never dispense an expired lot
- Every drug a clinic dispenses needs a label with at least 8 items, under the Ministry of Public Health notice on drug labels B.E. 2565 (2022)
- Psychotropics and narcotics a clinic holds go in Thai FDA registers, are reported monthly, and the registers are kept for at least 2 years
- Count stock against the system on a cycle, and have someone approve every difference before the balance changes
How clinic drug stock software differs from shop stock software
The difference is where a deduction comes from. A shop deducts when a cashier scans an item. A clinic deducts from what the doctor prescribed in that visit, so every tablet that leaves the cabinet is tied to a patient, a visit and a lot. If a lot turns out to be faulty, the clinic has to be able to say who received it.
The second difference is expiry. Most shops only care how many are left, but an expired drug cannot be dispensed, so the system has to know when each lot expires and warn before it does. The third is that some drugs carry their own rules: the label that must go on the bag, and the controlled-drug registers reported to the Thai FDA.
| Topic | Shop stock | Clinic drug stock |
|---|---|---|
| When stock is deducted | At the till | At dispensing or payment, from what the doctor prescribed |
| Who received the item | Unknown, or a customer name | The patient, the visit and the lot |
| Lot number and expiry | Often not kept | Recorded from the moment stock is received |
| Which unit goes first | Any | The lot that expires first (FEFO) |
| Expired or damaged stock | Discounted or written off | Pulled from the cabinet, disposed of, with a reason |
| Specific law | Little | Drug labels with 8 items, and controlled-drug registers |
How drug stock moves through a clinic, from purchase to patient
A box of drugs passes through seven steps before it leaves the clinic. Each step changes the balance in the system and should leave a trace of who did it and when. Skip recording one step and the system stops matching the cabinet from that point on.
- Request and order: find what is running low against the minimum you set, and raise a purchase order to the supplier
- Receive: check the goods against the delivery note and record quantity, unit cost, lot number and expiry date for every lot
- Store: the consulting-room cabinet, the dispensary or the fridge; the system should know which lot sits where
- Dispense: the doctor prescribes in the visit, and the system deducts from the lot that expires first
- Transfer: move stock between locations or branches; the source goes down and the destination goes up in one step
- Count: count what is on the shelf against the system, and have someone approve the difference before it is booked
- Dispose: take expired or damaged stock out with a reason
When to deduct drug stock: at prescribing, at dispensing or at payment
Deducting at prescribing is the earliest, but if the patient declines the drug or the doctor edits the prescription, someone has to put the stock back. Deducting at payment matches the money best, but if the drug left the cabinet before the patient paid, the system shows more than the shelf for a while. Clinics with a separate dispensary usually deduct when the pharmacist dispenses; small clinics where the doctor hands over the drug usually deduct when the visit closes or the bill is paid.
Any of these works, provided the system does two things. A refund or a cancelled bill must put the drugs back into stock with a trace. And drugs used inside a procedure or a course, such as local anaesthetic or filler, must be deducted too, not only what the patient takes home.
Lots and expiry: what FEFO means and why it beats FIFO
FIFO is first in, first out. FEFO (First Expiry, First Out) means whatever expires first goes out first. They part ways when a supplier delivers a new lot that expires sooner than the stock already in the cabinet, which does happen. Dispense by FIFO and the short-dated lot sits at the back until it expires.
A good system picks the lot by expiry date on its own, skips lots that have already expired, and when one lot cannot cover the quantity, takes the rest from the next lot. The stock screen should list drugs close to expiry so the clinic can use them first, return them to the supplier or plan their disposal.
Lot numbers pay off in one more case: when the Thai FDA or a manufacturer recalls a lot, the clinic can see at once how much of it is still on the shelf and which patients already received it.
Stock counts and stock cards: how often to count
The registers whose layout the Thai FDA prescribes are the ones for psychotropics and narcotics, covered in the next section. For ordinary drugs, a stock card or receive-and-issue register is the clinic's own tool: it tells you where stock went, what drugs cost this month and when to reorder.
Most clinics count expensive or fast-moving drugs weekly and the whole cabinet monthly or quarterly. How the balance is corrected matters more than how often you count. The person who counts should not be the one who approves the difference, and every correction needs a reason: miscounted last time, broken, or missing. If anyone can overwrite the balance directly, the system always matches the cabinet and nobody knows how much has gone missing.
Stock in Excel or in software: when the spreadsheet stops working
Controlled drugs in a Thai clinic: which registers psychotropics and narcotics need
Drugs controlled under the Narcotics Code B.E. 2564 (2021) go in receive-and-issue registers in the Thai FDA's formats, with a report every month, due within a month of month-end. Registers and reports are kept for at least 2 years from the last entry. The table summarises the guidance for health facilities from the Thai FDA's Narcotics Control Division, last updated 14 November 2025.
The register for category 2 psychotropics and category 2 narcotics records the date, drug name and strength, trade name, lot, who supplied it, who received it with their ID card number, and the brought-forward, received, issued and balance quantities.
One exemption comes up often. A 2023 Ministry of Public Health notice under section 32 lets a doctor or dentist hold category 3 and 4 psychotropics up to a set quantity without a licence, for example 10 g of diazepam or 2 g of lorazepam, but the monthly report on form ยส.วจ./เดือน is still due. Possession licences for category 2 to 4 psychotropics under the 2025 Ministerial Regulation run to 31 December of the second year, and licences issued under the old rules lapsed on 31 December 2025. A clinic that still holds these drugs should confirm its licence status with the Thai FDA or its provincial health office.
| Category | Example drugs | Licence | Register | Monthly report |
|---|---|---|---|---|
| Psychotropic, category 2 | alprazolam, midazolam, phentermine, zolpidem | Selling licence | บ.ย.ส.2/ว.จ.2-จ1 | ร.ย.ส.2/ว.จ.2-จ1 |
| Narcotic, category 2 | morphine, pethidine, fentanyl | Selling licence | บ.ย.ส.2/ว.จ.2-จ1 | ร.ย.ส.2/ว.จ.2-จ1 |
| Psychotropic, categories 3 and 4 | diazepam, lorazepam, clonazepam, phenobarbital | Possession licence | บ.ค.-2 | ร.ค.-4/เดือน |
| Narcotic, category 3 | Codeine cough or pain syrups, Brown Mixture | See the Thai FDA notice | See the Thai FDA notice | ยส.วจ./เดือน |
Sources
- Thai FDA Narcotics Control Division, reporting for health facilities (Thai)
- Ministry of Public Health notice setting the quantities of category 3 or 4 psychotropics that medical, dental and first-class veterinary practitioners may hold under section 32, B.E. 2566 (Royal Gazette vol. 140, special part 216 ง, 5 September 2023) (Thai)
- Thai FDA briefing on the 2025 Ministerial Regulation on possession licences for category 2 narcotics and category 2 to 4 psychotropics (Thai)
What a clinic drug label must show under the 2022 notice
The Ministry of Public Health notice on service standards for drug labels in health facilities, B.E. 2565 (2022), covers every drug a practitioner dispenses from a facility, herbal products included. Clinics licensed before the notice had two years to comply, which ended in 2024. The label or bag must carry at least these 8 items.
- The clinic's name, and a phone number or other contact channel
- The patient's full name and the dispensing date (an outpatient clinic may leave out the HN)
- The drug's generic name in Thai; a combination product may use its Thai trade name instead
- Dosage form, strength and quantity dispensed
- Directions for use
- Indication
- At least one warning, precaution or contraindication
- Expiry date, unless the original pack already shows it
TCM and Thai traditional clinics: how herbal labels differ
The same notice relaxes two items. A combination remedy dispensed by a Thai traditional medicine practitioner, an applied Thai traditional medicine practitioner or a licensed Chinese medicine practitioner need not show a generic or trade name, but must show the formula name, a code or other detail that traces back to the ingredients, and strength may be left out. Everything else, including directions, indication, a warning and expiry, still applies.
Herbal stock is one step harder than tablets. One formula uses several herbs, stock is deducted in grams, and each herb has its own lots and expiry dates.
Does a Thai clinic need a drug-selling licence?
No, if the seller is a doctor or dentist selling only to their own patients. Section 13(3) of the Drug Act B.E. 2510 exempts that case from the drug-selling licence. The exemption is written for the practitioner, not the clinic: a clinic that runs a counter selling to people who were not seen needs an ordinary drug-selling licence. Controlled drugs still need the licences listed in the table above.
How SyncEdge Clinic handles drug stock, and what it cannot do yet
Drugs come in on a goods receipt that records the lot number, expiry date and cost of each lot. Each drug can carry a minimum level, and the stock screen shows what is below it plus a strip of lots close to expiry. Suppliers, purchase requests and purchase orders live in the same system, and opening balances can be imported from an Excel or CSV file.
When the doctor completes the visit, the system deducts what was prescribed from the lot that expires first, skips expired lots, and runs across several lots when one is not enough. If the system holds less than was prescribed, the visit still closes: the shortfall is recorded as stock owed and cleared when the next delivery is received. Herbal formulas are deducted in grams. Cancelling or refunding a bill line returns the stock. Balances can never go negative, and every stock movement is an entry that cannot be edited afterwards; corrections are reversing entries.
Counts run in cycles, and someone other than the person who opened the count approves the difference before the balance changes. A manual adjustment is filed as a request and approved before it is booked; on the Pro plan the approver must be a different person. Disposing of expired or damaged stock needs a reason and approval from someone other than the person who requested it. The stock-on-hand report lists every lot by expiry date, and the movement report shows opening balance, received, issued, adjusted, transferred and disposed, with export to a file. All of this comes with the Solo plan at ฿990 a month including VAT; transfers between branches start on Pro.
Three things it cannot do yet. First, it does not produce the Thai FDA controlled-drug registers or monthly reports: it flags controlled drugs on the prescription, but the clinic still fills in the บ.ย.ส. and บ.ค. registers and files the monthly report itself. Second, a drug label is only as complete as the drug data behind it. The system prints label stickers (60×40, 80×50 or 100×75 mm, or A5) for Western drugs, herbal formulas and take-home products, laid out for the 8 items, but the Thai generic name, indication and warnings come from what the clinic enters for each drug, the expiry date is filled in from the lot only after stock is deducted (before that it prints a blank to complete by hand), and a herbal formula label has no indication or warning yet. Third, it cannot scan drug barcodes when receiving or dispensing.
Ask the vendor before choosing clinic drug stock software
- Does stock come off the prescription in the visit, or does staff deduct it again by hand?
- Can every lot be received with its lot number and expiry date?
- Does dispensing pick the lot that expires first on its own, and skip expired lots?
- Are drugs used inside procedures and courses deducted too?
- After a refund or a cancelled bill, do the drugs go back into stock on their own?
- Can a count change the balance directly, or does someone approve the difference?
- Can you find which patients received a given lot?
- Can it produce the Thai FDA controlled-drug registers and reports?
- Can it print a label with all 8 items the 2022 notice requires?
Frequently asked questions
What is clinic drug stock software?
It is the pharmacy and inventory part of a clinic system. It receives drugs with lot numbers and expiry dates, deducts stock when a doctor prescribes in a visit by taking the lot that expires first, and handles counts, transfers and disposal of expired drugs. Shop stock software deducts at the till and never knows which patient received a drug.
Does a clinic in Thailand need a drug-selling licence?
No, if a doctor or dentist sells drugs only to their own patients, under section 13(3) of the Drug Act B.E. 2510. Selling to people who were not seen needs a drug-selling licence, and controlled drugs such as psychotropics and narcotics need licences under the Narcotics Code.
What is the difference between FEFO and FIFO?
FIFO sends out whatever arrived first; FEFO sends out whatever expires first. Drug stock should use FEFO, because a supplier may deliver a new lot that expires sooner than the stock already on the shelf, and under FIFO that short-dated lot waits until it expires.
What must a clinic drug label show in Thailand?
Under the Ministry of Public Health notice on drug labels B.E. 2565, at least 8 items: the clinic's name and contact, the patient's name and dispensing date, the generic name in Thai, dosage form, strength and quantity, directions, indication, at least one warning, and the expiry date unless the original pack shows it.
Does a clinic need a licence to keep diazepam?
A doctor or dentist may hold up to 10 g of diazepam without a licence under a 2023 Ministry of Public Health notice issued under section 32 of the Narcotics Code, but must still file the monthly report. Holding more than that needs a possession licence.
How long must controlled-drug registers be kept?
Registers and reports for psychotropics and narcotics are kept for at least 2 years from the last entry, and reports are filed every month, within a month of month-end, according to the Thai FDA's Narcotics Control Division.
Can a clinic keep its drug stock card in Excel?
Yes, for a clinic with a few dozen drugs and one doctor. But someone has to update the file after every dispensing, the file does not pick the lot that expires first, and it cannot tell which patient received which lot. Once the balance drifts from the cabinet, it is hard to find the day it went wrong.