Amongst Models
summary
Built an appointment rules engine for hospitals over about four years with a four-person team, iterating the model from naive calendar to day-anchored schedules, single- and multi-resource appointments, and a separate search model fed by messages from scheduling. A key discovery is treating the day as a boundary which reduces 40,000 historical appointments to ~20 per-day entries, plus reactive rollouts for new days, fairness rules, and a decision-tree for service selection; the system deploys and handles local rules (e.g. gendered doctor constraints in Singapore) and works in production.
AI-written summary · about
chapters (8)
- 0:00Start
- 2:19How Do Models Come into Existence
- 4:35Easier To Model in Greenfield versus Brownfield
- 17:10How Do You Know What You Can Actually Book on a Scheduled Day
- 27:42Decision Tree
- 29:22How Did We Cope with Code Duplication between Scheduling and Search
- 30:36What Is the the Most Important Thing You Learned during this Modeling Experience
- 32:50Is It Always Clear Which Bounded Context Is Upstream and Which One Is Downstream
