Skip to main content

Function: intakeToContacts()

intakeToContacts(src): IntakeContact[]

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

The facility_contacts to seed from an intake: administrator (admin), DON + both MDS coordinators (clinical), and the invoice recipient (billing). Only contacts with a real name + email are included — IT/EMR and the authorized representative don't map to the three operational roles, so they live only on the intake record. De-duplicated by lowercase email.

Parameters

src

IntakeContactSource

Returns

IntakeContact[]