Skip to main content
Problem: Ambient APIs, Mobile, and Web do not share the same clinical note for a visit. Solution: Pass a UUID emr_encounter_id on Create ambient session. Store ambient_session_id and composition_id. In the Web SDK, use the same value as encounter.identifier.
This cookbook assumes you already have your Partner ID, authentication tokens, and the other prerequisites for Ambient APIs or the Web SDK.

Common mistakes

  • Omit emr_encounter_id and the note is not interoperable.
  • emr_encounter_id must be a UUID. Wait at least 1 second between creates for the same encounter.

Other cookbooks

AmbientAPI

Clear a Remote Session Conflict

End remote session, then retry.

5 min
AmbientAPIWeb SDK

Seed Patient Context for the Web SDK

Seed patient context for Web SDK.

5 min
Last modified on July 23, 2026