Skip to main content

Revenue Matrix Configuration

The Program–Insurance Revenue Matrix (pm_program_insurance_revenue_matrix) stores estimated per-lead revenue by program type and insurance type.

Columns

How Revenue Estimates Flow

  1. Screening trigger → looks up matrix by (program_type, insurance_type) → writes lead_value_estimated to pm_analytics_revenue_impact
  2. Appointment confirmation → actualizes revenue: confirmedrevenue_realized = estimated; no_showrevenue_lost = estimated
  3. Revenue Impact Widget → aggregates realized vs. lost revenue in the dashboard

Editing the Matrix

Currently configured via SQL or Supabase dashboard:

Dashboard Settings

These settings are stored in pm_module_settings and affect dashboard behavior:

Changing Settings

Update via Supabase dashboard or SQL:

Permissions