SukiAuthManager and FormFillingClient in JavaScript and React.
Before you begin, prefer forms. Obtain static template_id UUIDs from your Suki support team and/or define partner schema entries. Refer to Form filling templates and Dynamic Form filling.
What each step does
1
Authenticate
Create
SukiAuthManager with your partnerId, partnerToken, and environment. The SDK signs in before the Form filling interface can open.2
Create the Client
Pass the auth manager to
new FormFillingClient({ authManager }). Create this once per page and reuse it for every session. Optionally add onError to log configuration or runtime errors.3
Open a Session
Call
client.start() or render FormFilling with forms and onSubmit. Pass your encounter ID as correlation_id so results map to the right patient record. In JavaScript, also pass rootElement and give that container explicit height.- JavaScript
- React
HTML
JavaScript
Next steps
Configuration - fullstart() and FormFilling field reference.
Quickstart - A full walkthrough.
Basic usage example - Session status UI with useFormFilling().