Quick summary
Create an ambient session with an
emr_encounter_id so Suki can share one clinical note across ambient products. Store the returned identifiers, seed patient context before opening the Web SDK, reuse the Session Group ID to continue or re-ambient on another product, and use note-level Ambient APIs to retrieve the latest note content.1
Create an Ambient Session
Create an ambient session with an
emr_encounter_id.2
Seed Patient Context
Seed patient context when the Web SDK may open the note later.
3
Capture Audio
Capture audio on one ambient modality.
4
Continue or Re-Ambient
Continue or re-ambient on another ambient product using the same
emr_encounter_id and encounter_id.5
Retrieve the Shared Clinical Note
Retrieve the shared clinical note content and structured data.
Example flow
To retrieve the latest note text, use the following API:Step 1: Create an interoperable Ambient session
Create a new session with the Create ambient session API to create a new interoperable ambient session. For the new session to be interoperable, pass:emr_encounter_id: your EMR or EHR encounter UUID for the patient visitencounter_id: the Session Group ID when you continue an existing note. Omit this on the first session if you want Suki to generate oneambient_session_id: optional UUID for this recording session
Example request
Example response
JSON
Step 2: Store identifiers returned by the API
After you create the new ambient session using the REST API, store the identifiers in your application.Store both the
encounter_id and the composition_id.The composition_id identifies the shared clinical note. The encounter_id is required to create additional ambient sessions for that note.Step 3: Seed patient context for Web SDK
Headless ambient products can start a session with only anemr_encounter_id. The Web SDK needs patient profile fields to show the patient profile page.
After you create the session, use the Seed ambient session context API to include patient details:
Example request
patient_idnamedobsex
If a headless ambient session starts with only
emr_encounter_id and later opens in the Web SDK without patient details, the Web SDK may launch without a patient profile.Step 4: Capture audio on the first modality
Use the ambient modality that fits the first part of the visit: Record and complete that ambient session the same way you normally would for that product.Step 5: Continue or re-Ambient on another modality
To continue the same clinical note from a different ambient modality, create a new ambient session and pass the following identifiers:- The same
emr_encounter_id - The same
encounter_idas the previous session
Scenario example
- Mobile SDK starts ambient with
kEmrEncounterId = A(maps toemr_encounter_id) andkSessionId = G(maps toencounter_id, the Session Group ID). - Create returns
sessionIdand, for online creates,compositionId = N. Store Session Group IDGfrom thekSessionIdyou passed.compositionIdis the note id. It is not the Session Group ID. - Later, the Web SDK or Ambient APIs create another session with
emr_encounter_id = Aandencounter_id = G. - Both ambient sessions belong to clinical note
N.