import { Suspense } from 'react'; import { Plus } from 'lucide-react'; import { getPatients } from './actions'; import { PatientList } from './components/patient-list'; import Link from 'next/link'; interface SearchParams { search?: string; } export default async function PatientsPage({ searchParams, }: { searchParams: Promise; }) { const params = await searchParams; return (
{/* Page Header */}

Patiënten (FHIR)

FHIR-compliant patiëntenbeheer

Nieuwe patiënt
{/* Patient List */} Loading patients...
}> ); } async function PatientListWrapper({ searchParams }: { searchParams: SearchParams }) { const patients = await getPatients({ search: searchParams.search, }); return ; }