healthcare-cdss-patterns

Implements drug interaction checking, dose validation, and NEWS2 clinical scoring for EMR workflows.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/freedom909/real-estate-saas --skill healthcare-cdss-patterns-freedom909
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: healthcare-cdss-patterns
Source: https://github.com/freedom909/real-estate-saas/tree/main/.trae/skills/healthcare-cdss-patterns
Command: npx skills add https://github.com/freedom909/real-estate-saas --skill healthcare-cdss-patterns-freedom909

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building Clinical Decision Support Systems (CDSS) requires patient-safety-critical logic where a single missed drug interaction or incorrect dose can cause harm. This Skill provides proven patterns for implementing interaction checking, dose validation, and clinical scoring as pure, fully testable functions that integrate into EMR workflows. ## Core Features & Use Cases - Drug Interaction Checking: Check a new drug against current medications and allergy lists, returning severity-sorted alerts with bidirectional pair detection. - Dose Validation: Validate prescribed doses against weight-based, age-adjusted, renal-adjusted, and absolute maximum rules, blocking when required patient data is missing. - Clinical Scoring: Calculate NEWS2 scores from vital signs with risk levels and escalation guidance matching the Royal College of Physicians specification. - Use Case: When a clinician prescribes warfarin to a patient already taking aspirin, the engine returns a critical alert for increased bleeding risk that blocks the order until an override reason is documented in the audit trail. ## Quick Start Ask the AI to implement a drug interaction checker and dose validator for your EMR system following these CDSS patterns.

Frequently Asked Questions about healthcare-cdss-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement drug interaction checking in an EMR system?▼

Implement drug interaction checking as a pure function that takes the new drug, current medications, and allergy list, then returns severity-sorted alerts. Interaction pairs must be bidirectional, and cross-reactivity with documented allergies must produce critical alerts.

How to validate medication doses based on patient weight and renal function?▼

Validate doses against weight-based, age-adjusted, and renal-adjusted rules defined per drug and route. If a drug requires weight-based dosing and weight is missing, block the prescription rather than passing it, and return the suggested safe range.

What is NEWS2 scoring and how is it calculated?▼

NEWS2 (National Early Warning Score 2) is calculated from respiratory rate, oxygen saturation, supplemental oxygen, temperature, systolic blood pressure, heart rate, and consciousness level. Scoring tables must match the Royal College of Physicians specification exactly, producing a total score, risk level, and escalation guidance.

Should critical drug interaction alerts be dismissable notifications?▼

No, critical alerts must never be auto-dismissed or shown as toast notifications. They require a non-dismissable blocking modal, and clinicians must document an override reason that is stored in the audit trail before proceeding.

What are common CDSS implementation anti-patterns to avoid?▼

Avoid making safety checks optional, using any types for clinical data, hardcoding interaction pairs, silently catching engine errors, and skipping weight-based validation when weight is unavailable. CDSS failures must surface loudly, and missing data must block rather than pass.