Last Updated: 2026-02-22
Status: ✅ Implemented
Last Verified: 2026-02-22 Spec: PM-11 Revenue Cycle Dashboard & Analytics
Constitution Reference: Section 1.2 (Core Independence), Section 1.3 (Integration Patterns)
Overview
PM-11 owns the revenue cycle dashboard and analytics: KPI dashboard (days in A/R, clean claim rate, denial rate, collection rate, charge lag), A/R aging, denial analysis, payer mix, provider productivity, service line profitability, charge capture completeness, and report scheduling via PF-12 (Phase 2).Integration Points (from spec)
Data Source Tables
Note:
pm_adjustments table does NOT exist. Adjustments are stored as pm_claims.adjustment_amount and as CARC group code entries in pm_payment_applications.
Metric Type Values
The followingmetric_type values are used in pm_rcm_snapshots and pm_rcm_benchmarks:
Dimensions JSONB Shape
PF-12 Integration (Phase 2 — Deferred)
Status: ⏳ Deferred — PF-12 tables exist (pf_reports, pf_report_schedules, pf_report_runs) but no API contract is defined for PM-11 to register reports with PF-12.
When implemented:
- PM-11 will register snapshot-based reports with PF-12 for scheduled generation and distribution
- Document the exact API or data contract in this file and in API_CONTRACTS.md
- US5 in the spec will be undeferred
Event / API Contracts
- PM-07/08/09/10: Dashboard and snapshots read from PM tables (
pm_charges,pm_claims,pm_payments, authorization data); no new event contracts; data accessed via same core. - PF-12: Deferred to Phase 2. See section above.
- FA-07: When integrated, document in API_CONTRACTS.md or EVENT_CONTRACTS.md.
Events Consumed
pm_cost_estimate_generated (from PM-48)
- Publisher: PM-48 (Patient Cost Estimation & Financial Clearance)
- Event Name:
pm_cost_estimate_generated - Version: 1.0
- Payload Schema:
- Subscription Rules: Unconditional — all estimates feed into clearance metrics
- Delivery Semantics: At-least-once; idempotent processing via
estimate_id - ACL/Topic:
pm.cost_estimatestopic - Purpose: Feed clearance metrics into PM-11 dashboard (US-3: clearance completion rate, avg days to clearance, avg patient responsibility)
- Status: 📝 Planned