chore(strip): verwijder behandelplan-module

AI-generatie negeerde de geregistreerde diagnose en ernst — elk plan was
generiek (reviewbevinding). Module komt terug bij de rebuild, gekoppeld
aan het nieuwe datamodel.

- app/epd/patients/[id]/behandelplan/ en /api/behandelplan/ verwijderd
- components/behandelplan/ (view, list, forms) verwijderd
- lib/ai/behandelplan-prompt.ts, lib/ai/intervention-mapping.ts,
  lib/types/behandelplan.ts verwijderd
- behandelplan-sectie uit patientdashboard, dashboard-API en
  Cortex patient-dashboard-block
- 'Doorzetten naar behandelplan' uit behandeladvies-formulier

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
colinislit
2026-07-14 22:47:58 +02:00
parent a8b02c1ef3
commit 96848ecc81
27 changed files with 3 additions and 6407 deletions

View File

@@ -2,8 +2,7 @@
import { useState, useTransition, useCallback } from 'react';
import { saveTreatmentAdvice } from '../../actions';
import { Loader2, Calendar, UserCircle, ClipboardList, Share2, CheckCircle2 } from 'lucide-react';
import Link from 'next/link';
import { Loader2, Calendar, UserCircle, ClipboardList, CheckCircle2 } from 'lucide-react';
import dynamic from 'next/dynamic';
const RichTextEditor = dynamic(
@@ -238,20 +237,6 @@ export function TreatmentAdviceForm({ patientId, intakeId, initialData, initialD
/>
</div>
<div className="rounded-lg border border-slate-200 p-4 bg-slate-50 space-y-3">
<div className="flex items-center gap-2 text-sm font-semibold text-slate-700">
<Share2 className="h-4 w-4" /> Doorzetten naar behandelplan
</div>
<p className="text-xs text-slate-500">
Gebruik dit advies als basis voor het behandelplan of koppel direct door.
</p>
<Link
href={`/epd/patients/${patientId}/behandelplan`}
className="inline-flex items-center justify-center rounded-md border border-slate-300 px-3 py-2 text-xs font-medium text-slate-700 hover:bg-white"
>
Open behandelplan
</Link>
</div>
</div>
<div className="space-y-3">