Skip to content
Back to skills

Healthcare Cdss Patterns

ASecurity

Use when clinical Decision Support System (CDSS) development patterns. Drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), alert severity classification, and integration into EMR workflows. Triggers on \"healthcare-cdss-patterns\", \"healthcare cdss patterns\", \"patterns\".

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 19, 2026
ai-agentstypescripttesting

Works with

  • cli

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add majinmagros/magros.ai-skills --skill healthcare-cdss-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Healthcare Cdss Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Healthcare Cdss Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majinmagros-healthcare-cdss-patterns/badge)](https://www.skillsdirectory.com/skills/majinmagros-healthcare-cdss-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: healthcare-cdss-patterns
description: "Use when clinical Decision Support System (CDSS) development patterns. Drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), alert severity classification, and integration into EMR workflows. Triggers on \"healthcare-cdss-patterns\", \"healthcare cdss patterns\", \"patterns\"."
metadata:
  origin: ECC
---

# Healthcare CDSS Patterns

Pure-function safety engine for EMR: interactions, dose validation, NEWS2 scoring. Detalhes em `references/`.

## When to Activate

- Implementing drug interaction checking
- Building dose validation engines (weight/age/renal)
- Implementing clinical scores (NEWS2, qSOFA, APACHE, GCS)
- Designing alert systems for abnormal clinical values
- Medication order entry with safety checks
- Interpreting lab results with clinical context

## When NOT to Use

- EMR encounter workflows and UI (use `healthcare-emr-patterns`)
- Deployment safety gates (use `healthcare-eval-harness`)
- PHI/PII compliance and access control (use `healthcare-phi-compliance`)

## Core Principles

1. **Pure functions, zero side effects** — input data, output alerts; fully testable
2. **Block, don't pass** — missing weight on mg/kg drug is a failure
3. **Bidirectional pairs** — A×B implies B×A
4. **Critical never toasts** — block + documented override in audit trail
5. **100% pass criteria** — one missed interaction is a safety event

## Example

```typescript
const alerts = checkInteractions('warfarin', ['aspirin'], ['penicillin']);
// [{ severity: 'critical', pair: ['warfarin','aspirin'], ... }]
```

## References

- `references/interactions.md` — engine diagram, checkInteractions, bidirectional rule
- `references/dose-validation.md` — validateDose: weight, age, renal, absolute max
- `references/scoring-alerts.md` — NEWS2 types, severity table, UI behavior
- `references/testing.md` — safety suite, examples, anti-patterns

## Checklist

- [ ] NEWS2 tables match Royal College of Physicians spec exactly
- [ ] Every pair tested both directions; malformed input never throws
- [ ] Weight-missing blocks mg/kg drugs with `weight_missing`
- [ ] Critical alerts modal + override reason in audit trail
- [ ] No `any` types, no silent catches, no hardcoded pairs

Files in this skill

  • SKILL.md2.2 KB
  • references/dose-validation.md2.5 KB
  • references/interactions.md1.7 KB
  • references/scoring-alerts.md1 KB
  • references/testing.md2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.