Hospital pharmacy automation is the set of machines and software that store, pick and track medicines inside a hospital, so that each patient gets the right dose. It has three main parts. Locked cabinets on each ward give out medicines only for patients who have an order for them. Robots in the central pharmacy pick and pack doses. And software tracks every dose, from the pharmacy shelf to the patient.
The ward cabinet is called an automated dispensing cabinet. It is connected to the hospital EHR, the record that the whole hospital runs on. When a doctor orders a medicine, a pharmacist checks the order in the EHR. The cabinet then knows which medicine that patient may receive. A nurse logs in with a fingerprint or a badge and chooses the patient. Only the drawer that holds that patient's medicine unlocks. The cabinet counts what is taken. For strong painkillers such as morphine, the nurse must also count what is left, and the cabinet compares the count with its own.
These systems are sold mainly in America and Britain, where most large hospitals use them. In India, a few large private hospitals use them, while most hospital pharmacies are still run by hand, with stock recorded in the hospital's software.
Here is a typical case, in a hospital in Ohio, in America. At 6 a.m., a nurse needs to give a patient an antibiotic and a 2 mg dose of morphine. She scans her fingerprint at the ward cabinet and selects the patient. Two drawers unlock: one for the antibiotic, one for the morphine. She takes one of each. The cabinet asks her how many morphine doses are left. She counts 9, and the cabinet also expects 9. At the bedside, she scans the patient's wristband and the barcode on each dose. The EHR confirms that the patient, the medicine, the dose and the time all match the order. The antibiotic goes into an infusion pump, which feeds it into a vein at a set rate. If anything had not matched, the scan would have warned her before she gave the dose.
Behind the wards, the central pharmacy keeps the cabinets full. A robot picks individual doses from bulk stock, packs each one in a labelled pouch, and sorts the pouches for each ward. The software knows when each cabinet is running low, so the pharmacy refills it before it runs out. It also flags doses that are about to expire. Hospitals order new stock from suppliers through an industry supply exchange. Some also track where carts and cabinets are with a real-time location system (RTLS).
Why do hospitals pay for this? Mistakes with medicines are among the most common errors in hospitals. A wrong drug, a wrong dose or a missed dose can harm a patient. Strong painkillers can also be stolen. The cabinets and the scans cut both risks, and they record who took every dose. The hospital is one of three settings described in pharmacy technology.