Complete guide to migrate from Suki.js v1 to v2 with enhanced provider onboarding, LOINC standardization, and improved UI customization.
providerName (Required)
"Dr. Jane Marie Smith"
providerOrgId (Required)
"northwell-1234"
or "memorial-hermann-5678"
providerSpecialty (Optional)
"FAMILY_MEDICINE"
as the provider specialty. This information improves the relevance of automated suggestions and templates during onboarding.Refer to the Specialties documentation for a comprehensive list of supported specialties.prefill.noteTypeIds
approach is still supported but deprecated and will be removed in future versions. We strongly recommend migrating to the new section-based configuration using LOINC codes.Refer to the Note Sections documentation for a complete list of supported sections and corresponding LOINC codes.uiOptions
property now provides more granular control over the SDK’s user interface elements.
Field | Description | Default | Type | Required |
---|---|---|---|---|
showCloseButton | Controls visibility of the close button in the header | false | Boolean | No |
showCreateEmptyNoteButton | Controls visibility of the “Create Empty Note” button on the patient profile | false | Boolean | No |
showStartAmbientButton | Controls visibility of the “Start Ambient” button for ambient mode initiation | true | Boolean | No |
sectionEditing.enableDictation | Controls the microphone icon for voice input (activates voice-to-text feature) | false | Boolean | No |
sectionEditing.enableCopy | Controls the copy icon for text copying functionality | false | Boolean | No |
Required Provider Information
providerName
and providerOrgId
are now required fields in initializationAmbientOptions Structure
prefill.noteTypeIds
to a section-based configuration using LOINC codesTheme Property Names
primaryColor
renamed to primary
background
, secondaryBackground
, foreground
, and warning
Required Mount Options
ambientOptions
is now required when mounting the SDK (was optional in v1.x)Initialization Errors
missing-partner-details
: Provider information is incompleteno-partner-token
: Authentication token is missingno-init
: SDK not properly initializedAmbient Mode Errors
no-ambient
: Ambient mode not availableambient-in-progress
: Another ambient session is activealready-started
: Ambient session already runningLOINC Code Errors
unsupported-loinc-codes
: One or more LOINC codes are not supportedno-supported-loinc-codes
: No valid LOINC codes provided