1. 🎯 Sprint Summary
| Sprint | 3.2 (M6 ADR · Adverse Reaction Loop) |
| Duration | 15 Oct - 28 Oct 2026 (2 minggu) |
| Module | M6 ADR — Adverse Reaction Reporting + Cross-PA Broadcast |
| Goal | Patient (M1) or doctor (M4) reports ADR → captured + categorised (Naranjo / WHO-UMC) → patient allergy profile updated → all PAs aware (M4 Rx draft pre-warns · M5 dispense blocks) → NPRA Form ADR-1 auto-generated → submitter sign-off. |
| Capacity | 4.5 FTE (2 BE + 1 FE + 0.5 prompt) + 0.5 Founder + 0.5 Doc Zam |
| Velocity target | 52 SP |
| Blocked by | Sprint 3.1 ideally complete (M3 referral hooks for severe ADR) |
| Blocks | Sprint 3.3 (M8 continuity needs ADR profile portable) |
| Demo date | 28 Oct 2026 |
2. 🚦 Pre-Sprint Gate Checklist
- Sprint 3.1 demo passed (M3 in main)
- NPRA Form ADR-1 schema reviewed by compliance + Doc Zam
- Naranjo + WHO-UMC scoring algorithms verified
- Pharmacovigilance contact at NPRA confirmed (submission test)
- Cross-PA event bus verified (M9 audit catches ADR events)
- Patient allergy schema extensible (severity · onset · ADR ref)
3. 📋 Prerequisites
| Item | Owner | By |
|---|---|---|
| NPRA ADR-1 schema + sample submissions | Compliance + BE | 13 Oct |
| Naranjo + WHO-UMC reference | Doc Zam + Prompt Eng | 13 Oct |
| ADR severity rubric | Doc Zam | 13 Oct |
| Allergy table schema migration | BE | 14 Oct |
| Patient ADR reporting UI mock | FE Lead | 14 Oct |
4. 🧩 Module Scope
- Patient ADR Capture: M1 chat · "tak sedap selepas makan ubat" trigger · symptom + drug + onset
- Doctor/Pharmacist ADR Capture: M4/M5 in-flow report button · severity + suspected drug + course
- Causality Assessment: Naranjo score (auto-suggested · doctor finalises) · WHO-UMC category
- Allergy Profile Update: Add to patient allergies · severity tier · global flag
- Cross-PA Broadcast: Event bus push · M4 future Rx draft pre-warns · M5 future dispense blocks · M2 briefing surfaces
- NPRA Form ADR-1: Auto-fill · doctor sign-off · electronic submission · ack tracking
- Trend Dashboard: Filament page · ADR by drug · cluster detection · Doc Zam clinical review
5. 📅 Day-by-Day Plan (10 Days)
D1Wed 15 Oct · Kickoff + Schema
DB:
DB:
adverse_reactions, npra_submissions. Allergy schema migration.D2Thu 16 Oct · Patient ADR Capture
M1 chat trigger phrases · structured capture form · BM/EN.
M1 chat trigger phrases · structured capture form · BM/EN.
D3Fri 17 Oct · Doctor/Pharmacist Capture
M4/M5 in-flow ADR report button · severity + suspected drug picker.
M4/M5 in-flow ADR report button · severity + suspected drug picker.
D4Mon 20 Oct · Naranjo + WHO-UMC
Algorithms · auto-suggest score · doctor override + reason capture.
Algorithms · auto-suggest score · doctor override + reason capture.
D5Tue 21 Oct · Cross-PA Broadcast
Event bus · M4 pre-warn integration · M5 block flag · M2 briefing surface.
Event bus · M4 pre-warn integration · M5 block flag · M2 briefing surface.
D6Wed 22 Oct · Mid-Demo
Doc Zam reviews ADR flow E2E · severity scoring accuracy.
Doc Zam reviews ADR flow E2E · severity scoring accuracy.
D7Thu 23 Oct · NPRA ADR-1 Form
Auto-fill · electronic submission · ack tracking · retry on fail.
Auto-fill · electronic submission · ack tracking · retry on fail.
D8Fri 24 Oct · Trend Dashboard
Filament page · ADR by drug · cluster detection · 30-day window.
Filament page · ADR by drug · cluster detection · 30-day window.
D9Mon 27 Oct · Hardening + E2E
5 ADR scenarios end-to-end · NPRA submission round-trip.
5 ADR scenarios end-to-end · NPRA submission round-trip.
D10Tue 28 Oct · Demo + Retro
9am demo · 11am retro · 2pm 3.3 prep.
9am demo · 11am retro · 2pm 3.3 prep.
6. 📦 Deliverables
| FR | Item | SP |
|---|---|---|
| FR-6.1 | ADR schema + allergy migration | 3 |
| FR-6.2 | Patient ADR capture (M1) | 5 |
| FR-6.3 | Doctor/pharmacist ADR capture | 5 |
| FR-6.4 | Naranjo scoring | 5 |
| FR-6.5 | WHO-UMC categorisation | 3 |
| FR-6.6 | Cross-PA broadcast bus | 8 |
| FR-6.7 | M4 Rx pre-warn integration | 3 |
| FR-6.8 | M5 dispense block integration | 3 |
| FR-6.9 | NPRA Form ADR-1 auto-fill | 5 |
| FR-6.10 | NPRA electronic submission + ack | 5 |
| FR-6.11 | Trend dashboard (Filament) | 5 |
| TOTAL | 50 SP |
7. 👥 Team Capacity
| Role | Allocation |
|---|---|
| Eng Lead / BE | 1.0 FTE · cross-PA bus + NPRA |
| BE Dev 2 | 1.0 FTE · Naranjo + capture |
| FE Dev | 1.0 FTE · capture forms + dashboard |
| Prompt Eng | 0.5 FTE · BM ADR phrase corpus |
| Founder | 0.5 FTE |
| Doc Zam | 0.5 FTE · severity rubric · clinical review |
| QA | 0.5 FTE · severity scoring tests |
| DevOps | 0.5 FTE · NPRA endpoint config |
8. 🔔 Sprint Ceremonies
- Wed 15 Oct 9am — Sprint Planning (90 min)
- Daily 9am — Standup (15 min)
- Wed 22 Oct 4pm — Mid-sprint demo (30 min)
- Mon 27 Oct 4pm — NPRA round-trip rehearsal (60 min)
- Tue 28 Oct 9am — Sprint Demo (60 min)
- Tue 28 Oct 11am — Sprint Retro (45 min)
9. 🩺 Doc Zam Sign-off Items
- Naranjo scoring matches manual on 20 sample cases
- WHO-UMC category assignment clinically correct
- Severity rubric aligned with international guidelines
- Cross-PA broadcast verified end-to-end (Rx pre-warn + dispense block)
- NPRA Form ADR-1 sample reviewed + ack received
- Trend dashboard surfaces clinically meaningful patterns
- Final demo (28 Oct) — written sign-off
10. 🎬 Demo Agenda — 28 Oct 9am (60 min)
| Time | Segment |
|---|---|
| 0-5 | Sprint recap |
| 5-15 | Patient reports ADR via M1 · capture · Naranjo |
| 15-25 | Allergy profile updated · M4 Rx pre-warn live test · M5 dispense block |
| 25-35 | NPRA Form ADR-1 auto-fill + electronic submission |
| 35-45 | Trend dashboard walk · cluster detection demo |
| 45-60 | Doc Zam sign-off · 3.3 prep |
11. 🛡️ Contingency
| Risk | Trigger | Response |
|---|---|---|
| NPRA endpoint unstable | Submission fails | Queue + retry · manual fallback PDF download |
| Naranjo accuracy poor | Doc Zam reviews fail | Tighten ML rule · doctor override mandatory until accuracy ≥ 90% |
| Cross-PA bus race | Allergy update lag | Synchronous write-through · degrade async to async-with-fence |
| Pharmacovigilance contact slow | Validation delay | Use sandbox · manual submission acceptable for demo |