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.

The /rh/med-audits route renders MedStorageAuditsPage, which lists medication storage audit records from rh_med_storage_audits and provides a dialog to create new audits.

Overview

The route /rh/med-audits is wrapped by the outer RHViewGuard, which requires rh.dashboard.view. The page renders a search input and a compliance-status filter (All Statuses, Compliant, Non-Compliant, Corrective Action Needed). Audit records are loaded by MedStorageAuditsTable (which consumes useMedStorageAudits) and sorted by audit date descending. Clicking New Audit opens MedStorageAuditDialog for inline creation. Clicking an audit row navigates to /rh/med-audits/:id for the detail view.

Who it’s for

Outer guard: RH_PERMISSIONS.DASHBOARD_VIEW (rh.dashboard.view), applied by RHViewGuard. RH_PERMISSIONS.MED_AUDITS_CREATE (rh.med-audits.create) exists in the permissions constants but is not applied as a gate on the New Audit button in the current component.

Before you start

  • Hold rh.dashboard.view to access the page.

Steps

1

Open Med Audits

Navigate to /rh/med-audits. The page loads all medication storage audit records for your organization, sorted by audit date descending.
2

Filter by compliance status

Use the Compliance Status dropdown to show only Compliant, Non-Compliant, or Corrective Action Needed records.
3

Open an audit record

Click any row in the audit table to open the detail view at /rh/med-audits/:id.
4

Create a new audit

Click New Audit to open the creation dialog. Complete the form and submit to add a new audit record.

Key concepts

TermCode value
Compliance status optionscompliant, non_compliant, corrective_action_needed
Data tablerh_med_storage_audits

Recovery Housing

Recovery Housing references and 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.
  • src/routes/rh.tsx
  • src/cores/rh/pages/MedStorageAuditsPage.tsx
  • src/cores/rh/hooks/useMedStorageAudits.ts