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:
@@ -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()
|
||||
|
||||
@@ -134,7 +134,6 @@ function mdyToISO(mdy: string): string {
|
||||
}
|
||||
|
||||
const INSURANCE_TYPE_OPTIONS: { value: string; label: string }[] = [
|
||||
{ value: "mh", label: "MassHealth" },
|
||||
{ value: "ddma", label: "DDMA" },
|
||||
{ value: "ddwa", label: "Delta WA" },
|
||||
{ value: "delta-ins", label: "Deltains" },
|
||||
@@ -146,6 +145,7 @@ const INSURANCE_TYPE_OPTIONS: { value: string; label: string }[] = [
|
||||
{ value: "bcbs-ma", label: "BCBS MA" },
|
||||
{ value: "metlife", label: "MetLife" },
|
||||
{ value: "altus", label: "Altus" },
|
||||
{ value: "mh", label: "MassHealth" },
|
||||
];
|
||||
|
||||
function getAutoCheck(_dobISO: string): "mh" {
|
||||
|
||||
Reference in New Issue
Block a user