Quick summary
Add Form filling capabilities to a browser-based JavaScript or React app with the Suki Web SDK. If you already use the Web SDK, import the Form filling client and components from the Web SDK package. You do not need a standalone Form filling SDK install.
v3.2.0 or later, Form filling is included in @suki-sdk/js and @suki-sdk/react. You do not need to install the standalone Form filling SDK packages.
To implement Form filling, you must create a SukiAuthManager and a FormFillingClient.
In a React application, you wrap your component tree with the FormFillingProvider. You then render the FormFilling component when you want the clinician to fill forms. In a JavaScript application, you call await formFillingClient.start({ ... }) when the clinician is ready to begin Form filling.
Prerequisites
Before you begin, meet the necessary requirements in Web SDK prerequisites and obtainpartnerId and partnerToken after Partner onboarding.
You also need:
- Template IDs:
template_idUUIDs from your Suki support team forform_template_ids. Learn more about Template IDs. - Encounter ID: pass your encounter ID as
correlation_idso callbacks and webhooks map to the correct record
Integration guides
Choose the integration guide for your stack:JavaScript
Use the JavaScript package provided by Suki Web SDK to integrate Form filling in a JavaScript application (browser-based).
React
Use the React package provided by Suki Web SDK to integrate Form filling in a React application (browser-based).
form_template_ids, correlation_id, and callbacks, refer to the Configuration guide in the Form filling SDK section.