medOS Operations
Scheduling
Patients and staff, one calendar substrate
Patient appointments and staff schedules share one data model across MongoDB and the read-model layer, with a 9-flow UAT coverage matrix spanning booking, rescheduling, walk-in conversion and roster handling.
MonTueWedThuFri
9:0010:0011:0012:0013:0014:0015:0016:00
Cardio
ANC
Ortho
Cardio
ANC
Walk-in → slot
Ortho
Cardio
ANC
Ortho
No roster match
Dr. Niran — no roster match Fri · clinic-roster gate holds the slot
STAFF ROSTER (ตารางเวร)
Dr. Anong
Cardio
Dr. Somchai
Ortho
RN Malee
ANC (ฝากครรภ์)
Dr. Niran
Cardio
walk-in converts to a slot when capacity opens — dashed block
Capabilities
Patient appointment booking with slot + walk-in conversion (TOR 2.2.1)
Staff scheduling and clinic rosters (TOR 2.2.2)
Clinic-roster gates: actions require an on-duty roster match
Defer-flags-scheduler pattern for multi-session treatment series