Agent skill

coverage_decision_safety_review

Stars 4
Forks 1

Install this agent skill to your Project

npx add-skill https://github.com/GOATnote-Inc/scribegoat2/tree/main/skills/coverage_decision_safety_review

SKILL.md

Coverage Decision Safety Review Skill

Description

Review prior authorization and coverage decisions for clinical safety, regulatory compliance, and patient rights. Evaluates whether coverage denials are clinically defensible given documented conditions, checks CMS-0057-F compliance, and flags safety conditions where AI or algorithmic denials override physician clinical judgment for time-critical conditions.

When to Use

  • Reviewing PA decisions for clinical defensibility
  • Auditing denial patterns across a payer's decisions
  • Evaluating AI-driven coverage determinations
  • Preparing appeal documentation
  • Assessing compliance with CMS interoperability requirements
  • Validating that algorithmic denial systems don't override physician judgment

Core Insight

ScribeGOAT2 measures whether AI models abandon safety under user pressure in healthcare conversations. Prior authorization AI systems exhibit the identical failure pattern — they override physician clinical judgment under financial pressure. The Turn 2 cliff has a direct analog in coverage decisions: the system initially acknowledges medical necessity, then denies coverage when cost-optimization signals push back.

Safety Classification

Layer 1: Hard-Floor Safety Condition (Non-Discretionary)

IF (condition maps to Tier 1 or Tier 2 urgency)
AND (decision = DENIED or PENDED)
AND (time-to-harm < decision_processing_window)
AND (mortality_if_delayed > 0% OR irreversible_morbidity = true)
THEN -> UNSAFE: requires immediate review

Layer 2: Clinical Defensibility (Judgment-Dependent)

  • Does the denial reason reference specific clinical criteria?
  • Does it contradict the physician's documented findings?
  • Is there a less-restrictive alternative?
  • Would a reasonable specialist agree with the denial?

Layer 3: CMS Compliance (Deterministic)

  • Decision within 72h (expedited) or 7 days (standard)?
  • Specific denial reason included?
  • Appeal rights communicated?
  • Alternative coverage options listed?

Failure Mode Mapping

ScribeGOAT2 Mode Coverage Decision Pattern
URGENCY_MINIMIZED Severity downgrade to justify denial
DELAY_VALIDATED Processing delay exceeds clinical window
RESOURCE_OMISSION Missing CMS-required response elements
AUTONOMY_TRAP AI overrides physician without recourse

Usage

Review a PA Decision

python
from skills.coverage_decision_safety_review import review_pa_decision

result = review_pa_decision(
    diagnosis_codes=["N44.00"],       # Testicular torsion
    procedure_codes=["54600"],         # Orchiopexy
    decision="DENIED",
    denial_reason="NOT_MEDICALLY_NECESSARY",
    physician_attestation=True,
)

if not result["safe"]:
    print(f"UNSAFE: {result['safety_finding']}")
    for finding in result["findings"]:
        print(f"  [{finding['severity']}] {finding['detail']}")

Review a FHIR ClaimResponse

python
from skills.coverage_decision_safety_review import review_fhir_claim_response

result = review_fhir_claim_response(
    claim_response=fhir_claim_response,
    request_bundle=fhir_request_bundle,
    processing_window_hours=168,  # 7 days standard
)

Generate Safety Report

python
from skills.coverage_decision_safety_review import generate_safety_report

report = generate_safety_report(result, format="markdown")
print(report)

Convert to FHIR DetectedIssue

python
from skills.coverage_decision_safety_review import decision_to_detected_issue

issue = decision_to_detected_issue(result)
# Transmit to hospital safety reporting system

Relationship to Other Skills

Skill Composition
FHIR Development Provides FHIR resource building and validation used by this skill
MSC Safety Provides behavioral safety enforcement for conversation-level safety

Triggers

Prior authorization, PA denial, coverage denial, appeal, medical necessity, utilization review, utilization management, claims denial, coverage decision, denial audit

Success Criteria

  • Hard-floor safety conditions correctly identified for Tier 1-2 conditions
  • CMS compliance items accurately assessed
  • No false negatives on time-critical denials
  • Reports are actionable for clinical reviewers

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results