MyClaw
HomeProductsUse CasesPricingSkillsResourcesCompany
HomeUse CasesPricingSkills
Sign In
Home
ProductsOpenClaw HostingHermes Agent Hosting
Use CasesPricingSkills
ResourcesCompareTutorialLearnBlogUpdatesResourcesCommunity
CompanyAboutSupport
Sign In
MyClaw.ai

Your AI agent, already running.

Product

OpenClaw HostingHermes Agent HostingUse CasesPricingCompareAlibaba Cloud

Resources

BlogUpdatesSkillsModelsSupportCommunityCapybara

Legal

TermsPrivacyCookieGDPRContact

© 2023 Cubo World Inc. All rights reserved.

← Back to Skills
AI & LLMs
💊

Healthcare CDSS Patterns

Featured

Clinical Decision Support System patterns for drug interaction checking, dose validation, NEWS2/qSOFA scoring, and EMR alert integration — patient safety critical.

by affaan-mv1.0.0
Connecting to VM...
Connecting to VM...
npx clawhub@latest install healthcare-cdss-patterns
1.4kStars
117Downloads
36Current Installs
📦
v1.0.0Version
View Source

Healthcare CDSS Patterns Skill Overview

Healthcare CDSS Patterns is a development pattern library for building Clinical Decision Support Systems that integrate into EMR workflows. It provides typed, pure-function modules for drug interaction checking, dose validation, and clinical scoring — all designed to meet patient-safety-critical standards with zero tolerance for false negatives. Install this skill to get AI-guided implementation of CDSS components that block unsafe orders, surface escalation alerts, and maintain a full audit trail.

How to Use It

Step 1: Run in your terminal or install this skill on MyClaw

npx clawhub@latest install healthcare-cdss-patterns
or

Click the Install button at the top of this page for one-click setup

When to Use Healthcare CDSS Patterns

Best Fit

  • You are building or extending a medication order entry system and need drug interaction and dose safety checks.
  • You need to implement clinical early warning scoring (NEWS2, qSOFA) tied to escalation workflows.
  • Your team needs a reference architecture for CDSS that is fully testable and auditable.
  • You are integrating safety alerts into an EMR UI and need guidance on alert severity, UI behavior, and override audit logging.

When Not to Use

  • You need a ready-to-deploy drug interaction database — this skill provides patterns and interfaces, not the underlying drug data source.
  • Your project is outside clinical/healthcare software and does not require patient safety constraints.
  • You are looking for a no-code or low-code solution; these patterns require TypeScript/programming implementation.

Key Features

Drug Interaction & Allergy Cross-Reactivity Checking

The checkInteractions function checks a new drug against all current medications and the patient's allergy list, returning severity-sorted alerts. Interaction pairs are enforced as bidirectional, and cross-reactive allergies always produce critical-severity blocks.

Multi-Factor Dose Validation

The validateDose function enforces weight-based (mg/kg), age-adjusted, renal-adjusted, and absolute maximum dose rules. Critically, if a required parameter such as patient weight is missing, the function blocks the order rather than silently passing it.

NEWS2 Clinical Scoring

The calculateNEWS2 function computes the National Early Warning Score 2 from seven vital sign inputs per Royal College of Physicians specification, returning total score, risk category, and escalation guidance such as urgent ICU review.

Three-Tier Alert Severity with Defined UI Behavior

Alerts are classified as Critical, Major, or Minor. Critical alerts render as non-dismissable blocking modals requiring a documented override reason; Major alerts require acknowledgement; Minor alerts are informational only. Override reasons are stored in the audit trail.

Patient Safety Test Patterns

Includes a ready-made test suite structure that enforces 100% pass rate across all interaction pairs (including reverse-direction), missing-parameter blocking, and graceful handling of malformed input. A single missed interaction is treated as a patient safety event.

Anti-Pattern Guidance

Explicit documentation of dangerous implementation mistakes — including optional safety checks, toast-based critical alerts, silent error catching, and skipping weight validation — helps teams avoid common CDSS pitfalls that create patient risk.

Use Cases

Medication Order Entry Safety

Intercept dangerous drug-drug interactions and dose violations at the point of prescribing, blocking submission until the clinician documents an override reason or corrects the order.

Early Warning Score Escalation

Automatically compute NEWS2 scores from charted vital signs and surface high-risk results with escalation guidance, enabling timely clinical review for deteriorating patients.

Allergy Cross-Reactivity Enforcement

Flag drugs that are cross-reactive with a patient's documented allergies as critical-severity alerts, preventing accidental administration of contraindicated medications.

Renal and Paediatric Dose Adjustment

Enforce reduced dose caps for patients with impaired renal function or paediatric age brackets, blocking orders that exceed adjusted maximums and suggesting safe dose ranges.

Requirements

  • TypeScript environment (all patterns use typed interfaces)
  • Drug interaction data source implementing the DrugInteractionPair model (not included — must be supplied separately)
  • Dose rules data source implementing weight-based, age-adjusted, and renal-adjusted rule structures
  • EMR or order-entry UI capable of rendering blocking modals and inline warning banners
  • Audit trail storage for recording critical alert override reasons
Connecting to VM...
npx clawhub@latest install healthcare-cdss-patterns
1.4kStars
117Downloads
36Current Installs
📦
v1.0.0Version
View Source

Reviews

0 reviews

Log in to write a review

No reviews yet. Be the first to share your experience!