1. 📜 Project Charter
Apa yang kita commit. Kenapa wujud. Bila siap.
Hospital Agentic AI Eco-System yang patient-first, multi-PA (Patient · Doctor · Pharmacy · Admin), modular, dan Malaysia-native — mengubah pengalaman klinik daripada "patient tunggu giliran" kepada "wait-time = productive triage time, doktor sentiasa siap sedia."
Bina foundation 3 modul (M1 Patient PA + M4 Doctor PA + M9 Audit) yang boleh deploy ke 1 klinik pilot dlm 4-6 minggu, dengan zero-install browser-first PWA, on-prem AI server, dan Doc Zam mock UI sebagai canonical UX pattern.
- 3 modul M1+M4+M9 LIVE @ pilot klinik dlm 6 minggu
- ≥80% pesakit pilot complete intake via Patient PA tanpa drop-off
- Doktor jimat ≥30% masa dokumentasi (vs baseline)
- 100% encounter ada audit trail lengkap
- Zero clinical safety incident dlm 30 hari pilot
- Doc Zam sign-off MOH-readiness checklist
- Phase 0 exit: kalau Doc Zam tarik balik approval
- Phase 1 exit: kalau audit gap critical detected
- Phase 2 exit: kalau pilot tak hit success metrics dlm 30 hari
- Phase 3 exit: kalau MOH guidelines berubah significantly
- 1. Patient-first — UI/UX dikira dari sudut pesakit, bukan klinik admin.
- 2. Co-pilot bukan auto-pilot — agen propose, doktor approve. Tiada pengganti keputusan klinikal.
- 3. Modular adoption — klien boleh subscribe 1 modul, tambah bila ready. Tiada all-or-nothing.
- 4. Browser-first PWA — zero-install, no native app, no IT specialist needed.
- 5. On-prem AI option — data klinikal Malaysia tinggal di Malaysia. PDPA-by-design.
- 6. Citation mandatory — setiap dx/dose cadangan WAJIB cite source (NPRA, MOH CPG, hospital SOP).
- 7. Feature flag default OFF — semua kapasiti AI baru toggle off, owner enable per-modul per-ward.
- 8. Generic identifier discipline — public docs guna persona generic. Real PII di on-prem only.
2. 🎯 Scope & Out-of-Scope
- • 4 Personal Assistants (Patient · Doctor · Pharmacy · Admin)
- • 9 Modules M1-M9 dgn modular adoption
- • Mobile PWA untuk Patient (iOS/Android via browser)
- • Web PWA untuk Doctor/Pharmacy/Admin (desktop browser)
- • mcp-medix MCP server (tool registry)
- • On-prem AI server option (Mid/Hi-End spec)
- • Cloud burst fallback (peak overflow only)
- • 5-layer M9 guardrails (PDPA · Clinical Safety · Hallucination · HITL · Audit)
- • Doc Zam canonical UX (11-section Patient Profile · 6-tab Doctor Quick Access)
- • BM/EN bilingual UI
- • MOH CPG library integration · NPRA drug DB · halal pharma filter
- • MySalam/Socso/private insurance claim workflow
- • e-Invoice LHDN integration
- • Photo/Biometric ID (face-api.js leveraging Skool2U existing tech)
- • Cross-clinic continuity network (M8) — patient data follows patient
- • Inpatient ward management (deferred to v2.0)
- • Operating Theatre (OT) scheduling (v2.0)
- • Radiology PACS (DICOM viewer) — integration only, not viewer build
- • Lab Information System (LIS) full build — interface only
- • Native mobile apps (iOS/Android packaged) — PWA sahaja v1
- • In-house custom LLM training — guna Llama/Qwen open-weight
- • Telemedicine video call platform — link to existing 3rd party
- • Patient self-service appointment booking by doctor name (v1: by clinic only)
- • Wearable device integration (smartwatch BP/HR) — v2.0
- • Genomics / personalised medicine module
- • AI-generated patient education videos
- • Multi-language beyond BM/EN (Mandarin/Tamil) — v2.0
- • MOH e-Mesyuarat integration
- • Veterinary clinics
3. 👥 Stakeholders
Siapa terlibat, apa kepentingan mereka, bagaimana komunikasi.
| Stakeholder | Role | Kepentingan | Komunikasi |
|---|---|---|---|
| Doc Zam (Mohd Shuhaizam Zain) | Domain Lead · Clinical SME · Co-founder client side | Validasi clinical workflow · MOH compliance · UX feedback | Weekly review meeting · feedback dlm WhatsApp · sign-off pada gates |
| ALESA Founder | Project Sponsor · Tech Lead · Architecture | Delivery on-time · budget control · technical excellence · PDPA compliance | Daily standup · incident escalation · final approval major decisions |
| Klinik Pilot | End-User · UAT Site | Disruption minima · operational benefit · staff training | Onboarding session · weekly check-in during pilot · NPS survey |
| Pesakit Pilot (sample) | End-User Patient | Privacy · speed · clarity · trust dlm AI | In-app feedback · 30-day satisfaction survey · focus group selepas pilot |
| MOH / KKM | Regulator | Patient safety · PDPA · clinical governance · audit trail | Quarterly compliance report · audit-ready documentation · CPG alignment evidence |
| MMC (Malaysian Medical Council) | Professional Body | AI tak override doctor judgement · scope of practice maintained | Self-attestation HITL design · upon request only |
| JKDM (LHDN e-Invoice) | Tax Authority | e-Invoice compliance untuk billing module | API integration · auto-submit per encounter |
| PERKESO / SOCSO | Insurance Authority | Claim format · provider verification | API integration · monthly claim batch |
| Insurance Panels (MySalam · AIA · Allianz) | Payer | Claim processing · panel rate sync | API integration · monthly reconciliation |
| NPRA (National Pharmaceutical) | Drug Authority | Drug database accuracy · DDI list authority | Reference-only · public API/data download |
| PDP Commissioner | Privacy Authority | PDPA 2010 compliance · breach notification | Quarterly self-audit · breach <72h escalation |
| ALESA Engineering Team | Build Team | Clear specs · achievable sprints · learning growth | Daily standup · sprint planning bi-weekly · retrospective |
4. 🎲 RACI Matrix
R = Responsible (yang buat) · A = Accountable (yang tanggungjawab) · C = Consulted (rujuk) · I = Informed (maklumat).
| Activity | Doc Zam | Founder ALESA | Eng Team | Klinik Pilot | MOH |
|---|---|---|---|---|---|
| Clinical workflow approval | A | R | I | C | I |
| Architecture decisions | C | A/R | C | I | I |
| Module spec writing | C | R | A | I | I |
| UI/UX design | C | A | R | C | I |
| Code build & test | I | A | R | I | I |
| Clinical safety review | A/R | C | I | C | I |
| PDPA compliance audit | C | A/R | R | I | C |
| Pilot deployment | C | A | R | R | I |
| Staff training | C | A | R | R | I |
| Incident response | A | R | R | C | I (if breach) |
| MOH CPG mapping | A/R | C | I | I | I |
| Sign-off on Q-gates | A | A | R | C | I |
| Budget approval | I | A/R | I | I | I |
| Server hardware procurement | I | A/R | C | I | I |
| Marketing & pitch update | C | A/R | I | I | I |
5. 📅 Timeline & Phases
4 phase approach. Setiap phase ada explicit gate sebelum naik ke phase seterusnya.
- • Blueprint hub + Project + Dev pages LIVE (today)
- • M1-M9 deep specs + Gantt + Risk register + Budget detail (next session)
- • Repo init · CI/CD pipeline scaffold · staging env up
- • Doc Zam canonical UX assets ekstrak ke design system
- • Klinik pilot identification + onboarding agreement draft
- • Sprint 1.1 (2 wks): M9 audit foundation + auth/RBAC + Patient data model (Doc Zam 11-section)
- • Sprint 1.2 (2 wks): M1 Patient PA — symptom intake + 3-warna triage + WhatsApp/PWA UI
- • Sprint 1.3 (2 wks): M4 Doctor PA — encounter + 6-tab UI + ambient SOAP scribe + CDSS lite
- • Internal QA · clinical safety review by Doc Zam · staging deployment
- • Sprint 2.1: M2 Pre-Consult Briefing + M5 Pharmacy PA
- • Sprint 2.2: M7 Admin PA · queue + appointment + billing
- • Sprint 2.3: Klinik pilot deployment · staff training · UAT (1 minggu)
- • 30-day pilot run: monitor · daily incident review · weekly metrics
- • Iterate: 2 sprints fix bugs/feedback dari pilot
- • Tambah M3 (Clinic Locator) · M6 (Adverse Reaction Loop) · M8 (Cross-Clinic Continuity)
- • Onboard 5-10 klinik dlm rangkaian (Path B)
- • Network effect activation
- • Scale infrastructure (Mid-End → Hi-End upgrade if load demands)
- • MOH compliance audit + MMC self-attestation
6. 🎯 Milestones
| Tarikh | Milestone | Owner | Phase |
|---|---|---|---|
| 26 Apr 2026 | Doc Zam approval received · Blueprint hub LIVE | Founder | P0 |
| 3 May 2026 | Phase 2 detail (M1-M9 specs · Gantt · Risks · Budget) selesai | Founder + Eng | P0 |
| 10 May 2026 | Repo + CI/CD + staging env LIVE · Q1 gate passed | Eng Lead | P0→P1 |
| 24 May 2026 | Sprint 1.1 demo: M9 audit + auth + Patient data model | Eng Team | P1 |
| 7 Jun 2026 | Sprint 1.2 demo: M1 Patient PA UI + triage flow | Eng Team | P1 |
| 21 Jun 2026 | Sprint 1.3 demo: M4 Doctor PA + ambient SOAP · MVP COMPLETE | Eng Team | P1 |
| 28 Jun 2026 | Q2/Q3 gates passed · Doc Zam sign-off MVP | Doc Zam + Founder | P1→P2 |
| 5 Jul 2026 | Sprint 2.1: M2 + M5 ready | Eng Team | P2 |
| 19 Jul 2026 | Sprint 2.2: M7 + integration done | Eng Team | P2 |
| 26 Jul 2026 | Klinik pilot deployment · UAT complete | Eng + Klinik | P2 |
| 25 Aug 2026 | Pilot 30-day mark · interim metrics review | All | P2 |
| 30 Sep 2026 | Pilot complete · success metrics evaluated · Q4/Q5 gates | Doc Zam + Founder | P2→P3 |
| Oct-Dec 2026 | M3 + M6 + M8 build · onboard 3-5 klinik | Eng + BD | P3 |
| Jan-Mar 2027 | Network effect activation · MOH audit · Production cert | All | P3 |
7. 🚦 Quality Gates Q1-Q6
ALESA framework gates + MOH-equivalent checkpoints. Tiada phase boleh mula tanpa pass gate sebelum.
- ✓ Blueprint hub + Project + Dev specs lengkap
- ✓ M1-M9 module specs done
- ✓ Repo + CI/CD + staging env up
- ✓ Doc Zam sign-off blueprint
- ✓ Klinik pilot agreement signed
- ✓ Budget approved by Founder
- ✓ M1+M4+M9 demo functional
- ✓ Unit test coverage ≥75%
- ✓ Integration test pass rate 100%
- ✓ E2E test (3 patient scenarios) pass
- ✓ Performance: p99 latency <5s
- ✓ Security scan zero high/critical CVE
- ✓ Doc Zam clinical pathway sign-off
- ✓ HITL gates verified (no auto-execute on high-risk)
- ✓ Citation mandatory pada semua dx/dose suggestion
- ✓ Red-flag escalation tested 100% (chest pain, stroke, etc.)
- ✓ Drug interaction database NPRA-aligned
- ✓ Allergy alert chain validated
- ✓ ≥80% pesakit complete intake
- ✓ Doktor jimat ≥30% masa dokumentasi
- ✓ Zero clinical safety incident
- ✓ Zero PDPA breach
- ✓ Klinik staff NPS ≥7/10
- ✓ Patient satisfaction ≥75%
- ✓ PII strip pre-LLM verified (12 PII types)
- ✓ Audit log retention ≥7 tahun
- ✓ Consent capture flow validated
- ✓ Data subject access rights implemented
- ✓ Breach notification procedure tested
- ✓ DPO appointed (Founder default)
- ✓ MOH compliance documentation complete
- ✓ MMC scope-of-practice attestation
- ✓ Multi-klinik load test passed
- ✓ Disaster recovery drill completed
- ✓ 99.5%+ uptime SLA achieved
- ✓ Insurance/professional indemnity in place
8. ⚠️ Risk Register
Risiko utama dgn likelihood × impact. Detail mitigation dlm /risks/ page (Phase 2 deliverable).
| Tahap | Risiko | Likelihood | Impact | Mitigasi Ringkas |
|---|---|---|---|---|
| 🔴 KRITIKAL | False-positive Diagnosis | Medium | Patient harm | HITL mandatory · citation card · DDx alternatives shown · Doc Zam clinical sign-off Q3 |
| 🔴 KRITIKAL | Medication Error (DDI/dose/allergy miss) | Low-Med | Patient harm · legal | Closed-loop verify · barcode at dispense · NPRA cross-check · pharmacist final approve |
| 🔴 KRITIKAL | PDPA Breach (PII leak ke cloud LLM) | Low | RM 500K fine · reputation | PII strip pre-LLM · per-tenant key · on-prem option · breach <72h notify · Q5 quarterly audit |
| 🟠 TINGGI | Doc Zam Withdraws Approval | Low | Project halt | Weekly review · transparent comms · Doc Zam co-sign all major decisions · written agreement Phase 0 |
| 🟠 TINGGI | Klinik Pilot Pull Out | Med | Phase 2 delay | 2 backup klinik identified · pilot agreement dgn exit clause · ALESA bear setup cost |
| 🟠 TINGGI | Skill Decay (junior klinisin over-rely AI) | Med | Long-term competency loss | "Blind mode" toggle · periodic competency check · agen sembunyi recommendation untuk training mode |
| 🟠 TINGGI | Audit Gap (MOH inspection failure) | Low-Med | License risk | Structured log per call · 7-tahun retention · queryable timeline · MOH report template Phase 2 |
| 🟠 TINGGI | GPU Hardware Lead Time | Med | Phase 1-2 delay | Order H100 4-week early · L40S as fallback · cloud burst as Plan B during procurement gap |
| 🟢 SEDERHANA | LLM API Cost Overrun | Med | Budget pressure | Tier routing (small first) · cache · per-tenant budget · gpt-4o-mini default · on-prem reduces dependency |
| 🟢 SEDERHANA | UI/UX Iteration Burn | Med | Sprint slip | Doc Zam mock = canonical from Day 1 · design system locked Phase 0 · UAT feedback timeboxed |
| 🟢 SEDERHANA | Team Capacity | Low-Med | Sprint slip | 2-week sprint · slack capacity 20% · contractor backup pool · clear OOO calendar |
| 🟢 SEDERHANA | Insurance Panel API Friction | Med | M5/M7 partial | Manual claim fallback · API integration as v2 nice-to-have not blocker · MySalam first then expand |
9. 💰 Budget & Resources
Anggaran summary. Detail per-line dlm /budget/ page (Phase 2 deliverable). Currency: MYR.
| Eng team (3 × 1.5 bln) | RM 75K |
| Dev infrastructure (cloud staging) | RM 5K |
| Doc Zam consulting (advisory) | RM 15K |
| OpenAI API budget (testing) | RM 5K |
| Phase 1 Total | RM 100K |
| Eng team (3 × 3 bln) | RM 150K |
| Mid-End server (1× L40S + workstation) | RM 80K |
| Colo + power + internet (3 bln) | RM 25K |
| Klinik pilot setup + training | RM 10K |
| OpenAI API + monitoring | RM 15K |
| Phase 2 Total | RM 280K |
| Eng team scaled (5 × 6 bln) | RM 600K |
| Mid → Hi-End upgrade (4× H100) | RM 1.2M |
| Colo + power + internet (6 bln) | RM 60K |
| Klinik onboarding × 5-10 | RM 50K |
| BD + marketing + legal | RM 100K |
| Phase 3 Total | RM 2.01M |
| Contingency 15% | RM 360K |
| Insurance + indemnity (1 yr) | RM 50K |
| Audit + compliance consulting | RM 40K |
| Domain/SaaS subscriptions | RM 10K |
| Contingency Total | RM 460K |
10. 🏛️ Governance
- Co-Sponsor: Doc Zam + ALESA Founder
- Steering Committee: bi-weekly · 60 min · status + decisions
- Quorum: kedua-dua sponsor + Eng Lead
- Decision authority: bujet + scope + go/no-go gates
- Daily standup: 15 min · async dlm Slack/WhatsApp OK
- Sprint planning: 90 min bi-weekly
- Sprint review/demo: 60 min · Doc Zam attend
- Retrospective: 45 min · process improvement
- Format: ADR (Architecture Decision Record)
- Location: repo /docs/decisions/ADR-NNN.md
- Trigger: any decision yang affect >1 modul
- Review: monthly retrospective
- L1 Tech: Eng Lead (within 4h)
- L2 Architecture: Founder (within 24h)
- L3 Clinical: Doc Zam (within 24h)
- L4 Incident (PHI breach): immediate · <72h notify PDP
11. 🛡️ Compliance Roadmap
| Regulation/Standard | Authority | Phase Aligned | Evidence |
|---|---|---|---|
| PDPA 2010 | PDP Commissioner | P0 baseline · Q5 quarterly | Privacy Policy · Consent flow · DPO · Breach notify procedure · 7-yr audit log |
| MOH Clinical Practice Guidelines | KKM | P1 (start) → P3 (full) | Citation library mapping · Doc Zam clinical sign-off |
| MMC Scope of Practice | Malaysian Medical Council | P2 self-attest | HITL design doc · "AI proposes, doctor approves" architecture proof |
| e-Invoice (LHDN) | JKDM | P2 (M7 build) | API integration · per-encounter submit · monthly recon report |
| MySalam/Socso/PERKESO | Insurance authority | P2-P3 (M7 build) | API integration · claim format spec · provider verification |
| NPRA Drug Database | National Pharmaceutical | P1 (M5 build) | Public DB ingestion · monthly refresh · DDI list source |
| HL7 FHIR R4 | HL7 International | P2-P3 | Patient/Encounter/Observation/MedicationRequest resources implemented |
| DICOMweb | NEMA | P3 (imaging integration) | QIDO-RS + WADO-RS basic support |
| ISO 27001 (aspirational) | ISO/SIRIM-QAS | P3+ | ISMS scope · controls · risk assessment · audit (year 2) |
12. 📢 Communication Plan
| Audience | Frequency | Format | Owner |
|---|---|---|---|
| Doc Zam | Weekly | 1-page status report + WhatsApp · sprint demo bi-weekly | Founder |
| Engineering Team | Daily | Standup async · Sprint planning bi-weekly | Eng Lead |
| Klinik Pilot Staff | Pre-pilot weekly · pilot daily · post weekly | WhatsApp + onsite visit | Founder + Eng |
| Klinik Pilot Pesakit | In-app (always-on) · 30-day survey | Push notif · email · SMS | Eng Team |
| MOH/Regulator | Quarterly | Compliance report · audit-ready PDF | Founder |
| Internal ALESA | Monthly | All-hands review · roadmap update | Founder |
| Investor/Sponsor (future) | Quarterly | Board deck · financials · KPIs | Founder |
13. 🚪 Exit Criteria (per phase)
Bila kena STOP. Bukan failure mode — checkpoint to reassess sebelum waste resources.
- Doc Zam tarik balik approval atau hilang interest sustained
- Tiada klinik pilot willing setelah 4 minggu BD effort
- Budget Phase 0 melebihi RM 50K tanpa progress
- Critical clinical safety bug yang tak boleh fix <1 minggu
- Q2/Q3 gate fail twice (after 2× iteration)
- Doc Zam reject MVP demo >3 round
- PDPA legal counsel flag major design flaw
- Pilot klinik staff NPS <3/10 setelah 30-day
- Patient safety incident attributable to AI
- PDPA breach yang affect pilot data
- Pilot pesakit complete <40% intake (tak engage)
- MOH guidelines change yang require >6-bulan rework
- Customer churn >30% in 90 days post onboarding
- Server uptime SLA <95% for 2 consecutive months
- Insurance/indemnity becomes uneconomical