Skip to main content
This example shows how to dynamically set the encounter data in the Suki React Web SDK. Encounter data contains patient and provider information. You pass it to the SukiAssistant component to pre-populate the React Web SDK. Identifiers:
  • patient.identifier is required and must be at most 36 characters ().
  • encounter.identifier is optional. If you set it, keep it to at most 36 characters (). From Web SDK v3.2.0, use a UUID: the SDK maps this value to emr_encounter_id for ambient interoperability and encounter note retrieval. Refer to Encounter type definition for more information.
Dynamic encounter: You can update the encounter prop after the component loads. When you pass new encounter data, the Web SDK updates it automatically for note generation.

Code example

The example below demonstrates how to dynamically set the encounter data in the Suki React Web SDK.

Next steps

Refer to Ambient events to learn more about how to track and manage ambient interactions in the web SDK.
Last modified on August 13, 2026