Skip to main content

Slice-Level Risk Register

Execution-layer artifact. Companion to ROADMAP.md. Per-slice risks with severity, impact, mitigation, and ownership.

Severity Levels

LevelNameDefinition
S1CriticalCould block the milestone or cause data loss / patient safety issue
S2HighLikely to cause significant delay or quality degradation
S3MediumMay cause minor delay or require workaround
S4LowCosmetic or minor inconvenience

S0 — Platform Foundation

IDRiskSevImpactMitigationOwnerDependency
S0-R1Tenant isolation regressionS1Cross-tenant PHI leak; compliance violation; contract terminationTwo-tenant CI suite mandatory; RLS policies on all tables; automated cross-tenant access testPlatform + SecurityAll services
S0-R2Keycloak configuration complexity delays IAMS2All services blocked waiting for authAutomated realm provisioning scripts; documented playbook; dedicated SRE for KeycloakPlatform + DevOpsAll services
S0-R3SQLite schema freeze too early limits future featuresS2Desktop offline features constrainedAdditive-only migration strategy; version field in all tables; thorough clinical workflow analysis before freezeDesktopS1–S5 offline
S0-R4NATS JetStream operational immaturityS3Event delivery reliability issuesDedicated SRE spike weeks 1–2; fallback to Redis Streams documented; at-least-once delivery verifiedDevOpsAll events
S0-R5FHIR profile disagreements between clinical SMEsS2Delayed M0 freeze; cascade to all clinical servicesClinical SME review before freeze; profile decisions documented in ADRs; WHO IPS profiles as baselineArchitecture + Clinical SMEClinical services
S0-R6Sync protocol edge cases in conflict resolutionS1Data loss or incorrect patient data after offline syncServer-authority model for clinical data; manual conflict UI for rare cases; extensive E2E testing; formal verification of key scenariosPlatform + DesktopOffline workflows
S0-R7PHI encryption key management scheme inadequateS1Compliance violation; data breachKey hierarchy design review by security team; HSM evaluation; rotation automationSecurityAll PHI storage
S0-R8Kong configuration drift between environmentsS3Route failures in staging/prodKong DB-less with declarative config in git; automated config validation in CIDevOpsAll API routes

S1 — Core Clinical

IDRiskSevImpactMitigationOwnerDependency
S1-R1Clinical workflow complexity underestimatedS2Scope creep; delayed M1Clinical SME embedded in team; iterative pilot feedback; MVP scope locked by sprint 2Clinical + Clinical SMEAll clinical services
S1-R2Offline conflict resolution edge casesS1Conflicting patient data after concurrent offline editsServer-authority for clinical data; LWW for demographics; manual conflict resolution UI; conflict audit trailDesktop + PlatformSync engine
S1-R3Drug safety database licensing cost/availabilityS2Medication safety checks limitedRxNorm (free) as baseline; commercial DB (First Databank, Medi-Span) as optional add-on; AI fallback for basic checksClinical + AIMedication management
S1-R4RTL layout bugs in clinical formsS3Poor UX for Dari/Pashto/Arabic usersRTL testing suite in CI; Dari/Pashto test data fixtures; dedicated RTL testing sprintQA + DesktopAll UIs
S1-R5Pilot clinic connectivity worse than expectedS2Sync failures; data loss; poor user experiencePre-deployment connectivity audit per site; sync tuning (batch size, retry intervals); offline-first everythingOps + DesktopPilot deployment
S1-R6Patient duplicate detection accuracyS3False positives block registration; false negatives create duplicatesProbabilistic matching with configurable thresholds; manual merge workflow; phonetic matching for Dari/Pashto namesClinicalRegistration
S1-R7AI note suggestion quality insufficient for clinical useS3Clinicians ignore AI features; wasted investmentPrompt engineering with clinical SME; A/B testing; provenance tag for user confidence; opt-out per clinicianAI + Clinical SMEClinical notes

S2 — Orders & Diagnostics Entry

IDRiskSevImpactMitigationOwnerDependency
S2-R1Order safety check completenessS1Missed drug interactions or duplicate orders; patient safety riskPhased rollout: basic checks M2, full CDS M3–M4; clinical validation of rule set; override with documentationClinical + Clinical SMEOrders-CPOE
S2-R2Billing localization complexity (AFN/AED/tax)S2Billing errors; revenue recognition issuesMulti-currency from day one; tax rules configurable per tenant; financial audit before M2 launchFinanceBilling
S2-R3Results integration with external lab systemsS2Manual result entry until integration completeFHIR DiagnosticReport as canonical; HL7v2 adapter for legacy labs; manual entry as fallbackDiagnostics + InteropResults
S2-R4Offline order safety with stale reference dataS1Safety check based on outdated drug/allergy dataTimestamp-aware checks; warning UI for stale data (>24h); force-refresh before safety-critical ordersDesktop + ClinicalOffline orders
S2-R5Terminology service performance under loadS3Slow code lookups; poor clinician UXElasticsearch indexing; client-side caching; pre-loaded common codes; lazy loading of rare codesPlatformAll clinical services

