Pharmacy supply chain
Three tabs of the Supply & inventory group: stock and days of cover per pharmacy, orders and suppliers with the medicines in short supply, and expiry, write-offs and fridge temperatures.

- Tiles – Out of stock, below the reorder point, median cover, filled at once.
- Pharmacies – By their Location position; colour shows stock-outs.
- Trend – Click a medicine in About to run out to see it here.
Open the Supply & inventory group in the left panel and choose the Stock and availability tab (shown when your account can see SupplyDelivery or InventoryReport). Choose a pharmacy, an ATC group, the days over which use is measured, and whether to show critical medicines only.
- Pharmacy
- A Location that receives deliveries (SupplyDelivery
destination), dispenses (MedicationDispenselocation) or is counted (InventoryReportinventoryListing.location). Pharmacies with apositionappear on the map. - Medicine
- One product code: the first coding of the medication that is not ATC, else the ATC code. Its ATC code groups medicines and finds alternatives. A delivery of a different product than ordered is kept on the shelf of the product ordered.
- Stock
- The last inventory count (InventoryReport, count type snapshot, FHIR® R5) plus what came in since, less what was dispensed (completed dispenses and partial fills) and written off (count type difference). Without counts, the running total of deliveries and dispenses. Each delivery is a batch: the Medication it refers to, with lot number and expiry date; batches are used first expiry first out, and without write-off records a batch leaves the shelf on its expiry date.
- Cover
- The stock on hand divided by the average daily use over the chosen days. Out of stock: nothing on the shelf of a medicine that is in use or on order.
- Reorder point
- The use during the median lead time of the supplier for that medicine, plus 7 days of safety stock. On order: what open requests have not yet delivered, with the first date needed.
- Filled at once
- The share of dispenses that were not declined, on hold or a partial fill (type
PF). - Critical
- Antibiotics, anticoagulants, insulins, opioids, oncology, immunoglobulins and corticosteroids (ATC J01, B01, A10A, N02A, L01, J06, H02).
- Stock value
- At the latest unit price on an order (the SupplyRequest
parameterwhose code mentions price), per currency.
Click a pharmacy to show it alone, and a medicine in About to run out to see its stock, use and deliveries over the last 90 days.

- Lead time – The fastest 10% to 90%; the line is the median.
The Orders and suppliers tab follows each order line (SupplyRequest) through the deliveries based on it (SupplyDelivery basedOn): delivered in full, in part (closed with less than ordered), on backorder (still open after the date needed), open (not late yet) or cancelled. On time: complete by the date needed (occurrence). Lead time: from authoredOn to the first delivery, per supplier the fastest 10%, the median and 90%. Medicines in short supply lists medicines with an order line on backorder for more than 7 days after the date needed, with the cover left over all pharmacies, the patients who received it in the last 28 days and other medicines with the same ATC code (5 characters) in stock.

- Cold chain – One square per day: in range, out up to an hour, or longer.
The Expiry and waste tab shows the stock value by month of expiry: what expired in the past months, and for the coming months what will be used first expiry first out at the current use and what will expire unused. Expiring soon lists the batches that will expire unused in the next 180 days, with a pharmacy whose use would empty the batch in time. Write-offs by reason come from InventoryReport (count type difference, the operationTypeReason), so only in FHIR R5. Cold chain shows each refrigerator Device (its type or name says refrigerator or fridge) day by day for 30 days from its temperature Observations: in range all day (2–8 °C, freezers −50 to −15 °C), out of range up to an hour, or longer.
viewer:browse; each tab reads only the types your account can see, and Orders and suppliers needs SupplyRequest. Patient counts from 1 to 4 show as <5 and restricted patients are not counted. Values are not converted between currencies. FHIR R4 has no InventoryReport: stock then comes from deliveries and dispenses alone, and there are no write-offs.