Skip to main content
Spec: PM-50
Created: 2026-04-07
Status: 📝 Planned

Overview

PM-50 provides ML-based claim denial prediction as a pre-submission advisory layer. It integrates into the PM-08 claim submission queue, complements PM-18 rule-based scrubbing, reads documentation completeness metadata from CL-36 via Platform Integration Layer, and uses PF-96 jurisdiction profiles for payer/state-specific context.

Integration Points

Platform Foundation Dependencies

Same-Core Dependencies

Cross-Core Dependencies


Events Published

Event Payload Schemas

pm.denial_prediction.created:
pm.denial_prediction.outcome_recorded:

Edge Functions


Platform Integration Layer Usage

  • @/platform/notifications — Send documentation request to clinical team (FR-3.2)
  • @/platform/clinical — Read documentation completeness metadata from CL-36 (FR-3.1); PM-50 implements stub/adapter returning null signals when CL-36 unavailable

Data Flow


Security Boundaries

  • No PHI crosses into PM-50 — only categorical/aggregate features and completeness metadata
  • All prediction data scoped to organization via RLS with SECURITY DEFINER helper
  • Model training data never crosses organization boundaries
  • Edge functions validate org access via verifyOrgAccess() from _shared/auth.ts

References

  • Spec: specs/pm/specs/PM-50-ai-denial-prediction-prevention.md
  • Related: PM-08, PM-18, PM-29, PM-49, CL-36, PF-96
  • Events: docs/architecture/integrations/EVENT_CONTRACTS.md
  • Platform layers: docs/architecture/integrations/PLATFORM_INTEGRATION_LAYERS.md