S3 — Integrated Care

IDRiskSevImpactMitigationOwnerDependency
S3-R1LIS instrument integration diversityS2Each lab instrument requires custom adapterStandard ASTM/HL7 interface; adapter SDK for custom instruments; partner with instrument vendors; start with 3 common instrumentsDiagnosticsLIS
S3-R2E-prescribing national spine not readyS1E-prescribing gateway cannot connect to live spineMock spine for development; parallel track with MoPH; degrade gracefully to PDF prescriptionsInterop + PharmacyE-prescribing
S3-R3Patient portal consent model complexityS2Over-sharing or under-sharing patient dataDefault-deny for sensitive categories; consent categories defined with legal review; granular opt-in UIEngagement + LegalPatient portal
S3-R4Virtual care (Jitsi) reliability in low-bandwidthS3Video calls drop frequentlyJitsi self-hosted with bandwidth adaptation; audio-only fallback; video optional for M3; WebRTC stats monitoringEngagementDigital communication
S3-R5Insurance eligibility API availability (Afghanistan)S2No real-time eligibility checkManual eligibility entry as fallback; async eligibility batch check; partnership with major insurersFinanceInsurance
S3-R6Pharmacy dispensing workflow correctnessS1Wrong medication dispensed; patient safetyBarcode verification; double-check workflow; dispensing event audit; clinical SME validationPharmacy + Clinical SMEPharmacy

S4 — Full Platform

IDRiskSevImpactMitigationOwnerDependency
S4-R1DICOM integration complexity and storage costsS2Slow PACS rollout; high storage costsDICOM/DICOMweb standard compliance; tiered storage (hot/warm/cold); compression; cloud object storage for imagesDiagnostics + DevOpsPACS
S4-R2Claims submission format varies by payerS2Per-payer adapter workStandard claim envelope with payer-specific adapters; start with 2–3 major payers; EDI 837 as baselineFinanceClaims
S4-R3Population health data quality from upstream servicesS2Inaccurate quality metrics; misleading HMIS reportsData quality rules at ingestion; validation dashboards; data steward role; reconciliation with source systemsPopHealthAll clinical services
S4-R4HL7v2 adapter edge cases from legacy systemsS3Integration failures with specific legacy EHRsHL7v2 message validation; comprehensive test harness; per-partner adapter testing; graceful rejection with error detailsInteropHL7v2 interop
S4-R5Local ONNX model quality insufficient for clinical useS3Offline AI features unreliable; clinician distrustModel evaluation pipeline; clinical validation; fallback to "AI unavailable" rather than bad suggestions; A/B testingAI + Clinical SMEAI orchestrator
S4-R6GA readiness across 40+ servicesS2Delayed GA; partial feature gapsService readiness matrix tracking; weekly GA readiness reviews; clear L3/L4 criteria; exception processArchitecture + All teamsGA milestone

S5 — National Scale

IDRiskSevImpactMitigationOwnerDependency
S5-R1Multi-region data residency complianceS1Legal/regulatory violationRegion-aware tenant provisioning; data routing rules; legal review per region; compliance audit before deploymentDevOps + LegalMulti-region
S5-R2Mobile app security in untrusted environmentsS2PHI exposure on lost/stolen devicesDevice encryption; biometric auth; remote wipe; certificate pinning; jailbreak detectionMobile + SecurityMobile app
S5-R3SMART on FHIR third-party app qualityS3Bad third-party apps damage platform reputationApp review process; sandboxed scopes; rate limiting per app; usage monitoringInteropSMART on FHIR
S5-R4National HMIS indicator mapping accuracyS2Incorrect national reports; government trust erosionMapping validated with MoPH; indicator catalog version controlled; automated reconciliationPopHealth + Clinical SMEHMIS
S5-R5Scale testing across 40+ servicesS2Performance degradation at national scaleLoad testing at 10x expected volume; horizontal scaling verified; degradation plans per serviceDevOps + QAAll services

Cross-Cutting Risks

IDRiskSevImpactMitigationOwnerDependency
CC-R1Developer hiring timelineS2Understaffed teams; delayed milestonesEarly hiring pipeline; competitive compensation; remote-first to expand talent pool; contractor bridgeHR + VP EngAll milestones
CC-R2Clinical SME availabilityS2Workflow decisions without clinical validationEmbedded SME from M0; clinical advisory board; partnership with teaching hospitalProduct + Clinical SMEAll clinical features
CC-R3Regulatory changes (Afghanistan/UAE health IT)S3Rework to meet new regulationsRegulatory monitoring; modular compliance; configurable rules engine; legal review quarterlyLegal + ProductAll milestones
CC-R4Open-source dependency vulnerabilitiesS2Security patches on critical pathAutomated dependency scanning (Snyk/Dependabot); patch SLA (critical: 24h, high: 1 week)Security + DevOpsAll services
CC-R5AI provider API changes or pricingS3AI features break or become too expensiveProvider abstraction layer; multi-provider support; local ONNX fallback; budget alertsAIAI orchestrator