Back to selected work
Demo · Selected work · 04

The room is the asset. Every empty hour is the day's biggest loss.

A same-day operations cockpit for a fictional ambulatory surgical center. Switch the day to see OR utilization, surgeon load, payment status and turnover gaps recompute against the actual schedule.

Healthcare · ambulatory surgery4 rooms · 4 surgeons · 24 casesClient-only · no APIAll values in USD
Bayshore Ambulatory Surgical Center · Ortho · General · ENT · Pain
Miami, FL · 3 ORs + 1 procedure room · Block schedule · Week of May 18 2026
4 active surgeons5 payers
Day view

Switch the day — watch the KPIs and board recompute

OR utilization
29%
4 rooms · 11h window
Cases
12
+ 1 cancelled
Billed
$74k
$74,450
Collected
$39k
52% of billed
Outstanding
$36k
to chase
Avg turnover
53m
gap between cases (same room)
Room
7a
8a
9a
10a
11a
12p
1p
2p
3p
4p
5p
6p
OR-1
Ortho · arthroscopy
OR-2
General · laparoscopy
OR-3
ENT · multi-use
Procedure-1
Pain · interventional
SurgeonsChenPatelKowalskiRuiz·Paymentpaidpartialins-pendingdenied
Surgeons today · load
Dr. Marcus Chen
Orthopedic surgery
3 cases
4h 30m
Dr. Priya Patel
General surgery
3 cases
3h 15m
Dr. James Kowalski
Otolaryngology (ENT)
3 cases
3h 15m
Dr. Sofia Ruiz
Pain management
3 cases
1h 45m
Payer mix · revenue
BCBS30%
Aetna27%
Medicare20%
Cigna13%
Self-pay10%
Click any surgery on the board (or row in the day book) to inspect patient, team, and payment details — and edit billed / collected amounts to see KPIs recompute live.
Day book

All cases

13 cases · click a row to sync the board
TimeRoomPatientProcedureSurgeonStatusBilledPay
7:00 AMOR-1R.M.Knee arthroscopy
Chen
Discharged$8,400Paid
9:00 AMOR-1A.K.Shoulder arthroscopy
Chen
Recovery$11,200Ins · pending
11:45 AMOR-1J.D.Carpal tunnel release
Chen
In OR$4,200Partial
7:30 AMOR-2L.G.Lap chole
Patel
Discharged$9,600Paid
9:30 AMOR-2T.B.Hernia repair
Patel
Check-in$6,800Pending
11:45 AMOR-2M.P.Lap hernia
Patel
Scheduled$5,500Paid
8:00 AMOR-3S.N.T&A
Kowalski
Discharged$5,200Paid
9:30 AMOR-3D.W.Septoplasty
Kowalski
Recovery$7,400Ins · pending
11:45 AMOR-3F.L.FESS
Kowalski
Scheduled$9,200Denied
7:30 AMProcedure-1C.E.Lumbar ESI
Ruiz
Discharged$1,900Paid
8:30 AMProcedure-1H.O.Lumbar RFA
Ruiz
Discharged$3,400Paid
9:45 AMProcedure-1G.A.Cervical ESI
Ruiz
Cancelled$2,100Pending
11:00 AMProcedure-1V.R.SI joint injection
Ruiz
In OR$1,650Paid
Synthetic schedule · pure functions over typed data · fully client-side25 cases · 3 days · 4 rooms · 4 surgeons
How it works

What this demo does, how, and what's missing

What it does
  • →Renders a same-day operations cockpit for an ambulatory surgical center: 4 rooms × 11 hours, every case positioned to scale.
  • →Recalculates KPIs (OR utilization, billed vs. collected, average turnover, payer mix, surgeon load) when you switch days.
  • →Surfaces the cases an admin actually loses sleep over — denied claims, same-day cancellations, partial collections — instead of burying them in a list.
  • →Click any block or row to inspect surgical team, payer, billed amount, balance, and the operator's note on the case.
  • →Edit billed and collected amounts inline — every KPI, the case balance, and the payer mix recompute instantly. Reset per-case or globally.
How it does it
  • →A single typed schedule array (24 cases across 3 days) is the whole dataset — modelled the way an operator would, not the way an EHR exports.
  • →Timeline blocks are positioned via percentage math against an 11-hour window. No timeline library.
  • →KPIs are pure functions over the day's cases — utilization sums duration over room-minutes, turnover averages the gaps between consecutive cases in the same room.
  • →No backend, no LLM calls, no database. Fully client-side and deterministic.
What a real impl would need
  • →Live sync with the surgery scheduling system (HST, Provation, eClinicalWorks) and an 837/835 claim pipeline for real payment status.
  • →Drag-to-reschedule with conflict detection across surgeon, anesthesia, and OR turnover constraints.
  • →Anesthesia coverage rules, pre-op clearance status, sterile instrument tray availability — the constraints that block a case from actually starting.
  • →Multi-day calendar with surgeon block-time and a weekly OR utilization view for ASC governance.
  • →Roles + audit trail (front desk, OR coordinator, biller) and Stripe Terminal / clearinghouse integration for real POS.
  • →HIPAA-grade infra — BAAs with every vendor, encryption at rest, access logs, breach-notification flows.

Same scheduling primitive transfers to dental labs, imaging centers, infusion suites, IVF clinics — any service business where the resource you sell is time-on-equipment. The work is in modelling the constraints, not drawing the grid.