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, use the same 36-character limit ().
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 July 23, 2026