The Waitlist Management screen (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.
/pm/waitlist) provides a tabbed interface for viewing and managing the patient waitlist queue and reviewing analytics KPIs for the current organization.
Overview
The screen has two tabs: Queue and Analytics. The Queue tab renders theWaitlistQueue component, which queries pm_waitlist_entries joined to patient data (first_name, last_name, mrn, preferred_name), ordered by priority_score descending and added_at ascending. The Analytics tab renders the WaitlistAnalytics component, which surfaces summary KPIs computed from pm_waitlist_entries: total waitlisted, total promoted, total declined, average wait days for promoted entries, and a breakdown of current waitlisted entries by program type. The entire page is gated by PermissionGate with pm.waitlist.view.
Who it’s for
Requires thepm.waitlist.view permission (PM_PERMISSIONS.WAITLIST_VIEW). No additional permission is checked in the page component itself for Queue actions; SME should confirm whether sub-actions within WaitlistQueue carry their own permission gates.
Before you start
- The
pm.waitlist.viewpermission must be granted for the user’s role. - An organization must be selected; the hooks throw when no org is active.
Steps
View the waitlist queue
The Queue tab is shown by default. It displays waitlist entries sorted by priority score (highest first), with ties broken by earliest
added_at.Key concepts
Analytics KPI definitions (from code)
Analytics KPI definitions (from code)
- Total Waitlisted: count of entries with
status = 'waitlisted' - Total Promoted: count of entries with
status = 'promoted' - Total Declined: count of entries with
status = 'declined' - Average wait days: mean of (
promoted_at-added_at) in days, for entries with both timestamps;nullwhen no promoted entries exist - By Program: count of currently waitlisted entries grouped by
program_type
Related
Practice Management
Overview of the Practice Management 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/pm.tsx
- src/cores/pm/pages/WaitlistManagementPage.tsx
- src/cores/pm/hooks/useWaitlistEntries39.ts
- src/cores/pm/hooks/useWaitlistAnalytics39.ts