Skip to main content

Orders Service — Service Risk Register

Status: populated Owner: TBD Last updated: 2026-04-18 Companion: Service Template · FAILURE_MODES · SECURITY_MODEL

1. Risk Register

IDRiskCategoryLikelihoodImpactRisk ScoreOwnerMitigationResidual
R-01CDS engine unavailable — medication orders proceed without allergy or drug-interaction checksPatient SafetyMediumCriticalHighClinical Safety OfficerCDS degraded mode blocks medication activation (not just warns); CDS_DEGRADED audit log; ADMIN override with mandatory reason; OrdersCdsCheckTimeout alertLow after mitigation
R-02Duplicate order created via network retry — patient receives duplicate medication administration or lab drawPatient SafetyLowHighMediumTech LeadIdempotency-Key at controller level (24 h cache); client_mutation_id DB unique constraint; CDS duplicate order warning within 24 h windowLow after mitigation
R-03Allergy cache stale — new allergy recorded after last cache refresh; CDS misses during TTL windowPatient SafetyLowCriticalHighClinical InformaticsCache TTL ≤ 15 min; cache miss always falls back to live registration-service query; NATS durable consumer ensures allergy events delivered; ALLERGY_CACHE_UPDATED metricsLow after mitigation
R-04Tenant RLS misconfiguration exposes cross-tenant order dataCompliance / SecurityVery LowCriticalHighSRE + Tech Leadtenant-isolation.spec.ts mandatory CI gate; session variable set in middleware before every DB call; quarterly RLS auditVery Low after mitigation
R-05Order set partial instantiation — clinician does not notice that some orders in a set failed to createClinical WorkflowMediumHighHighUX + Tech LeadResponse body includes failedTemplates[] array; UI must display explicit warning when failedTemplates.length > 0 and prompt clinician to retry; server-side audit event ORDER_SET_PARTIAL_FAILURELow after UI implementation
R-06CDS hard-stop override used inappropriately — clinician bypasses valid patient safety alert without genuine clinical reasonPatient Safety / GovernanceLowHighMediumClinical Safety OfficerOverride requires free-text reason (mandatory field, min 10 chars); ADMIN escalation required for hard-stops; dual-sign for controlled substances; monthly CDS override audit report to medical directorLow with monitoring
R-07Referral routing event dropped — referral order created but referral.created event never reaches scheduling-service; appointment never madeClinical WorkflowLowHighMediumTech LeadNATS JetStream durable consumer with replay; OrdersReferralOverdue alert after 72 h; UI pending_scheduling indicator with age badge; manual follow-up SOPLow after monitoring
R-08Legacy CPOE data migration count discrepancy — some historical orders not migrated; clinical history gapsMigrationMediumHighHighMigration Engineer + Clinical InformaticsUpsert-idempotent migration scripts; count validation script with 0-tolerance threshold; 10% sample clinical review before go-live; 90-day legacy read-only retentionLow after validation
R-09CDS rule update causes unexpected hard-stop surge — terminology-service deploys new rules that fire on many existing patient-medication combinationsOperationsMediumMediumMediumterminology-service teamCDS rule deployment requires staging canary with CDS metrics review; OrdersCdsHardStopSpike alert fires > 3× baseline; CDS rule rollback procedure in terminology-service runbookLow with process
R-10Performance degradation under load — order creation with full CDS check exceeds 800 ms p95 SLO at peak usagePerformanceMediumMediumMediumSRE + Tech LeadHPA scales orders-service pods on CPU/latency; CDS engine has its own HPA; k6 baseline + soak tests before each release; orders.create.latency SLO alertLow after load tests

2. Risk Matrix

Impact → Low Medium High Critical
Likelihood ↓
Very Low R-04
Low R-06, R-07 R-02 R-01, R-03
Medium R-10 R-09 R-05, R-08
High

3. Review Schedule

Review typeFrequencyOwner
Full register reviewQuarterlyTech Lead + SRE
CDS override auditMonthlyClinical Safety Officer
Post-incident risk updateAfter any severity-1 incidentOn-call + Tech Lead
Pre-release risk reviewBefore each major releaseTech Lead + SRE

4. Escalation Path

Risk scoreEscalation target
High — patient safetyClinical Safety Officer + Clinical Informatics Director
High — compliance/securityCISO + Data Protection Officer
High — operationalSRE Lead + Engineering Manager
MediumService Tech Lead