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 Standing Orders screen manages clinical standing-order protocols available for execution, accessible at /cl/settings/standing-orders.

Overview

The page reads cl_module_settings.order_sets_enabled via useClModuleSettings; if false, it renders an empty state: “Standing orders are disabled / Ask an administrator to enable order sets in CL module settings.” When enabled, it fetches standing orders via useClinicalStandingOrders and renders them through the StandingOrderList component with search filtering by name and order_type. The “New Standing Order” button (gated to cl.standing_orders.manage) opens StandingOrderDialog. Row actions from StandingOrderList include Edit (re-opens StandingOrderDialog pre-filled), Delete (opens ConfirmationDialog), and Renew (opens StandingOrderRenewDialog with defaultExpiryDays from module settings).

Who it’s for

Requires permission: cl.standing_orders.view (read); cl.standing_orders.manage (create/edit/delete)

Before you start

  • You must hold cl.standing_orders.view to access this route.
  • order_sets_enabled must be true in CL module settings for the list to display; otherwise the disabled state is shown.
  • Creating, editing, or deleting requires cl.standing_orders.manage.

Steps

1

Navigate to Standing Orders

Go to /cl/settings/standing-orders. If order sets are disabled, an empty state is shown instead of the list.
2

Search standing orders

Use the search input (placeholder: “Search standing orders…”) to filter by name or order_type.
3

Create a new standing order

Click “New Standing Order” (requires cl.standing_orders.manage). The StandingOrderDialog opens with empty fields.
4

Edit a standing order

Select “Edit” from a row action. The StandingOrderDialog opens pre-filled.
5

Renew a standing order

Select “Renew” from a row action. The StandingOrderRenewDialog opens with defaultExpiryDays pre-filled from module settings.
6

Delete a standing order

Select “Delete” from a row action. A confirmation dialog (“Delete standing order ? This action cannot be undone.”) is shown. Confirm to delete.

Key concepts

The entire list is gated behind cl_module_settings.order_sets_enabled. When false, the page shows: “Standing orders are disabled / Ask an administrator to enable order sets in CL module settings.”
When the feature is enabled but no orders exist or match the search: “No standing orders yet / Create your first standing order protocol.”
StandingOrderRenewDialog receives defaultExpiryDays from cl_module_settings.standing_order_default_expiry_days (default: 365 if not set).

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/StandingOrderManagementPage.tsx
  • src/cores/cl/hooks/useClinicalStandingOrders.ts
  • src/cores/cl/hooks/useClModuleSettings.ts