Lab Hub
The Lab Hub is the default landing page for users with the labtechnician role. It surfaces the specimen collection queue, processing counts, TAT-overdue...
February 2026 · 4 min
Manual area
Dashboards
Coverage
6 sections, 1 workflow diagram
Operator notes
2 implementation notes
Overview
The Lab Hub is the default landing page for users with the lab_technician role. It surfaces the specimen collection queue, processing counts, TAT-overdue alerts, and completed-today metrics to help lab staff prioritize their workflow.
Route: /dashboard/lab-hub
Component: components/dashboard/role-dashboards/lab-hub.tsx
KPI Cards
Four metric cards at the top:
- Pending Collection -- Count of
lab_orderswith statusordered(specimen not yet collected). - Processing -- Count of lab orders currently in status
processing(specimen collected, results pending). - TAT Overdue -- Orders in
orderedorprocessingstatus whereordered_atis more than 4 hours ago. Displayed with a red alert icon. - Completed Today -- Count of lab orders with status
completedandcompleted_aton or after today's date.
Quick Actions
Shortcut buttons for laboratory workflows:
- Collect Specimen ->
/dashboard/laboratory(specimen collection queue) - Enter Results ->
/dashboard/laboratory/results - Run QC ->
/dashboard/laboratory/qc(quality control module)
Pending Specimen Collection Panel
A scrollable card lists up to 10 orders awaiting specimen pickup, sorted by priority ascending (STAT first). Each row shows:
- Patient name
- Test name and specimen type (e.g., "CBC - Blood")
- STAT badge (destructive variant) if the order priority is
stat - Order time displayed as HH:MM
The "View All" link opens the full laboratory worklist.
Orders stay traceable from request to sample, validation, and report delivery.
Doctor, nurse, or front desk creates the investigation request.
Specimen labels are printed with patient and test context.
Collection time, collector, and specimen condition are recorded.
Worklist routes tests to departments or analyzers.
Technician and pathologist review results and critical values.
Report is released to EMR, patient portal, or print counter.
TAT Overdue Logic
The hub considers any lab order older than 4 hours (from ordered_at) that is still in ordered or processing status as TAT-overdue. This threshold aligns with typical clinical laboratory turnaround expectations for routine tests. STAT orders should ideally be completed within 1 hour, but the hub groups all overdue orders together regardless of priority.
Data Sources
The hub queries a single Supabase table:
| Table | Purpose |
|---|---|
lab_orders | Pending collection list, processing count, TAT-overdue count, completed-today count |
Notes
Tip
STAT orders appear first in the pending list and are highlighted with a red badge. Always process STAT specimens before routine ones.
Info
The 4-hour TAT threshold is currently hard-coded. Future releases will allow configurable TAT targets per test type from the Laboratory Settings page.
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...
Radiology Hub
The Radiology Hub is the default landing page for users with the radiologist role. It displays the study worklist, critical/STAT counts, turnaround time...
Doctor Hub
The Doctor Hub is the physician launchpad for OPD work. It brings the OPD queue, follow-ups, pending reports, active prescription context, consultation action...
Quality Control
Quality Control (QC) ensures that your laboratory results are accurate, precise, and reproducible before they are reported to clinicians. Bio-Ecko's QC module...
Laboratory
The Laboratory module manages the complete lab workflow -- from test ordering to result reporting. For clinics with an in-house lab, this module tracks...
Lab Orders
Lab Orders are created by doctors during OPD consultations or from the standalone Lab Orders page. Each order specifies the tests required, urgency, and...
Radiology Hub
The Radiology Hub is the default landing page for users with the radiologist role. It displays the study worklist, critical/STAT counts, turnaround time...
Doctor Hub
The Doctor Hub is the physician launchpad for OPD work. It brings the OPD queue, follow-ups, pending reports, active prescription context, consultation action...