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)
|
// Determine siteKey (defaults to DDMA when no payer is specified)
|
||||||
const siteKey = resolveSiteKey(
|
const siteKey =
|
||||||
patient?.insuranceProvider ?? null,
|
patient?.insuranceProvider || c.insuranceHint
|
||||||
c.insuranceHint ?? null
|
? resolveSiteKey(patient?.insuranceProvider ?? null, c.insuranceHint ?? null)
|
||||||
);
|
: "DDMA";
|
||||||
|
|
||||||
const label = patient
|
const label = patient
|
||||||
? `${patient.firstName ?? ""} ${patient.lastName ?? ""}`.trim()
|
? `${patient.firstName ?? ""} ${patient.lastName ?? ""}`.trim()
|
||||||
|
|||||||
@@ -134,7 +134,6 @@ function mdyToISO(mdy: string): string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const INSURANCE_TYPE_OPTIONS: { value: string; label: string }[] = [
|
const INSURANCE_TYPE_OPTIONS: { value: string; label: string }[] = [
|
||||||
{ value: "mh", label: "MassHealth" },
|
|
||||||
{ value: "ddma", label: "DDMA" },
|
{ value: "ddma", label: "DDMA" },
|
||||||
{ value: "ddwa", label: "Delta WA" },
|
{ value: "ddwa", label: "Delta WA" },
|
||||||
{ value: "delta-ins", label: "Deltains" },
|
{ value: "delta-ins", label: "Deltains" },
|
||||||
@@ -146,6 +145,7 @@ const INSURANCE_TYPE_OPTIONS: { value: string; label: string }[] = [
|
|||||||
{ value: "bcbs-ma", label: "BCBS MA" },
|
{ value: "bcbs-ma", label: "BCBS MA" },
|
||||||
{ value: "metlife", label: "MetLife" },
|
{ value: "metlife", label: "MetLife" },
|
||||||
{ value: "altus", label: "Altus" },
|
{ value: "altus", label: "Altus" },
|
||||||
|
{ value: "mh", label: "MassHealth" },
|
||||||
];
|
];
|
||||||
|
|
||||||
function getAutoCheck(_dobISO: string): "mh" {
|
function getAutoCheck(_dobISO: string): "mh" {
|
||||||
|
|||||||
Reference in New Issue
Block a user