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 displays the detail of a single marketplace bundle at route /cl/marketplace/:bundleId.

Overview

The Bundle Details page loads a marketplace bundle from cl_marketplace_bundles by bundleId and its items from cl_marketplace_bundle_items via separate hooks. The page header shows the bundle name, optional description, accreditation_tags (outline badges), clinical_area_tags (secondary badges), version number, and published timestamp. An Import button is visible to users with the cl.marketplace.import permission. If a prior version of this bundle has already been imported (tracked by bundle_key in cl_marketplace_imports), and the catalogue version is higher, an UpdateBanner is shown prompting the user to view the update. Clicking Import or View Update opens the ImportPreviewSheet, which shows the bundle contents and confirms the import via useImportMarketplaceBundle. A BundleItemList below the header lists all items with their count.

Who it’s for

Requires the cl.marketplace.browse permission to view this page. The Import button is additionally gated on the cl.marketplace.import permission.

Before you start

  • You must hold the cl.marketplace.browse permission.
  • The bundle must exist and must not be deprecated (is_deprecated === false for listing; direct URL access loads the bundle regardless).
  • To import, you must also hold cl.marketplace.import.

Steps

1

Open a bundle

Navigate from /cl/marketplace and select a bundle, or follow a direct link to /cl/marketplace/:bundleId. The page loads bundle metadata and items.
2

Review bundle metadata

Inspect the bundle name, description, accreditation tags, clinical area tags, version, and published date.
3

Review bundle contents

The Bundle Contents section lists all items via BundleItemList, showing the total item count.
4

Check for an available update

If an UpdateBanner appears, a newer version of this bundle is available compared to the version already imported by your organization. Click View Update to preview changes.
5

Import the bundle

Click Import (requires cl.marketplace.import) to open the ImportPreviewSheet. Review items and confirm the import. On success, the sheet closes and the import is recorded in cl_marketplace_imports for the organization.

Key concepts

Bundles can contain items of the following types: assessment_template, note_template, cds_rule, pathway_definition, treatment_plan_template, goal_bank_entry, order_set, locus_instrument, group_curriculum, screening_instrument.
Accreditation tags include Joint Commission, CARF, SAMHSA, and NCQA. Clinical area tags include SUD, MH, Co-Occurring, Crisis, Residential, Outpatient, IOP/PHP, and MAT/MOUD.
The page compares the imported version (from useImportedBundleKeys) against the current catalogue version. If bundle.version > importedVersion, the UpdateBanner is shown.
A bundle load error renders “Error Loading Bundle” with a sanitized message and a back button. A missing bundle renders “Bundle not found.” with a back button.

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/MarketplaceBundleDetailPage.tsx
  • src/cores/cl/hooks/useMarketplaceBundles.ts
  • src/cores/cl/hooks/useMarketplaceBundleItems.ts
  • src/cores/cl/hooks/useMarketplaceImports.ts
  • src/cores/cl/types/marketplace.ts