2.1 KiB
2.1 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Changed - 2025-11-22
Route Consolidatie: /clients/ → /patients/
Migratie: Consolideer beide routes naar één FHIR-compliant /patients/ route met Custom API voor Intakes.
Wijzigingen:
-
Routes: Alle
/epd/clients/*routes zijn gemigreerd naar/epd/patients/*/epd/clients→/epd/patients/epd/clients/[id]→/epd/patients/[id]/epd/clients/[id]/intakes→/epd/patients/[id]/intakes/epd/clients/[id]/intakes/[intakeId]→/epd/patients/[id]/intakes/[intakeId]
-
Backward Compatibility:
- Catch-all redirect route toegevoegd:
/epd/clients/[...path]/route.ts - Alle oude
/clients/URLs worden automatisch doorgestuurd naar/patients/ - Query parameters worden behouden tijdens redirects
- Catch-all redirect route toegevoegd:
-
Intake Module:
- Volledige Intake module gemigreerd van
/clients/naar/patients/ - Custom API geïmplementeerd:
/api/intakes - Type definitions toegevoegd:
lib/types/intake.ts - Server actions refactored naar API-based:
app/epd/patients/[id]/intakes/actions.ts
- Volledige Intake module gemigreerd van
-
Code Archive:
- Oude
/clients/code gearchiveerd naarapp/epd/_archive/clients_backup_20251122/ - Alleen redirect routes blijven actief voor backward compatibility
- Oude
Breaking Changes:
- Nieuwe code moet
/epd/patients/routes gebruiken - Oude
/epd/clients/routes werken nog via redirects, maar worden deprecated
Migration Guide:
Zie docs/migratie-clients-naar-patients.md voor volledige migratie details.
Files Changed:
app/epd/patients/[id]/intakes/- Nieuwe Intake moduleapp/epd/clients/[...path]/route.ts- Catch-all redirectapp/epd/clients/page.tsx- Root redirectlib/types/intake.ts- Type definitionsapp/api/intakes/- Custom API routesdocs/specs/UI/bouwplan-mini-epd-v1.0.md- Route references updated