The Patient Chart screen displays the comprehensive clinical record for one patient at routeDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/cl/charts/:chartId.
Overview
The Patient Chart page loads a singlecl_patient_charts row (filtered by organization_id) and renders a sticky PatientBanner showing patient name, MRN, allergy count, and active problem count. A contextual sidebar replaces the module navigation on desktop, providing chart section tabs with badge counts for draft notes, pending consents, and high-risk screening results. On mobile, a bottom sheet handles section navigation. A CdsAlertsPanel appears above content whenever CDS (clinical decision support) alerts are present for the chart. Quick-action buttons for new note, record vitals, new screening, and order-set activation are always available. A “Generate C-CDA” button is shown when the user holds the cl.cda.view permission.
Who it’s for
Requires permission:cl.charts.view
Individual chart sections enforce additional scoped permissions (e.g., cl.progress_note.view, cl.medications.view, cl.results.view) via PermissionGate.
Before you start
- Must hold
cl.charts.viewpermission to reach this page. - The chart must exist and not be soft-deleted (
deleted_at IS NULL).
Steps
Open a chart
Navigate to
/cl/charts, select a row, or follow any deep-link to /cl/charts/:chartId. The sticky Patient Banner loads immediately with name, MRN, allergy count, and active-problem count.Select a section tab
Use the contextual sidebar (desktop) or bottom-sheet (mobile) to switch between sections: Summary, Timeline, Notes, Assessments, COD Assessments, Treatment Plans, Orders, Labs, PDMP, Medications, Allergies, Risk, Vitals, SDOH, Care Team, Outcomes, Transitions, Peer, Discharge, Consents, Disclosures.
Act on quick actions
Use the floating
ChartQuickActions buttons to open a new note form (navigates to Notes tab), record vitals, start a risk screening, or launch an order-set activation dialog.Generate C-CDA (optional)
If
cl.cda.view is held, click “Generate C-CDA” to navigate to /cl/charts/:chartId/cda.Key concepts
Tab sections and their permissions
Tab sections and their permissions
Each tab renders a dedicated section component under a
PermissionGate. If the user lacks the tab’s permission, the section is not rendered. The active tab is persisted in the URL via the tab query parameter (managed by useTabUrlState).Badge counts on sidebar
Badge counts on sidebar
COD Indicator badge
COD Indicator badge
A
CODFlagBadge is displayed if the chart’s cod_indicator field is truthy. The COD (co-occurring disorder) indicator enables the COD Assessments tab and the COD section inside Treatment Plans.CDS Lab Monitoring
CDS Lab Monitoring
On chart load,
useCdsLabMonitoring is evaluated for the chart. If evaluation fails, a destructive alert is shown. Any active CDS alerts are displayed in the CdsAlertsPanel above the tabbed content.Error and empty states
Error and empty states
If the chart fails to load, a destructive card with a sanitized error message is shown. If the chart ID is not found or is deleted, a “Chart not found” empty-state card is shown.
Related
Clinical
Overview of the Clinical core.
Governance & parity
Documentation coverage and governance.
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/cl.tsx
- src/cores/cl/pages/PatientChartPage.tsx
- src/cores/cl/hooks/useChartDetail.ts