Skip to main content

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.

This screen lists all MAT/MOUD enrollment records for the organization and is accessible at /cl/mat.

Overview

The MOUD Enrollments page displays a table of all medication-assisted treatment enrollment records scoped to the current organization. Each row shows the medication name, treatment phase, status badge, start date, and end date (if applicable). Rows are clickable and navigate to the enrollment detail page at /cl/mat/:enrollmentId. Users with the cl.moud.enroll permission see a “New Enrollment” button that opens MoudEnrollmentFormDialog. The list is fetched via useMoudEnrollmentList, ordered by started_on descending. An empty state is shown when no records exist; an error card is shown when the query fails.

Who it’s for

Requires the cl.moud.view permission. The “New Enrollment” button is additionally gated on cl.moud.enroll.

Before you start

  • You must hold the cl.moud.view permission to access this page.
  • To create a new enrollment you must also hold cl.moud.enroll.

Steps

1

Navigate to MAT/MOUD Enrollments

Open the Clinical core and go to /cl/mat. The page loads all enrollment records for your organization, sorted by start date (most recent first).
2

Review the enrollment list

The table shows Medication, Phase, Status (with a color-coded badge), Started date, and Ended date. A ”—” in the Ended column indicates the enrollment has no recorded end date.
3

Open an enrollment record

Click any row to navigate to the enrollment detail page at /cl/mat/:enrollmentId.
4

Create a new enrollment (if authorized)

If you hold cl.moud.enroll, click “New Enrollment” to open the enrollment form dialog. Complete the required fields and submit to create a new record.

Key concepts

The enrollment_status column uses four values rendered as badges: active (default style), paused (secondary), completed (outline), discontinued (destructive). Clinical interpretation of these statuses is not determinable from code — SME confirmation required.
When no enrollments exist, an empty state with a pill icon and “No MAT/MOUD Enrollments” message is shown. If the data fetch fails, a card with “Unable to load enrollments. Please try again.” is displayed.

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.
  • src/routes/cl.tsx
  • src/cores/cl/pages/MoudEnrollmentListPage.tsx
  • src/cores/cl/hooks/useMoudEnrollments.ts