The Data Onboarding wizard (Documentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/settings/imports/onboarding) guides administrators through a sequential, session-persisted import flow covering the essential entity types needed to set up a new organisation on the platform.
Overview
The page is gated bypf.onboarding.manage. It creates or resumes an onboarding session stored in Supabase, identified by an optional :sessionId parameter. If no session ID is present in the URL, a new session is auto-created and the user is redirected to the persisted URL. The wizard uses a timeline layout via WizardShell with five configurable steps: Organization Settings (pf_organization_settings), Sites (pf_site), Employees (hr_employee), Patients (pm_patient), and Financial Data (fa_account). Each step can be completed via CSV import (handled by OnboardingStepContent) or skipped. Steps with dependsOn are blocked until prerequisite steps complete. A rollback action is available for completed steps via useRollbackStep. After all steps are processed or skipped, the final Complete step summarises outcomes and offers navigation to import history.
Who it’s for
Requires permissionpf.onboarding.manage.
Before you start
- You must hold
pf.onboarding.manage. - Prepare CSV files for each entity type you intend to import. Column requirements vary by entity type — consult the import dialogs on each step.
- Understand the dependency chain: Sites must be completed before Employees or Patients.
Steps
Start the wizard
Navigate to
/settings/imports/onboarding. A new session is created and you are redirected to a session URL.Complete Organization Settings (required)
Step 0 is required. Upload or configure organisation settings data. This step must be completed before Financial Data, and is a dependency for subsequent steps.
Import Employees, Patients, and Financial Data
Complete or skip each remaining step. Skipping a step records it as
skipped in the session; the step remains available for completion later by navigating back.Rollback a step (if needed)
On a completed step, click Rollback step and confirm the dialog to revert the step’s session status.
Key concepts
Session persistence
Session persistence
Session state is stored in Supabase. If you close the browser and return to the session URL, progress is restored from
existingSession.step_status.Step dependencies
Step dependencies
Steps with
dependsOn show a dependency message and cannot be navigated to until their prerequisite steps are completed. The stepper enforces this check.Rollback
Rollback
Rollback removes the step’s completed status from session state via
useRollbackStep. Consult your SME to confirm whether underlying imported records are also removed.Related
Platform Foundation
Platform Foundation overview.
Governance & parity
Documentation coverage and governance.
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/platform.tsx
- src/platform/import/pages/OnboardingWizardPage.tsx
- src/platform/import/hooks/useOnboardingSession.ts