The Item Detail screen shows a single in-basket item with its full metadata and activity history atDocumentation 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/in-basket/:itemId.
Overview
The page loads a single in-basket item viauseInbasketItemDetail, which returns both the item record and its activity log. A main detail card (spanning 2 of 3 columns) shows item type (human-readable label from TYPE_LABELS), classification, priority badge, status badge, creation date, optional due date, and optional assignee. If the item type is chart_message and the payload contains a conversation_id, an Open Message Thread button deep-links to /pm/messaging/:conversationId. If chart_id is set, a View Patient Chart link navigates to /cl/charts/:chartId. Users with cl.inbasket.manage see a status select dropdown (new, read, in_progress, completed, deferred, escalated). Users with cl.inbasket.escalate additionally see an Escalate button that sets priority to urgent, records escalated_at, and transitions status to escalated. An Activity timeline card (1 column) shows each logged cl_inbasket_item_activity entry in chronological order.
Who it’s for
Requires permissioncl.inbasket.view. Additional actions require:
cl.inbasket.manage— update item statuscl.inbasket.escalate— escalate item priority and status
Before you start
- You must have
cl.inbasket.view. - The item must exist in
cl_inbasket_itemsand be accessible to your organization.
Steps
Open the item
Navigate to
/cl/in-basket, then click an item row. The detail page loads the item and activity timeline.Review item metadata
The main card shows item type, classification, priority badge, status badge, creation date, optional due date, and optional assignee.
Open the linked patient chart (if available)
If
chart_id is set, click View Patient Chart to navigate to /cl/charts/:chartId.Open the linked message thread (chart_message type only)
If the item type is
chart_message and a conversation_id is present in the payload, click Open Message Thread to navigate to /pm/messaging/:conversationId.Update status (manage permission required)
Use the status dropdown (requires
cl.inbasket.manage) to transition the item through new → read → in_progress → completed / deferred / escalated. Setting completed also records completed_at.Key concepts
Item types
Item types
cosign_request, lab_review, refill_request, chart_message, referral_response, cds_alert. The human-readable label is resolved from TYPE_LABELS. Only chart_message items show the message thread deep-link.Priority levels
Priority levels
low, normal, high, urgent, stat. Priority stat renders a destructive badge; urgent renders a secondary badge; others render outline.Activity timeline
Activity timeline
Each entry in
cl_inbasket_item_activity is displayed with activity_type (formatted: underscores replaced with spaces) and activity_at timestamp. Activity is created automatically on status changes and escalations via useUpdateInbasketItem.Empty and error states
Empty and error states
- Load error: destructive
Alertwith sanitized error message and a back link to/cl/in-basket. - Item not found: centered
Inboxicon with “Item not found” heading and back link. - No activity: “No activity recorded yet.”
- Loading: skeleton for the header and two-column grid.
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/InBasketItemDetailPage.tsx
- src/cores/cl/hooks/useInbasketItemDetail.ts
- src/cores/cl/hooks/useInbasketItemMutation.ts
- src/cores/cl/types/inbasket.ts