This screen displays the detail of a single marketplace bundle at routeDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/cl/marketplace/:bundleId.
Overview
The Bundle Details page loads a marketplace bundle fromcl_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 thecl.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.browsepermission. - The bundle must exist and must not be deprecated (
is_deprecated === falsefor listing; direct URL access loads the bundle regardless). - To import, you must also hold
cl.marketplace.import.
Steps
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.Review bundle metadata
Inspect the bundle name, description, accreditation tags, clinical area tags, version, and published date.
Review bundle contents
The Bundle Contents section lists all items via
BundleItemList, showing the total item count.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.Key concepts
Bundle item types
Bundle item types
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 and clinical area tags
Accreditation and clinical area tags
Update detection
Update detection
The page compares the imported version (from
useImportedBundleKeys) against the current catalogue version. If bundle.version > importedVersion, the UpdateBanner is shown.Not-found and error states
Not-found and error states
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.
Related
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.
Documentation sources
Documentation sources
- 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