Care team scheduling for a clinic group
Scheduling across nine clinics with rota fairness, leave management, and a published API for the EHR integration.
6 MONTHS · 3 ENGINEERS · SCHEDULING + INTEGRATIONS
§01 / THE BRIEF
A clinic group with nine sites needed scheduling that respected clinical role mixes, fair rota distribution, and leave management, then handed the resulting schedule to their EHR for visit-level workflow. The previous system was a manual scheduling spreadsheet maintained by one person across all nine sites — a single point of failure the group had finally decided to retire.
§02 / THE WORK
- 01
Rota engine
Built a constraint-based rota engine that respects role mix, qualification requirements, leave windows, and a configurable fairness function. Generates draft rotas in under a minute for a 30-clinician site.
- 02
Leave management
Leave requests, approvals, and balance tracking integrated with the rota engine so approved leave automatically rebalances coverage.
- 03
EHR integration
Published a documented REST API for the EHR vendor to consume confirmed schedules. Event-driven updates so EHR-side visits stay in sync within seconds of rota changes.
§03 / RESULTS
- SITES COVERED
- 9
- TIME TO DRAFT A ROTA
- < 1 minute
- EHR SYNC LATENCY
- < 5 seconds
- SINGLE-POINT-OF-FAILURE RETIRED
- 1
§04/ TEAM & STACK
TEAM
- Architect×1
- Engineers×2
- Duration6 MONTHS
STACK
- TYPESCRIPT
- POSTGRESQL
- NEXT.JS
- OR-TOOLS (CONSTRAINT SOLVER)
Have a brief that looks like this?
EDUCATION
A national school network's learning platform, rebuilt
Migrated 40,000 students from a third-party LMS to an owned platform with cohort tooling, in two terms.
REAL ESTATE
Listing operations for a multi-city brokerage
Replaced a spreadsheet workflow with a single operations system, cutting weekly handover meetings from three to one.