Treatment Plan — technical overview
Scaffolded stub — replace with proper documentation when this module is next touched.
Auto-discovered facts about the treatment_plan module. See the module's own notes at backend/app/modules/treatment_plan/CLAUDE.md for context the scaffold could not infer.
API surface
DELETE /api/v1/treatment_plan/treatment-plans/{plan_id}DELETE /api/v1/treatment_plan/treatment-plans/{plan_id}/items/{item_id}GET /api/v1/treatment_plan/treatment-plansGET /api/v1/treatment_plan/treatment-plans/patient/{patient_id}GET /api/v1/treatment_plan/treatment-plans/pipelineGET /api/v1/treatment_plan/treatment-plans/{plan_id}PATCH /api/v1/treatment_plan/treatment-plans/{plan_id}/items/reorderPATCH /api/v1/treatment_plan/treatment-plans/{plan_id}/items/{item_id}/completePATCH /api/v1/treatment_plan/treatment-plans/{plan_id}/statusPOST /api/v1/treatment_plan/treatment-plansPOST /api/v1/treatment_plan/treatment-plans/{plan_id}/closePOST /api/v1/treatment_plan/treatment-plans/{plan_id}/confirmPOST /api/v1/treatment_plan/treatment-plans/{plan_id}/contact-logPOST /api/v1/treatment_plan/treatment-plans/{plan_id}/generate-budgetPOST /api/v1/treatment_plan/treatment-plans/{plan_id}/itemsPOST /api/v1/treatment_plan/treatment-plans/{plan_id}/link-budgetPOST /api/v1/treatment_plan/treatment-plans/{plan_id}/reactivatePOST /api/v1/treatment_plan/treatment-plans/{plan_id}/reopenPOST /api/v1/treatment_plan/treatment-plans/{plan_id}/sync-budgetPUT /api/v1/treatment_plan/treatment-plans/{plan_id}PUT /api/v1/treatment_plan/treatment-plans/{plan_id}/items/{item_id}
Frontend
backend/app/modules/treatment_plan/frontend/pages/treatment-plans/index.vue→/treatment-plansbackend/app/modules/treatment_plan/frontend/pages/treatment-plans/[id].vue→/treatment-plans/[id]backend/app/modules/treatment_plan/frontend/pages/treatment-plans/new.vue→/treatment-plans/new
Permissions
plans.read, plans.write, plans.confirm, plans.close, plans.reactivate
See ./permissions.md for the full role mapping.
Events
- Emits:
treatment_plan.budget_sync_requested,treatment_plan.created,treatment_plan.status_changed,treatment_plan.treatment_added,treatment_plan.treatment_completed,treatment_plan.treatment_removed - Subscribes:
appointment.completed,budget.accepted,budget.rejected,budget.renegotiated,odontogram.treatment.performed
See ./events.md for the per-event detail (when the module participates in the event bus).
See also
- Module CLAUDE notes:
backend/app/modules/treatment_plan/CLAUDE.md - Documentation portal contract