BioEcko Docs
Functional Consultant Training

Module Deep-Dive: Pharmacy & Inventory

Complete FC walkthrough of Bio Ecko's pharmacy dispensing, inventory management, stock control, and drug-master configuration.

February 2026 · 18 min

Manual area

FC Training Programme

Coverage

8 sections

Operator notes

3 implementation notes

Why Pharmacy Is a High-Stakes Module

Pharmacy is where clinical safety meets financial control. A medication error can harm patients; an inventory error can cause stock-outs or expiry waste. The FC must master both the clinical dispensing workflow and the supply-chain backend.

In a typical Indian hospital, pharmacy accounts for 30-40% of total revenue. Configuration accuracy here directly impacts patient safety, compliance with Drug & Cosmetics Act, and hospital profitability.

Drug Master Setup

The drug master is the foundational dataset. Every medication dispensed, ordered, or stocked must exist here:

FieldPurposeFC Configuration Task
generic_nameWHO INN name (e.g., Paracetamol)Standardize to INN naming convention
brand_nameCommercial name (e.g., Dolo-650)Map brands to generics for substitution
formulationTablet, Syrup, Injection, Cream, etc.Use standardized form codes
strength500mg, 10mg/5ml, etc.Ensure unit consistency across all entries
scheduleH, H1, X, G, J (Drug Schedule)Critical for dispensing rules and audit
routeOral, IV, IM, SC, Topical, etc.Validates against order entry
reorder_levelMinimum stock before auto-alertSet per item based on consumption pattern
max_stockUpper limit to prevent over-orderingCalculate based on shelf-life and consumption
expiry_alert_daysDays before expiry to trigger warningTypically 90 days for near-expiry alerts
storage_conditionRoom temp, Refrigerated, ControlledMaps to physical storage zones

FC must import the hospital's formulary (typically 2,000-5,000 items) and validate each entry before go-live. Use the Drug Master Import Template (CSV) provided in Bio Ecko's admin settings.

Prescription to Dispensing Flow

The dispensing workflow in Bio Ecko:

  1. Doctor Prescribes -- From OPD/IPD consultation screen, doctor selects drugs from formulary, enters dose, frequency, duration, and route. This creates entries in prescriptions table
  2. Prescription Reaches Pharmacy -- Pharmacy counter sees new prescriptions in the pending queue, sorted by urgency (STAT first, then routine)
  3. Pharmacist Reviews -- Checks for drug-drug interactions (DDI), allergy alerts, duplicate therapy. Bio Ecko flags alerts from the drug_interactions and patient_allergies tables
  4. Stock Verification -- System checks inventory_items for available stock in the dispensing location. If out of stock, shows alternative brands with same generic
  5. Dispensing -- Pharmacist picks, scans barcode (if barcode-enabled), confirms quantity, and dispenses. Stock is auto-deducted from inventory_items
  6. Billing -- Dispensed medications are auto-posted to billing_items for the patient's encounter
  7. Counselling -- For first-time medications, pharmacist provides usage instructions; recorded in dispensing_notes

The FC must validate the entire chain works -- especially the stock deduction accuracy and billing integration.

Inventory Management Lifecycle

Hospital pharmacy inventory follows this cycle:

StageProcessBio Ecko FeatureFC Validation
IndentDepartment raises request for stockIndent ManagementVerify approval workflow triggers
Purchase OrderPharmacy/Store creates PO to vendorPO GenerationCheck auto-PO from reorder alerts
GRN (Goods Received)Stock physically received, inspectedGRN EntryValidate batch, expiry, quantity match PO
Stock EntryItems added to inventory with batch trackingInventory UpdateConfirm FIFO/FEFO sequencing
Dispensing/IssueStock issued to patient or departmentDispensing/Store IssueVerify auto-deduction from correct batch
Stock TransferMove stock between pharmacy locationsInter-Location TransferTest multi-pharmacy hospital setup
Return to VendorExpired/damaged stock returnedReturn NoteCheck credit note generation
Expiry Write-OffNear-expiry stock written offExpiry ManagementValidate write-off approval chain
Physical CountPeriodic stock auditStock Audit ToolCompare system vs physical, adjust variances

Key principle: Bio Ecko uses FEFO (First Expiry, First Out) by default. When dispensing, the system picks the batch with the nearest expiry date first. The FC must verify this logic during testing.

