Population Health Service — Service Readiness
Status: populated Owner: TBD Last updated: 2026-04-18 Companion: Service Template · Definition of Done
1. Readiness Gate Checklist
Documentation
- All 17 docs complete (no stubs remaining)
- API contracts reviewed by tech lead
- SECURITY_MODEL reviewed by security team
- MIGRATION_PLAN reviewed and approved by data team
Code Quality
- TypeScript strict mode, zero errors
- ESLint import-restriction passes (no domain → infrastructure imports)
- Coverage ≥ 80% overall; ≥ 90% domain layer
- No critical/high Sonar findings
Mandatory Integration Tests
-
tenant-isolation.integration.spec.tspassing -
outbox.integration.spec.tspassing -
inbox.integration.spec.tspassing -
rls-enforcement.integration.spec.tspassing -
consent-enforcement.integration.spec.tspassing
FHIR / Contract Tests
- OpenAPI diff gate — no breaking changes
- Pact consumer tests green against Pact broker
- Event schema conformance tests green against schema registry
- DHIS2 adapter contract tests green
Security
- DHIS2 credentials stored in KMS (never in DB or env files)
- De-identification pipeline independently reviewed (k≥5, ε≤1.0 enforced)
- PHI redaction in logs verified
- Penetration test or threat model review completed for export endpoints
Observability
- OpenTelemetry traces visible in Grafana Tempo (staging)
- All SLOs declared in alerting system
- Alert runbooks created and linked
- Dashboard panels showing green in staging load
HMIS / MoPH Integration
- DHIS2 indicator mapping reviewed and approved by MoPH representative
- At least one successful end-to-end DHIS2 push in staging
- Scheduled export cron expressions confirmed with MoPH operations team
- Retry and failure alerting tested
Deployment
- Canary deploy completed (5% / 30 min) in staging
- Rollback procedure verified
- Resource limits tuned for production population scale (100k+ patients)
- On-call rotation assigned
Sign-off
- Tech lead sign-off
- SRE sign-off
- MoPH data governance contact notified (for HMIS and research export features)