'use client'; /** * Client Sidebar Navigation Component * E2.S3: Context-aware sidebar with tabs for client dossier */ import Link from 'next/link'; import { usePathname } from 'next/navigation'; import { ChevronLeft, LayoutDashboard, User, ClipboardList, FileText, Stethoscope, Calendar, FileBarChart, } from 'lucide-react'; interface ClientSidebarProps { patientId: string; } interface NavItem { label: string; href: string; icon: React.ElementType; } export function ClientSidebar({ patientId }: ClientSidebarProps) { const pathname = usePathname(); // Navigation items const navItems: NavItem[] = [ { label: 'Dashboard', href: `/epd/patients/${patientId}`, icon: LayoutDashboard, }, { label: 'Basisgegevens', href: `/epd/patients/${patientId}/basisgegevens`, icon: User, }, { label: 'Screening', href: `/epd/patients/${patientId}/screening`, icon: ClipboardList, }, { label: 'Intake', href: `/epd/patients/${patientId}/intakes`, icon: FileText, }, { label: 'Diagnose', href: `/epd/patients/${patientId}/diagnose`, icon: Stethoscope, }, { label: 'Behandelplan', href: `/epd/patients/${patientId}/behandelplan`, icon: Calendar, }, { label: 'Rapportage', href: `/epd/patients/${patientId}/rapportage`, icon: FileBarChart, }, ]; return ( ); }