MountOptions type to create a mount options object.
JavaScript
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
🚀 Check out the new Ambient interoperability feature in the Headless Web SDK.
MountOptions type represents the configuration options for mounting the SDK to a DOM element
MountOptions type to create a mount options object.
type MountOptions = {
rootElement: HTMLElement;
encounter: Encounter;
uiOptions?: UIOptions;
ambientOptions?: AmbientOptions;
};
Hide properties
Encounter payload. patient.identifier is required. encounter.identifier is optional. Each value must be at most 36 characters () when present.encounter.identifier, use a UUID or non-UUID value, at most 36 characters. The Web SDK maps that value to emr_encounter_id for ambient interoperability and encounter note retrieval. Refer to Encounter type definition for more information.
encounter.practitionerFhirId (FHIR practitioner id) together with encounter.identifier (FHIR encounter id) when you initialize and when you mount if you want Patient Summary on the headed patient profile. Generation runs at login from the initialize options. setEncounter loads another encounter’s summary. Initialize again to generate for a different practitioner. Refer to Patient Summary in Web SDK for more information.
Was this page helpful?
Suggestions