diff --git a/apps/Frontend/src/components/layout/chatbot.tsx b/apps/Frontend/src/components/layout/chatbot.tsx index d382b422..a2c44c84 100644 --- a/apps/Frontend/src/components/layout/chatbot.tsx +++ b/apps/Frontend/src/components/layout/chatbot.tsx @@ -16,6 +16,13 @@ import { import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; +import { + Select, + SelectContent, + SelectItem, + SelectTrigger, + SelectValue, +} from "@/components/ui/select"; import { useLocation } from "wouter"; import { cn } from "@/lib/utils"; import { apiRequest } from "@/lib/queryClient"; @@ -92,6 +99,16 @@ function mdyToISO(mdy: string): string { return `${m[3]}-${m[1]!.padStart(2, "0")}-${m[2]!.padStart(2, "0")}`; } +const INSURANCE_TYPE_OPTIONS: { value: string; label: string }[] = [ + { value: "mh", label: "MassHealth" }, + { value: "cmsp", label: "CMSP" }, + { value: "ddma", label: "DDMA" }, + { value: "delta-ins", label: "Delta Dental" }, + { value: "united-sco", label: "United SCO" }, + { value: "tufts-sco", label: "Tufts SCO" }, + { value: "cca", label: "CCA" }, +]; + function getAutoCheck(dobISO: string): "mh" | "cmsp" { const [y, m, d] = dobISO.split("-").map(Number); const today = new Date(); @@ -981,6 +998,26 @@ export function ChatbotButton() { className="h-7 text-xs bg-white" /> +
+ + +
{eligibilityIdData.patient?.insuranceProvider && (

{eligibilityIdData.patient.insuranceProvider}

)}