StealThis .dev
Pages Difficile

Clinic — Doctor / Room Schedule Admin

A dashboard-grade scheduling grid for clinic front-desk staff. Rows are providers or treatment rooms via a toggle, columns are 30-minute time blocks from 8 to 5, and appointment blocks span their duration colored by visit type — new, follow-up, procedure or telehealth. Clicking a block slides out a detail panel with patient, time, room and reason, while a Day/Week toggle, doctor filter and live booked-versus-open utilization summary update on every change.

Ouvrir dans Lab
html css vanilla-js
Targets: JS HTML

Code

Doctor / Room Schedule Admin

An admin scheduling board for Northpoint Clinic’s front desk. Rows list either providers or treatment rooms — flipped with a segmented Doctors / Rooms toggle — while columns lay out the clinic day in 30-minute blocks from 8:00 AM to 5:00 PM. Each appointment renders as a colored block that spans its true duration and is keyed by visit type: teal for new patients, indigo for follow-ups, coral for procedures and amber for telehealth. A legend and a sticky provider column keep the board readable as it scrolls.

Selecting any block slides out a detail panel with the patient, the time range, the assigned provider and room, the visit type and the reason for the visit, plus quick Reschedule and Check in actions that confirm with a toast. A Day / Week range toggle and a per-doctor filter narrow the board, dimming everything outside the selection. Above the grid, a live utilization summary recomputes booked slots, open slots and a percentage bar every time the view, range or filter changes.

The grid scrolls horizontally on small screens with the provider column pinned in place, and the whole screen reflows cleanly down to about 360px. Everything is vanilla JS — the rows, time axis and appointment blocks are generated from a small data model, so the same markup drives both the doctor and room views.

Illustrative UI only — not intended for real medical use.