1. 🎯 Sprint Summary
| Sprint | 3.1 (M3 CLOC · Clinic Locator + First Responder) |
| Duration | 1 Oct - 14 Oct 2026 (2 minggu) |
| Module | M3 CLOC — Clinic Locator + First Responder Routing + Referral |
| Goal | Triage-red patient or referral case → GPS routing to nearest appropriate clinic/hospital · auto-generate digital referral letter · receiving facility receives structured handover · first-responder mode for acute escalation. |
| Capacity | 4.5 FTE (2 BE + 1 FE + 0.5 prompt) + 0.5 Founder + 0.5 Doc Zam |
| Velocity target | 52 SP |
| Blocked by | Q4/Q5 gate passed (30 Sep) · pilot success |
| Blocks | Sprint 3.2 (M6 standalone but benefits from M3 referral hooks) |
| Demo date | 14 Oct 2026 |
2. 🚦 Pre-Sprint Gate Checklist
- Q4/Q5 gate passed · pilot signed off
- Maps API selected (Google Maps + OSM fallback) · keys vaulted
- Hospital + clinic master data seeded · 200+ Klang Valley + Johor
- Specialty-to-clinic mapping verified by Doc Zam (paeds, cardio, OG, etc.)
- Referral letter template approved (BM/EN · clinical-grade)
- Receiving facility format spec (HL7 v2 + plain PDF fallback)
- First-responder protocol reviewed (acute → 999 / nearest ED / Doc Zam clinical advice line)
3. 📋 Prerequisites
| Item | Owner | By |
|---|---|---|
| Hospital + clinic master data | BE + Doc Zam | 29 Sep |
| Specialty mapping table | Doc Zam | 29 Sep |
| Maps API account + quota | DevOps | 29 Sep |
| Referral letter template (BM/EN) | Prompt Eng + Doc Zam | 30 Sep |
| Acute escalation protocol | Doc Zam | 30 Sep |
4. 🧩 Module Scope
- Clinic/Hospital Master: 200+ facilities seeded · specialties · operating hours · ED status · capacity flag
- GPS Routing: Patient location → top-3 nearest by criteria (distance · specialty match · ED open · capacity)
- Referral Letter Generator: Auto-fill from encounter SOAP → clinical-grade letter · BM/EN · receiving format adapter
- First-Responder Mode: M1 red trigger → big map screen · 999 button · turn-by-turn · clinical advice line
- Receiving Facility Webhook: Send referral as HL7 v2 if supported · else PDF email · audit-logged
- Clinical Advice Line: Doc Zam on-call number · click-to-call · scripted handover prompt
5. 📅 Day-by-Day Plan (10 Days)
D1Wed 1 Oct · Kickoff + Schema
DB:
DB:
facilities, referrals, routing_events. Seed master data.D2Thu 2 Oct · Maps Integration
Geocoding · routing · top-3 nearest with filters. Test on 20 patient locations.
Geocoding · routing · top-3 nearest with filters. Test on 20 patient locations.
D3Fri 3 Oct · Specialty + ED Filter
Specialty match · ED-open status (assume 24/7 hospital list) · capacity flag.
Specialty match · ED-open status (assume 24/7 hospital list) · capacity flag.
D4Mon 6 Oct · Referral Letter Generator
SOAP → letter · BM/EN · template-driven · letter PDF output.
SOAP → letter · BM/EN · template-driven · letter PDF output.
D5Tue 7 Oct · First-Responder UI
Big-screen map · 999 button · turn-by-turn · advice-line click-to-call.
Big-screen map · 999 button · turn-by-turn · advice-line click-to-call.
D6Wed 8 Oct · Mid-Demo
Doc Zam reviews routing accuracy + referral letter quality.
Doc Zam reviews routing accuracy + referral letter quality.
D7Thu 9 Oct · HL7 v2 Adapter
HL7 v2 message format for receiving facility · webhook delivery · ack handling.
HL7 v2 message format for receiving facility · webhook delivery · ack handling.
D8Fri 10 Oct · Email/PDF Fallback
Receiving facility without HL7 → PDF email · receipt confirm · audit log.
Receiving facility without HL7 → PDF email · receipt confirm · audit log.
D9Mon 13 Oct · Hardening + E2E
3 acute escalation drills · 5 referral round-trips · perf check.
3 acute escalation drills · 5 referral round-trips · perf check.
D10Tue 14 Oct · Demo + Retro
9am demo · 11am retro · 2pm Sprint 3.2 prep.
9am demo · 11am retro · 2pm Sprint 3.2 prep.
6. 📦 Deliverables
| FR | Item | SP |
|---|---|---|
| FR-3.1 | Facility master + seed data 200+ | 5 |
| FR-3.2 | GPS routing top-3 nearest | 5 |
| FR-3.3 | Specialty + ED + capacity filter | 5 |
| FR-3.4 | Referral letter generator (BM/EN) | 8 |
| FR-3.5 | First-responder UI · big map · 999 | 5 |
| FR-3.6 | Click-to-call advice line | 3 |
| FR-3.7 | HL7 v2 adapter · webhook | 8 |
| FR-3.8 | PDF email fallback + ack | 5 |
| FR-3.9 | Audit log integration (M9) | 3 |
| FR-3.10 | Acute escalation drill script + tests | 3 |
| TOTAL | 50 SP |
7. 👥 Team Capacity
| Role | Allocation |
|---|---|
| Eng Lead / BE | 1.0 FTE |
| BE Dev 2 | 1.0 FTE |
| FE Dev | 1.0 FTE |
| Prompt Eng | 0.5 FTE |
| Founder | 0.5 FTE |
| Doc Zam | 0.5 FTE |
| QA | 0.5 FTE |
| DevOps | 0.5 FTE |
8. 🔔 Sprint Ceremonies
- Wed 1 Oct 9am — Sprint Planning (90 min)
- Daily 9am — Standup (15 min)
- Wed 8 Oct 4pm — Mid-sprint demo (30 min)
- Mon 13 Oct 4pm — Acute drill rehearsal (60 min)
- Tue 14 Oct 9am — Sprint Demo (60 min)
- Tue 14 Oct 11am — Sprint Retro (45 min)
9. 🩺 Doc Zam Sign-off Items
- Routing accuracy verified on 20 sample patients
- Specialty mapping clinically correct
- Referral letter quality acceptable on 10 samples
- Acute escalation flow legally + clinically defensible
- Advice-line script approved
- HL7 v2 + PDF fallback compliant with national health information exchange standards
- Final demo (14 Oct) — written sign-off
10. 🎬 Demo Agenda — 14 Oct 9am (60 min)
| Time | Segment |
|---|---|
| 0-5 | Sprint recap · Phase 3 narrative |
| 5-15 | Live triage-red → first-responder UI · 999 + nearest ED |
| 15-25 | Live referral generation: SOAP → clinical letter → receiving |
| 25-35 | HL7 v2 round-trip + PDF fallback |
| 35-50 | Acute escalation drill (Doc Zam role-play) |
| 50-60 | Doc Zam sign-off · Sprint 3.2 kickoff |
11. 🛡️ Contingency
| Risk | Trigger | Response |
|---|---|---|
| Maps API quota burn | Quota exceeded | OSM fallback · cache common routes |
| HL7 v2 partner unavailable | No partner facility | Build with mock partner · go-live with PDF only |
| Master data outdated | Hospital ED status wrong | Daily sync from MOH facility list (manual at first) |
| Referral letter format rejected | Receiving rejects | Per-receiver template adapters · escalate to ops |