The Edit Report page (Documentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/reports/:reportId/edit) allows users to modify the metadata and SQL query of an existing saved report definition.
Overview
No permission gate is on this route. The page loads the report definition viauseReportDefinition using the :reportId parameter. Updates are applied via useUpdateReport. A draft state (draftOverrides) holds unsaved edits to name, description, category, and querySql before the user saves. useEntityBreadcrumb updates the breadcrumb with the report’s name. The form includes text inputs for name and description, a Select for report_category, and a Textarea for the SQL query. Saving navigates back to the reports list on success.
Who it’s for
No explicit permission gate on this route.Before you start
- Navigate from the Reports page (
/reports) by opening a report and clicking its edit action. - Understand the SQL syntax expected by the report query field.
Steps
Open the report editor
Navigate to
/reports/:reportId/edit. The form pre-fills with the existing report’s data.Related
Platform Foundation
Platform Foundation overview.
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/platform.tsx
- src/platform/reports/EditReportPage.tsx
- src/platform/reports/useReportDefinition.ts
- src/platform/reports/useReportMutation.ts