onSubmit callback.
The example creates a FormFillingClient with useMemo, wraps the app with FormFillingProvider, and renders FormFilling only while a session is active. A sibling component uses useFormFilling() to track the session state and error without letting a stale error hide an active session.
React
Pass one
form_template_id to skip the selection screen. Pass two or more to show multi-form selection. Refer to Session workflow for more details.Next steps
Configuration examples - Minimal auth and client setup. EHR handoff - Mapstructured_data to your EHR.
FormFillingClient - useFormFilling() return values.