/cl/treatment-plans shows all treatment plans whose review is due within a selected time window and provides entry points for creating a new plan.
Overview
The page renders a header with a “New Plan” button (permission-gated tocl.treatment_plan.create) and three filter tabs: 30 Days, 60 Days, and 90 Days. The useTreatmentPlanList hook fetches plans whose review_due_date falls within the selected window. Each plan row is a link to /cl/treatment-plans/:planId and shows: plan type (formatted from plan_type), chart number, service line, an overdue badge (destructive) when review_due_date is in the past, a relative due-date string otherwise, and a status badge (draft / active / signed). Clicking “New Plan” opens a TemplateSelectStep dialog; the user may select a template (navigates to /cl/treatment-plans/new with state.templateId) or choose a blank plan (navigates to /cl/treatment-plans/new).
Who it’s for
Requires permission:cl.treatment_plan.view
Creating a new plan additionally requires: cl.treatment_plan.create
Before you start
- Must hold
cl.treatment_plan.view. - Treatment plans are associated with patient charts via
cl_patient_charts.
Steps
Select the review window
Identify overdue plans
review_due_date in the past show a red “Overdue” badge. Plans with a future due date show a relative time string (e.g., “due in 5 days”).Open a plan
/cl/treatment-plans/:planId.Create a new plan (if permitted)
/cl/treatment-plans/new.Key concepts
Review window filter
Review window filter
daysFilter state (30, 60, or 90). useTreatmentPlanList receives this value and returns plans due within that many days.Plan status badges
Plan status badges
draft (outline badge), active (secondary badge), signed (default badge). Any unrecognized status falls back to outline.Template selection
Template selection
TemplateSelectStep dialog offers a template picker or a blank-plan option. Selecting a template passes state.templateId in navigation state to the new-plan route.Error and empty states
Error and empty states
Detail view
The Treatment Plan screen at/cl/treatment-plans/:planId displays the full detail of a single treatment plan, including goals, interventions, signatures, caregiver participation, and goal-progress visualizations.
Overview
The page loads a plan byplanId via useTreatmentPlanDetail and also loads the associated chart via useChartDetail. The header shows plan type (formatted from plan_type), service line, effective date, review due date, and status badge. The plan is editable when status is draft or active. A GoalProgressCharts component renders goal-progress visualization. A CaregiverParticipationSection shows caregiver role and participation timestamp. A Patient Signature card shows whether the patient has signed (and if they agreed or disagreed, showing “appeal rights provided” on disagreement). The Goals card lists goals as collapsible rows showing goal_text_patient_words, measurable_criteria, frequency, duration, target date, progress_pct, and status badge; each goal expands to show its interventions (description, frequency, modality). A CODTreatmentPlanSection appears based on the chart’s cod_indicator. TreatmentPlanSignatures renders the signature section at the bottom.
Who it’s for
Requires permission:cl.treatment_plan.view
Additional actions require: cl.treatment_plan.create (Add Goal, Add Intervention), cl.treatment_plan.patient_sign (Record Patient Signature), cl.treatment_plan.event_automation (Record Life Event).
Before you start
- Must hold
cl.treatment_plan.view. - Navigate here from the Treatment Plans list at
/cl/treatment-plansor from the Treatment Plans tab on a Patient Chart.
Steps
Open a treatment plan
/cl/treatment-plans and click a plan row, or click a plan from the Treatment Plans tab on a Patient Chart. The plan header loads with type, service line, dates, and status badge.Review plan header and progress
GoalProgressCharts component shows progress visualization for all goals.Review caregiver participation
CaregiverParticipationSection shows caregiver role and the timestamp of recorded participation when applicable.Review patient signature status
cl.treatment_plan.patient_sign.Expand goals to see interventions
Record a life event (if permitted)
cl.treatment_plan.event_automation can click “Record Life Event” to open LifeEventRecordForm.Review signatures
TreatmentPlanSignatures section at the bottom shows signature records for the plan.Key concepts
Plan editability
Plan editability
isEditable = true) only when status is draft or active. When signed, superseded, or discontinued, goal and intervention Add buttons are hidden and patient-signature capture is disabled.Goal status values
Goal status values
not_started (outline), in_progress (secondary), partially_met (secondary), met (default), revised (outline), discontinued (destructive). Goals display goal_text_patient_words as the primary text and measurable_criteria as secondary.COD Treatment Plan Section
COD Treatment Plan Section
cod_indicator is truthy, a CODTreatmentPlanSection is rendered between the goals and the signatures. SME: confirm COD documentation requirements.Error and empty states
Error and empty states
Related
Clinical
Governance & parity
Documentation sources
Documentation sources
- src/routes/cl.tsx
- src/cores/cl/pages/TreatmentPlanListPage.tsx
- src/cores/cl/pages/TreatmentPlanDetailPage.tsx
- src/cores/cl/hooks/useChartDetail.ts