feat: migrate clients module to patients + add docs

This commit is contained in:
colinislit
2025-11-23 10:13:00 +01:00
parent 8e3925ea09
commit 6fcb9a0e7b
277 changed files with 9131 additions and 458 deletions

View File

@@ -1,41 +1,15 @@
import { redirect } from 'next/navigation';
/**
* Intake Page
* E2.S3: Placeholder for intake functionality (to be implemented in Epic 4)
* Intake Redirect
* Redirects from /epd/patients/[id]/intake to /epd/patients/[id]/intakes
*/
import { FileText } from 'lucide-react';
export default async function IntakePage({
export default async function IntakeRedirect({
params,
}: {
params: Promise<{ id: string }>;
}) {
const { id } = await params;
return (
<div className="p-6">
{/* Page Header */}
<div className="mb-6">
<h2 className="text-lg font-semibold text-slate-900">Intake</h2>
<p className="text-sm text-slate-600 mt-1">
Overzicht van intakes en intake details
</p>
</div>
{/* Placeholder */}
<div className="bg-white rounded-lg border border-slate-200 p-12 text-center">
<div className="inline-flex items-center justify-center w-16 h-16 rounded-full bg-teal-50 mb-4">
<FileText className="h-8 w-8 text-teal-500" />
</div>
<h3 className="text-lg font-semibold text-slate-900 mb-2">
Intake Module - Coming Soon
</h3>
<p className="text-sm text-slate-600 max-w-md mx-auto">
De intake functionaliteit wordt geïmplementeerd in Epic 4 en 5. Dit omvat
intake overzicht, contactmomenten, kindcheck, risicotaxatie, anamnese,
onderzoek en ROM-metingen.
</p>
</div>
</div>
);
redirect(`/epd/patients/${id}/intakes`);
}