Skip to main content

Variable: DEFAULT_PAYER_RULES

const DEFAULT_PAYER_RULES: readonly PayerRule[]

Defined in: src/lib/facility-match/index.ts:56

Default alias rules, seeded from scripts/backfill-invoices.mjs. Each maps a payer substring to a single facility today; multi-facility (sibling / management-company) payers are expected to come from the DB-backed billing_payers mapping and be passed in explicitly. Unknown payers (e.g. a facility that pays under a name not listed here) resolve to 'unmatched' -> manual facility pick.