Skip to main content

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.

The Data Onboarding wizard (/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 by pf.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 permission pf.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

1

Start the wizard

Navigate to /settings/imports/onboarding. A new session is created and you are redirected to a session URL.
2

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.
3

Import Sites

Complete Step 1 (Sites) to unlock Steps 2 (Employees) and 3 (Patients).
4

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.
5

Rollback a step (if needed)

On a completed step, click Rollback step and confirm the dialog to revert the step’s session status.
6

Complete onboarding

After all steps are done or skipped, advance to the Complete step and click Complete Onboarding to mark the session as completed.

Key concepts

Session state is stored in Supabase. If you close the browser and return to the session URL, progress is restored from existingSession.step_status.
Steps with dependsOn show a dependency message and cannot be navigated to until their prerequisite steps are completed. The stepper enforces this check.
Rollback removes the step’s completed status from session state via useRollbackStep. Consult your SME to confirm whether underlying imported records are also removed.

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.
  • src/routes/platform.tsx
  • src/platform/import/pages/OnboardingWizardPage.tsx
  • src/platform/import/hooks/useOnboardingSession.ts