affaan-m/everything-claude-code/healthcare-cdss-patterns
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install affaan-m/everything-claude-code/healthcare-cdss-patternsSKILL.md
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:
- `checkInteractions(newDrug, currentMeds, allergies)` — Checks a new drug against current medications and known allergies. Returns severity-sorted
InteractionAlert[]. UsesDrugInteractionPairdata model. - `validateDose(drug, dose, route, weight, age, renalFunction)` — Validates a prescribed dose against weight-based, age-adjusted, and renal-adjusted rules. Returns
DoseValidationResult. - `calculateNEWS2(vitals)` — National Early Warning Score 2 from
NEWS2Input. ReturnsNEWS2Resultwith 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.
Testing CDSS (Zero Tolerance for False Negatives)
Pass criteria: 100%. A single missed interaction is a patient safety event.
Anti-Patterns
- Making CDSS checks optional or skippable without documented reason
- Implementing interaction checks as toast notifications
- Using
anytypes for drug or clinical data - Hardcoding interaction pairs instead of using a maintainable data structure
- Silently catching errors in CDSS engine (must surface failures loudly)
- Skipping weight-based validation when weight is not available (must block, not pass)
Examples
Example 1: Drug Interaction Check
Example 2: Dose Validation
Example 3: NEWS2 Scoring
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/healthcare-cdss-patterns/SKILL.md
Popularity
- Repository stars
- 168,828
- Repository forks
- 26,169
- Repository npm downloads, 7 days
- 1,425
- 7-day trend score
- 78
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 28 Apr 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/affaan-m/everything-claude-code/healthcare-cdss-patterns)