/cl/ambient-review that lists all ambient recording sessions for the current organisation, with a status filter and row-level navigation to the detail review page.
Overview
The screen renders an “Ambient Review Queue” card with a status-filter dropdown in the header. Each session row shows patient name, provider name, session start date and time, and a processing-status badge. Rows are ordered bysession_start descending (most recent first). Only sessions where deleted_at IS NULL for the current organisation are fetched. Clicking any row navigates to /cl/ambient-review/:sessionId for detail review and approval actions.
Who it’s for
Requires thecl.ambient.view permission. The Approve & Generate Note and Reject actions additionally require cl.ambient.approve.
Before you start
- The
cl.ambient.viewpermission must be assigned to your role. - The current organisation must have ambient sessions recorded in
cl_ambient_sessions; otherwise the empty state is shown.
Steps
Open the ambient review queue
/cl/ambient-review. The queue loads all non-deleted sessions for your organisation, most recent first.Filter by processing status (optional)
Read the session row
Open a session for review
/cl/ambient-review/:sessionId where review and approval actions are available.Key concepts
processing statuses and their display labels, exactly as defined in code:useApproveAmbientSession) only succeeds when the session is currently in draft_ready status; the DB update is conditional on that state.
Empty state
Empty state
Error state
Error state
Loading state
Loading state
Viewing a session
The Session Detail screen is the ambient review page for a single AI-generated ambient session, accessed at/cl/ambient-review/:sessionId (permission: cl.ambient.view). The approve and reject actions require cl.ambient.approve.
The page loads session data via useAmbientSessionDetail, transcript via useAmbientTranscript, and audit events via useAmbientSessionEvents, all scoped to the current organization. The breadcrumb label is set to Session <first 8 chars of ID>. When a transcript is present, parseSOAPSections extracts Subjective, Objective, Assessment, and Plan sections displayed in a SOAP Draft card. A Raw Transcript card shows the raw text, confidence score, and word count. For sessions in draft_ready status, users with cl.ambient.approve see Approve & Generate Note and Reject action buttons. Approving calls useApproveAmbientSession; rejecting calls useCancelAmbientSession. A Session Timeline card renders an ordered event list from cl_ambient_session_events when events are present.
Note: the session must exist in cl_ambient_sessions and be accessible to your organization.
Open the session
/cl/ambient-review, then click a session in the review queue. The detail page loads session metadata, SOAP draft, transcript, and audit timeline.Review the SOAP draft
parseSOAPSections.Review the raw transcript
confidence_score (as a percentage) and word_count from the transcript record.Approve the session (approver only)
draft_ready and you have cl.ambient.approve, click Approve & Generate Note. A success toast confirms “Session approved and note generated.”Reject the session (approver only)
draft_ready and you have cl.ambient.approve, click Reject to cancel the session. A success toast confirms “Session rejected.”Review the audit timeline
cl_ambient_session_events, the Session Timeline card shows each event type, optional reason, and timestamp.SOAP sections
SOAP sections
parseSOAPSections from the transcript record. Empty sections display as ”—”.Confidence score
Confidence score
confidence_score is stored on cl_ambient_transcripts as a decimal (0–1) and displayed as a percentage. word_count is also shown.Empty and error states (detail)
Empty and error states (detail)
- Session not found or access denied: card with centered “Session not found or access denied.”
- No SOAP sections: the SOAP Draft card is not rendered.
- No transcript: the Raw Transcript card is not rendered.
- No audit events: the Session Timeline card is not rendered.
- Loading:
DetailSkeletonwith header and two grid skeletons.
Related
Clinical
Governance & parity
Documentation sources
Documentation sources
- src/routes/cl.tsx
- src/cores/cl/pages/AmbientReviewQueuePage.tsx
- src/cores/cl/ai-documentation/hooks/useAmbientSession.ts
- src/cores/cl/ai-documentation/types/ambient.ts
- src/cores/cl/pages/AmbientReviewDetailPage.tsx
- src/cores/cl/ai-documentation/hooks/useAmbientTranscript.ts