Nurse Scheduler — Fair & Random
Scheduling Rules
- 9 nurses total.
- Each nurse works 4 days per week and has 3 OFF days (Sunday + 2 weekdays).
- Each weekday (Mon–Sat) must have at least 4 nurses working. Sunday = all OFF.
- Tasks: Kits/NEX, PHIC, TN, SN, EC/Charts. Each assigned to only 1 nurse per day.
- If 4 nurses working → 4 tasks assigned. If ≥5 → all 5 tasks + remaining nurses on General Duty (GD).
- No nurse repeats the same task in a week (GD can repeat but fairness applied).
- Shifts: 6A–4P (10HRS).
- Fairness: GD history tracked in localStorage (hidden). Reset button clears it.
- Day-Offs prefer consecutive pairs (Mon+Tue, Tue+Wed, Wed+Thu, Thu+Fri, Fri+Sat). If not possible, fallback to non-consecutive.
Kits/NEX
PHIC
TN
SN
EC/Charts
General Duty
OFF
Developed by Wilson D.