Skip to main content
Updatedv2.2.0+ You can pass optional visit and provider context under visitContext and providerContext to improve note generation. Set these when you call mount or setAmbientOptions.
Use AmbientOptions when you configure an Ambient session. Pass sections and diagnoses you already know, plus visit and provider context when you have them.
JavaScript
Set the EMR encounter UUID on encounter.identifier only. Do not put an emrEncounterId on ambientOptions. If encounter.identifier is set, that is what the SDK uses. See Encounter and Ambient interoperability.

Properties

Section[]
Array of clinical note LOINC sections to generate.
object
Optional - Patient diagnoses you already know (for example from the EHR), used when Problem-Based Charting is enabled. Each diagnosis needs one ICD10 code. Use camelCase diagnosisNote. See Existing patient diagnoses.
object
Optional - Visit details for this session. Nested object (not flat fields on ambientOptions).
object
Optional - Provider details for this session.
Last modified on August 13, 2026