Skip to main content

Re-ambient sessions

Each ambient session creates a new note, even if the patient and encounter identifiers are the same. To continue working on an existing note:
1

Open existing note

Open the existing note in the SDK UI.
2

Initiate re-ambient

Start a re-ambient session from the note interface.
3

Intelligent merge

The SDK intelligently merges the new session content with existing note content, allowing seamless continuation.

Session recovery

If the app crashes or a session is abandoned (not cancelled or submitted), the Web SDK automatically recovers the last ambient session when the app loads again.

What gets recovered

The last recorded audio is restored and made available for processing.
Session metadata (encounter details, timestamps, configuration) is reattached to maintain continuity.
The user is prompted to either generate the note or discard the session. If the user chooses to generate the note, the SDK proceeds with note generation in the background.

Best practices

Always submit or cancel the active ambient session when users navigate away from the encounter. This prevents unintended session recoveries.Recommendation: Show a confirmation dialog before navigation so users can decide whether to continue or discard the session.

Next steps

Last modified on March 23, 2026