The wizard provisions everything in a single transaction via the
seed_facility_with_templates() database function. If anything fails, no partial facility is created.Wizard layout
A vertical sidebar navigation shows all five steps with progress indicators:- Completed steps — green checkmark replaces the step icon
- Current step — blue highlight with shadow
- Locked steps — 40% opacity, not clickable until prerequisites are met
Step 1: Facility details
| Field | Description |
|---|---|
| Name | Facility display name |
| Address | Street address, city, state, zip |
| Timezone | Facility timezone (used for all date/time display) |
| Subscription status | Trial, Active, Past Due, or Disabled |
| OR hourly rate | Operating room cost per hour |
Step 2: Administrator
Create the facility’s primary admin account:| Field | Description |
|---|---|
| First / Last name | Administrator name |
| Login email address | |
| Send welcome email | Toggle (default: on) — sends invite immediately on creation |
Step 3: Clinical templates
Select which clinical templates to seed into the new facility. Each shows a count of items:- Milestones (8 required + custom)
- Phases (4 standard)
- Procedure types (THA, TKA, ACL, etc.)
- Procedure-milestone configuration
- Delay types
- Cancellation reasons
- Complexities
- Pre-op checklist fields
Step 4: Operational templates
Select which operational configurations to seed:- Cost categories (debits and credits)
- Implant companies
- Payers (insurance carriers)
- Analytics settings (FCOTS targets, utilization thresholds)
- Flag rules
- Notification settings
Step 5: Review
A summary of all selections across steps 1–4 with Edit buttons to jump back to any step.Provisioning
When you confirm, the wizard calls theseed_facility_with_templates() database function with a JSONB configuration specifying which templates to copy. This:
- Creates the facility record
- Creates the administrator user account
- Copies selected templates from global tables to facility-specific tables
- Sends the welcome email (if enabled)
Success screen
After successful provisioning:- Green checkmark animation with the facility name
- Create Another button — resets the wizard
- View Facility button — navigates to the new facility’s settings
FAQ
Can I change the templates after facility creation?
Can I change the templates after facility creation?
Yes. Once created, the facility has its own independent copy of the templates. Edit them in the facility’s Settings > Case Management section. Changes won’t affect the global templates.
What happens if I skip clinical or operational templates?
What happens if I skip clinical or operational templates?
The facility will be created without those templates. You can manually configure them later in the facility’s settings, but it means more setup work.
Can I delete a facility?
Can I delete a facility?
Facilities can be disabled (subscription status set to Disabled) but not deleted. This preserves historical data while revoking access. Contact support for permanent data removal requests.
Next steps
Global templates
Manage the templates that seed new facilities.
Demo generator
Populate the new facility with demo data.