Overview
Clinical Decision Support (CDS) provides automated, configurable alerts when clinicians perform actions that may affect patient safety. CDS rules trigger point-of-care alerts for drug interactions, drug allergies, medication monitoring gaps, and documentation gaps.Getting Started
Accessing CDS Rules
- Navigate to Clinical → CDS Rules (
/cl/cds-rules) - You must have the
cl.cds_rules.viewpermission to see the list - You must have the
cl.cds_rules.managepermission to create, edit, or delete rules
Who Can Manage Rules?
By default, only Organization Administrators have thecl.cds_rules.manage permission. Staff members can view rules but cannot modify them. This can be adjusted through the Permissions administration panel.
Creating a CDS Rule
- Click “Add Rule” on the CDS Rules page
- Fill in the required fields:
General Settings
Rule Types
Condition Parameters
Parameters change based on the selected rule type:- Drug Interaction: Enter two drug class names (e.g., “Opioid” and “Benzodiazepine”). The engine checks if the patient has active medications matching both classes.
- Drug Allergy: Enter one drug class name. The engine checks if the patient has both an active allergy AND an active medication matching that class.
- Medication Monitoring: Enter the LOINC code for the lab test and the number of days after which it’s considered overdue.
- Documentation Gap: Enter the note type and maximum hours before it’s flagged as overdue.
Action Settings
Severity Levels
Hard Stop Rules
When a rule has Hard Stop enabled:- The clinician sees a blocking modal that cannot be dismissed
- They must either:
- Acknowledge the alert (for non-hard-stop alerts)
- Override with reason — a clinical justification is required
- The override reason is permanently recorded in the audit trail
Alert Lifecycle
Alert Actions
Both actions are immutable — once acknowledged or overridden, the action cannot be undone. This ensures a complete audit trail for compliance.
Audit & Compliance
What Is Tracked
- Every alert trigger (rule ID, chart ID, severity, timestamp)
- Every acknowledgment (who, when)
- Every override (who, when, reason)
- Domain events published:
cds_alert_triggered,cds_rule_overridden
Reviewing Overrides
Overridden alerts can be reviewed by:- Viewing the CDS Alerts Panel on any patient chart
- Filtering alerts to show overridden items
- Reviewing the override reason and clinician who overrode
Regulatory Compliance
CDS alerts support compliance with:- Joint Commission medication safety standards
- CMS Conditions of Participation for medication management
- AHCCCS AMPM behavioral health documentation requirements
- 42 CFR Part 2 — alert payloads contain IDs only, no PHI
Managing Alert Fatigue
Recommended Practices
- Start conservative — begin with a small number of critical rules
- Monitor override rates — high override rates indicate rules may be too aggressive
- Use appropriate severity — not every alert needs to be “critical”
- Limit hard stops — reserve for truly dangerous situations
- Review and adjust — regularly review active rules and deactivate those with low clinical value
- Site-specific rules — use the optional site_id field to scope rules to specific locations
Deactivating a Rule
- Navigate to CDS Rules → find the rule
- Click Edit
- Uncheck Active
- Save — the rule will no longer trigger new alerts
Permissions Reference
Troubleshooting
Technical Notes
- CDS evaluation runs client-side in Phase 1 (simple text matching)
- Future phases will add server-side evaluation via edge functions for external API calls (RxNav, FDB)
- Alert data is stored in
cl_cds_alertswith no DELETE policy (audit retention) - Domain events integrate with the Forms & Workflow (FW) automation engine