# Healthcare Eval Harness

> Use when verifying healthcare app deployments for patient safety: CDSS, PHI, data integrity gates. Triggers on "healthcare-eval-harness", "healthcare eval harness", "harness".

- Skill: `majinmagros/healthcare-eval-harness` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx get-skill add majinmagros/healthcare-eval-harness`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majinmagros/healthcare-eval-harness/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majinmagros (https://skillmd.com/u/majinmagros)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/majinmagros/healthcare-eval-harness

---


# Healthcare Eval Harness — Patient Safety Verification

One CRITICAL failure blocks deployment: CDSS/PHI/integrity at 100%, workflows at 95%+. Detalhes em `references/`.

## When to Activate

- Before any deployment of EMR/EHR applications
- After modifying CDSS logic (drug interactions, dose validation, scoring)
- After changing database schemas that touch patient data
- After modifying authentication or access control
- During CI/CD pipeline configuration for healthcare apps
- After resolving merge conflicts in clinical modules

## When NOT to Use

- Building clinical features themselves (use `healthcare-emr-patterns`, `healthcare-cdss-patterns`)
- HIPAA-framed compliance questions without deployment gates (use `hipaa-compliance`)

## Core Principles

1. **CRITICAL = 100% with --bail** — CDSS, PHI exposure, data integrity
2. **HIGH = 95%+ with review** — clinical workflow, integration compliance
3. **Real logic only** — never mock the CDSS engine in tests
4. **Coverage on CDSS** — enforce thresholds, never skip green-last-time
5. **Red gate = no deploy** — warnings allowed only on HIGH with review

## Example

```bash
npx jest --testPathPattern='tests/cdss' --bail --ci --coverage && \
npx jest --testPathPattern='tests/security/phi' --bail --ci && \
npx jest --testPathPattern='tests/data-integrity' --bail --ci
```

## References

- `references/critical-gates.md` — CDSS, PHI, data-integrity gates with commands
- `references/high-gates.md` — clinical and integration gates, pass/fail matrix
- `references/ci-integration.md` — GitHub Actions safety gate, anti-patterns
- `references/examples-reports.md` — local runs, pass-rate check, eval report

## Checklist

- [ ] All 3 CRITICAL gates green at 100% with --bail before deploy
- [ ] HIGH gates at 95%+ or explicitly reviewed and accepted
- [ ] CDSS tested with real engine + coverage; no --no-bail, no skips
- [ ] Eval report recorded with per-category counts and verdict

