feat(eligibility-check) - appointment page redirecting to eligibility page

This commit is contained in:
2025-09-21 03:47:17 +05:30
parent 92329c2a54
commit e8151ce430
4 changed files with 107 additions and 4 deletions

View File

@@ -15,8 +15,6 @@ import {
ChevronRight,
Move,
Trash2,
ShieldCheck,
FileText,
CreditCard,
ClipboardList,
StickyNote,
@@ -95,6 +93,8 @@ export default function AppointmentsPage() {
appointmentId?: number;
}>({ open: false });
const [, setLocation] = useLocation();
// Create context menu hook
const { show } = useContextMenu({
id: APPOINTMENT_CONTEXT_MENU_ID,
@@ -652,7 +652,7 @@ export default function AppointmentsPage() {
// -------------------
const handleCheckEligibility = (appointmentId: number) => {
console.log(`Checking eligibility for appointment: ${appointmentId}`);
setLocation(`/insurance-status?appointmentId=${appointmentId}`);
};
const handleClaimsPreAuth = (appointmentId: number) => {