Skip to main content

Interface: PayerRule

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

One payer-resolution rule. payerPattern is tested (case-insensitively) against the check's payer name. A match then expands to facilities either by coversAll (management company -> every active facility) or by facilityPatterns (each pattern should identify exactly one facility; a pattern that hits 0 or >1 facilities is treated as ambiguous and surfaced for manual review).

Properties

coversAll?

readonly optional coversAll?: boolean

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


facilityPatterns?

readonly optional facilityPatterns?: readonly RegExp[]

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


label

readonly label: string

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


payerPattern

readonly payerPattern: RegExp

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