The Audit Trail screen displays a searchable, date-filtered table of billing change history for your organization 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.
/pm/audit.
Overview
The page defaults to the last 30 days. Users select a From and To date via date inputs; theuseAuditTrailList hook re-fetches on filter change, scoped to currentOrganization.id. Each row shows the event timestamp, action verb (insert/update/delete), the entity type (Claim, Charge, Payment, or raw table name), a truncated Record ID, and a truncated User ID. If no events exist in the selected range, an empty state is shown. Access is gated by pm.audit.view; if lacking that permission a destructive alert is shown instead of the table.
Who it’s for
Requires permissionpm.audit.view (checked via useHasPermission; if absent, an access-denied alert is rendered instead of the table).
Before you start
- You need the
pm.audit.viewpermission. - The date range defaults to the last 30 days; adjust as needed for compliance reviews or investigations.
Steps
Set date range
Use the From and To date inputs to scope the results. The table refreshes automatically when dates change.
Key concepts
| Term | Meaning in code |
|---|---|
action | The database operation: insert, update, or delete |
table_name | Source table; displayed as Claim, Charge, or Payment for known tables |
record_id | UUID of the affected record (truncated to 8 chars in UI) |
changed_by | UUID of the user who made the change (truncated to 8 chars in UI) |
changed_at | Timestamp of the change event |
Related
Practice Management
Practice Management core 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/pm.tsx
- src/cores/pm/pages/AuditTrailPage.tsx
- src/cores/pm/hooks/useAuditTrailList.ts