QC Command Center
The QC Command Center is the central dashboard for laboratory quality control in Vorian Connect. It combines real-time Westgard rule violation monitoring via SSE, exclusion auditing with one-click PDF reports, delta check review, Levey-Jennings charting, patient-value QC trending, and a multi-analyte QC heatmap — so QC specialists can monitor, investigate, and document every QC event from a single screen.
How It Works
- The Command Center receives real-time QC events via Server-Sent Events — when a Westgard rule violation is detected by the continuous stats engine, it appears on the dashboard within seconds
- The Westgard card lists all active violations with rule type, analyte, instrument, value, expected range, and timestamp — each violation is actionable with one-click exclusion workflow
- When a QC specialist excludes a result, the exclusion card captures the reason from a configurable list of exclusion reason codes, logs the audit trail, and refreshes the violation list
- The delta card shows the most recent delta check results across all instruments — highlighting results that exceeded absolute or percentage thresholds against the patient's previous value
- The Levey-Jennings chart displays QC values over time with mean and standard deviation lines — standard LJ visualization for identifying shifts, trends, and out-of-control conditions
- Patient-value QC trending shows moving patient medians and means per analyte — PHI-safe: only anonymized aggregate statistics, no MRNs or accession numbers
- The QC heatmap provides a multi-analyte, multi-instrument overview — each cell represents an analyte-instrument pair, color-coded by QC status (in-control, warning, out-of-control)
- Exclusion reports can be generated as PDF with a complete audit trail — including exclusion reasons, timestamps, user attribution, and affected results
What's Included
- Real-time Westgard monitoring: Live SSE feed of Westgard rule violations with rule type, analyte, instrument, observed value, expected range, and timestamp — violations appear as they're detected, no page refresh needed
- Exclusion management: One-click exclusion workflow with configurable reason codes — each exclusion is logged with user, timestamp, reason, and affected result for full auditability
- Delta check review: Recent delta check results across all instruments with absolute and percentage deviation display — flags results that exceeded configured thresholds
- Levey-Jennings charting: Standard LJ plots with mean, ±1SD, ±2SD, and ±3SD lines — configurable per analyte and date range
- Patient-value QC trending: Moving patient medians and means per analyte over configurable time windows — PHI-safe (aggregate only, no patient identifiers)
- Multi-analyte QC heatmap: Grid visualization of all analyte-instrument pairs with in-control/warning/out-of-control color coding — click any cell to drill into detail
- SSE connection status: Visual indicator showing real-time connection state with last event timestamp
- Exclusion audit reports: Generate PDF reports with complete exclusion history, reason codes, and audit trail — exportable for regulatory review
- API access: Chart data, exclusion reasons, exclusion CRUD, and PDF report generation all available via REST API for integration with lab information systems
Where It Fits
The QC Command Center is the operational QC surface for lab managers and QC specialists. It consumes data from the continuous stats engine (which computes rolling precision statistics and detects Westgard violations), the auto-verification pipeline (which feeds delta check results), and the patient-value QC subsystem (which tracks moving patient distributions). The Command Center does not modify QC data — it displays, filters, and provides exclusion workflows that write audit-trailed exclusion records. It sits alongside the Observability dashboard (which shows message throughput and system health) and the Delta Checks page (which shows detailed per-patient delta comparisons). All QC data is tenant-isolated through PostgreSQL RLS — each lab sees only its own instruments, analytes, and violations.
Technical Details (for evaluators)
| Capability | Detail |
|---|---|
| Real-time updates | Server-Sent Events (SSE) — violations appear within seconds of detection, no polling |
| Westgard rules | Detected by continuous stats engine — standard multi-rule evaluation with per-analyte thresholds |
| Exclusion workflow | Configurable reason codes, per-exclusion audit trail with user + timestamp, CRUD API |
| Delta checks | Absolute and percentage thresholds — configurable per analyte, sourced from auto-verification pipeline |
| LJ charting | Configurable analyte + date range, mean/SD lines, data from QC chart API endpoint |
| Patient-value QC | Moving medians/means, PHI-safe (aggregate only, no MRNs/accessions/specimen IDs) |
| Heatmap | Analyte × instrument grid with in-control/warning/out-of-control status colors |
| Report export | PDF generation via exclusion report API with complete audit trail |
| API surface | GET /api/qc/chart, GET /api/qc/exclusion-reasons, GET/POST/DELETE /api/qc/exclusions, GET /api/qc/exclusions/report, GET /api/qc/exclusions/report/pdf |
| Tenant isolation | PostgreSQL RLS on all QC tables — instruments, analytes, violations, exclusions scoped to tenant |
The QC Command Center is designed for clinical lab regulatory requirements. All exclusions are fully auditable with user attribution and timestamps. Exclusion reports are exportable as PDF for CLIA/CAP inspection readiness. Patient-value QC trending is PHI-safe — sample message IDs are included for traceability but MRNs, accession numbers, and specimen IDs are never exposed in aggregate QC views.