Controlled Substance & Schedule H1 Handling

Indian drug regulations require special handling for scheduled drugs:

  • Schedule H -- Prescription-only; must have valid prescription before dispensing. Bio Ecko blocks dispensing without linked prescription
  • Schedule H1 -- Stricter control (antibiotics, anti-TB, etc.); requires maintaining a separate register with patient name, doctor name, drug, quantity. Bio Ecko auto-generates the H1 Register report
  • Schedule X -- Narcotic/psychotropic substances; requires duplicate prescription, locked storage, daily consumption register. Bio Ecko tracks at individual unit level with audit trail
  • Schedule G -- Caution drugs; display "Caution: To be taken under medical supervision" on label

FC configuration checklist:

  • Each drug's schedule is correctly mapped in the drug master
  • Schedule H drugs block dispensing without prescription
  • H1 register auto-populates and is printable
  • Schedule X drugs require dual-authorization for dispensing
  • Controlled substance stock counts match physical vault count
  • Audit trail captures who dispensed, when, to whom, prescribed by whom

Multi-Location Pharmacy Setup

Large hospitals have multiple pharmacy counters:

  • Main Pharmacy -- Central store, receives from vendors, transfers to sub-stores
  • OPD Pharmacy -- Retail dispensing for outpatients
  • IPD Pharmacy -- Ward-based dispensing for inpatients, often 24x7
  • Emergency Pharmacy -- Small stock of critical drugs near the ER
  • OT Pharmacy -- Anesthesia drugs, surgical consumables

FC must configure:

  1. Each location as a separate pharmacy_location with its own stock
  2. Inter-location transfer workflows with approval
  3. Location-specific reorder levels (ER keeps less volume but always has critical drugs)
  4. Consolidated stock reports across all locations
  5. User access control -- OPD pharmacist cannot dispense from IPD stock

Reports & Compliance

Essential pharmacy reports the FC must validate:

  1. Daily Dispensing Register -- All dispensed items with patient, doctor, batch, quantity
  2. Near-Expiry Report -- Items expiring within 30/60/90 days with current stock
  3. Stock Movement Report -- GRN, issues, transfers, returns, adjustments by date range
  4. Dead Stock Report -- Items with zero movement in last 90 days
  5. ABC/VED Analysis -- Classify drugs by value (ABC) and criticality (VED) for procurement optimization
  6. Drug Consumption Report -- Department-wise and doctor-wise consumption patterns
  7. Purchase vs Consumption Variance -- Flag over-procurement or under-procurement
  8. Schedule H1 Register -- Statutory register for regulatory inspection
  9. Narcotic Register -- Opening balance, receipts, issues, closing balance for Schedule X drugs
  10. Vendor Performance Report -- Delivery timeliness, quality rejection rate, price trends

Hands-On Exercise

Complete this exercise in the Bio Ecko demo environment:

  1. Add a new drug to the drug master: Amoxicillin 500mg Capsule, Schedule H, reorder level 100, max stock 500
  2. Create a GRN for 200 capsules from vendor "PharmaSupply Co", batch AX-2026-01, expiry Mar 2027, unit cost INR 5
  3. Create an OPD visit, prescribe Amoxicillin 500mg TDS x 5 days (total 15 capsules)
  4. Switch to Pharmacy role, see the prescription in pending queue
  5. Dispense the medication, verify stock deducted from correct batch
  6. Check that billing_items now shows the 15 capsules charged to the patient
  7. Run the near-expiry report and verify the new batch does NOT appear (expiry > 90 days away)
  8. Transfer 50 capsules from Main Pharmacy to Emergency Pharmacy
  9. Verify stock split correctly across both locations

Document any discrepancy in stock counts or billing amounts as defect log entries.

Notes

Warning

Drug master data quality is paramount. A single drug with wrong strength (e.g., 50mg vs 500mg) can lead to a 10x dosing error. Always cross-verify imported drug data with the hospital's pharmacist before go-live.

Tip

During GRN entry, always validate that batch number and expiry date match the physical label on the medicine pack. Post-go-live GRN errors cascade into incorrect expiry alerts and FEFO failures.

Info

The FEFO (First Expiry First Out) logic can be overridden by the pharmacist during dispensing (e.g., patient returns with a specific batch). These overrides are logged for audit. Educate pharmacy staff that overrides should be exceptions, not the norm.

On this page