Agent skill · research science · affaan-m

healthcare-cdss-patterns

Clinical Decision Support System (CDSS) development patterns. Drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), alert severity classification, and integration into EMR workflows. Use when building clinical decision support — drug interaction checks, dose validation, clinical scoring, or alert severity.

Why this skill is useful

Adds executable functions for drug interaction checking, dose validation, and clinical scoring that are critical for CDSS development.

What it needs

About 5k tokens when loaded. Last updated 2026-08-06. 238,342 stars on the source repository.

What this skill does

Healthcare CDSS Development Patterns Patterns for building Clinical Decision Support Systems that integrate into EMR workflows. CDSS modules are patient safety critical — zero tolerance for false negatives. When to Use Implementing drug interaction checking Building dose validation engines Implementing clinical scoring systems (NEWS2, qSOFA, APACHE, GCS) Designing alert systems for abnormal clinical values Building medication order entry with safety checks Integrating lab result interpretation with clinical context How It Works The CDSS engine is a pure function library with zero side effects. Input clinical data, output alerts. This makes it fully testable. Three primary modules: 1. checkInteractions(newDrug, currentMeds, allergies) — Checks a new drug against current medications and known allergies. Returns severity-sorted InteractionAlert[]. Uses DrugInteractionPair data model. 2. validateDose(drug, dose, route, weight, age, renalFunction) — Validates a prescribed dose against weight-based, age-adjusted, and renal-adjusted rules. Returns DoseValidationResult. 3. calculateNEWS2(vitals) — National Early Warning Score 2 from NEWS2Input. Returns NEWS2Result with total score, risk level, and escalation guidance. Drug Interaction Checking Interaction pairs must be bidirectional: if Drug A interacts with Drug B, then Drug B interacts with Drug A. Dose Validation Clinical Scoring: NEWS2 Scoring tables must match the Royal College of Physicians specification exactly. Alert Severity and UI Behavior Severity UI Behavior Clinician Action Required ---------- ------------- -------------------------- Critical Block action. Non-dismissable modal. Red. Must document override reason to proceed Major Warning banner inline. Orange. Must acknowledge before proceeding Minor Info note inline. Yellow. Awareness only, no action required Critical alerts must NEVER be auto-dismissed or implemented as toast notifications. Override reasons must be stored in the audit trail. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills affaan-m/healthcare-cdss-patterns--5e7d4c

View the source on GitHub

Browse the @skills marketplace