Skip to main content

Type Alias: ContactRole

ContactRole = "billing" | "admin" | "clinical"

Defined in: src/lib/facility/intake.ts:9

Facility onboarding-intake domain helpers (pure, no I/O).

Maps an intake submission to the operational facilities row + facility_contacts it creates, and parses the single free-text address into billing/city/state/zip. Kept pure so the mapping is unit-tested independently of the DB and reused by both the server action and the seed script.