feat: chat member ID/DOB eligibility defaults to DDMA, MassHealth moved to end of insurance dropdown

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 22:07:23 -05:00
co-authored by Claude Opus 5.5
parent 5d7a35bdc9
commit a99aa32463
2 changed files with 6 additions and 6 deletions
@@ -462,11 +462,11 @@ async function handleEligibilityById(
};
}
// Determine siteKey (defaults to MassHealth when no payer is specified)
const siteKey = resolveSiteKey(
patient?.insuranceProvider ?? null,
c.insuranceHint ?? null
);
// Determine siteKey (defaults to DDMA when no payer is specified)
const siteKey =
patient?.insuranceProvider || c.insuranceHint
? resolveSiteKey(patient?.insuranceProvider ?? null, c.insuranceHint ?? null)
: "DDMA";
const label = patient
? `${patient.firstName ?? ""} ${patient.lastName ?? ""}`.trim()