Pharmacist Hub
The Pharmacist Hub is the default landing page for users with the pharmacist role. It focuses on the dispensing queue, inventory health, and quick access to...
February 2026 · 4 min
Manual area
Dashboards
Coverage
6 sections, 1 workflow diagram
Operator notes
2 implementation notes
Overview
The Pharmacist Hub is the default landing page for users with the pharmacist role. It focuses on the dispensing queue, inventory health, and quick access to the formulary and point-of-sale workflows.
Route: /dashboard/pharmacist-hub
Component: components/dashboard/role-dashboards/pharmacist-hub.tsx
KPI Cards
Four metric cards appear at the top:
- Pending Rx -- Count of
prescriptionswhereis_dispensedisfalse. Shows the current dispensing backlog. - Dispensed Today -- Prescriptions dispensed today (where
dispensed_atis on or after today's date). - Low Stock -- Count of
inventory_itemsin thepharmacycategory withquantity_in_stockat or below 10 units. - Expiring Soon -- Pharmacy items with
expiry_datewithin the next 30 days that still have stock remaining.
Quick Actions
Shortcut buttons for common pharmacy workflows:
- Dispense Rx ->
/dashboard/pharmacy/dispensing - Inventory ->
/dashboard/pharmacy(main pharmacy module) - Formulary ->
/dashboard/pharmacy/formulary(drug search and formulary management) - POS ->
/dashboard/pharmacy/pos(over-the-counter point-of-sale)
Pending Prescriptions Panel
Lists up to 8 prescriptions awaiting dispensing, ordered by creation date (newest first). Each row shows:
- Medication name
- Patient name and prescribing doctor
- "Pending" badge
The "View All" link opens the full dispensing queue.
Prescription review, stock control, and patient counselling are handled together.
Medication order reaches pharmacy from OPD, IPD, or POS.
Pharmacist checks drug, dose, allergies, substitutions, and stock.
Batch, expiry, MRP, and quantity are selected.
Medicine is issued and inventory is reduced.
POS or patient account receives the pharmacy charge.
Instructions and warnings are shared with the patient.
Low Stock Alerts Panel
Shows up to 8 pharmacy items below the reorder threshold, sorted by quantity ascending (most critical first). Each row shows:
- Item name
- Current quantity and unit (e.g., "3 tablets remaining")
- Out badge (destructive) if quantity is zero, or Low badge otherwise
The "Inventory" link opens the full pharmacy inventory page.
Data Sources
The hub queries two Supabase tables on mount:
| Table | Purpose |
|---|---|
prescriptions | Pending Rx count, dispensed-today count, pending Rx list |
inventory_items | Low-stock count, expiring-soon count, low-stock alert list |
Notes
Tip
The low-stock threshold is currently hard-coded to 10 units. Future updates will allow per-item reorder-level configuration from the Inventory settings.
Warning
Expiring-soon alerts use a 30-day lookahead window. Ensure expiry_date is correctly recorded during GRN (Goods Received Note) entry to avoid missed alerts.
Related topics
Role-Based Dashboard Hubs
BioEcko provides dashboard hubs for the roles used in a clinic or hospital. A hub is a launchpad: it gives the user role-specific KPIs, worklists, and quick...
Nurse Hub
The Nurse Hub is the default landing page for users with the nurse role. It provides a shift-at-a-glance view of medication alerts, vital-sign tasks, active...
Accountant Hub
The Accountant Hub is the billing/admin launchpad for finance-related daily work. In small-clinic mode, it should be treated as a draft and review workspace...
Formulary Management
Maintain a hospital-wide drug formulary that standardises prescribing, controls costs, and ensures patient safety through evidence-based medication selection.
Dispensing Queue
The Dispensing Queue is the pharmacist's primary workspace. Every prescription saved by a doctor during an OPD visit, IPD round, or emergency encounter...
Prescriptions
The Prescriptions module lets you write, manage, and print prescriptions. Prescriptions are typically created during an OPD visit but can also be managed...
Nurse Hub
The Nurse Hub is the default landing page for users with the nurse role. It provides a shift-at-a-glance view of medication alerts, vital-sign tasks, active...
Accountant Hub
The Accountant Hub is the billing/admin launchpad for finance-related daily work. In small-clinic mode, it should be treated as a draft and review workspace...