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 Content Marketplace screen lets users browse and preview platform-curated clinical content bundles at route /cl/marketplace.

Overview

The Content Marketplace displays all non-deprecated bundles from the cl_marketplace_bundles table, ordered by published_at descending. Bundles are global records with no organization_id — any authenticated user with the cl.marketplace.browse permission can browse them. The catalogue is displayed as a responsive card grid (sm:grid-cols-2, xl:grid-cols-3). A filter sidebar (MarketplaceFilterSidebar) allows narrowing by accreditation tag, clinical area tag, and free-text search. Import status — indicating whether your organization already has a version of a bundle — is surfaced on each MarketplaceBundleCard via the useImportedBundleKeys hook. Selecting a card navigates to the bundle detail page at /cl/marketplace/:bundleId.

Who it’s for

Requires permission cl.marketplace.browse.

Before you start

You must hold the cl.marketplace.browse permission. The marketplace catalogue is read-only for browse users; importing a bundle requires the separate cl.marketplace.import permission (handled at /cl/marketplace/imports).

Steps

1

Open the Content Marketplace

Navigate to /cl/marketplace. The catalogue loads all non-deprecated bundles, ordered by most recently published.
2

Filter bundles (optional)

Use the filter sidebar on the left to narrow by accreditation tags (Joint Commission, CARF, SAMHSA, NCQA), clinical area tags (SUD, MH, Co-Occurring, Crisis, Residential, Outpatient, IOP/PHP, MAT/MOUD), or enter a search term to match against bundle name and description.
3

Review a bundle card

Each MarketplaceBundleCard shows the bundle name, description, and accreditation/clinical-area tags. If your organization has already imported a version, the imported version number is shown.
4

View bundle details

Click a card to navigate to /cl/marketplace/:bundleId for the full bundle detail, including its items list.
5

Clear filters

If no bundles match the current filters, an empty state appears with a “Clear filters” action that resets all filters to {}.

Key concepts

Each bundle has a bundle_key (stable identifier) and an integer version. Subsequent bundle versions reuse the same bundle_key with a higher version number. The catalogue displays only the non-deprecated entries.
The useImportedBundleKeys hook returns a Map of bundle_key to the currently imported record for your organization. A badge on the card reflects the imported version so you can tell if a newer version is available.
If the bundles query or the imported-keys query errors, an “Error Loading Marketplace” empty state appears with a Retry action. If filters match nothing, a “No bundles match these filters” state appears with a Clear filters action.

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