Skip to main content
The demo data generator creates realistic surgical case data including milestones, financials, flags, and staff assignments. Useful for demonstrations, training, and development environments.

Six-step wizard

Step 1: Facility selection

  • Facility dropdown — select the target facility
  • Configuration status — readiness check showing whether surgeons, rooms, procedures, payers, milestones, and flag rules are configured
  • History period — slider to set how many months of data to generate (1–24)
  • Purge toggle — option to delete all existing case data before generating

Step 2: Surgeon profiles

Expandable cards for each surgeon with per-surgeon configuration:
SettingOptions
Speed profileSlow, Average, or Fast (affects all duration calculations)
Speed multiplierMin/max percentage range (e.g., 90–110%)
SpecialtyJoint, Spine, Sports (determines procedure mix)
Operating daysMulti-select Monday–Friday
Room assignmentsPer-day room selection (supports multi-room)
Procedure typesMulti-select filtered by specialty
Preferred vendorImplant company for device data
Closing workflowStandard or Rapid
Cases per day3-tier slider based on speed profile
Smart defaults pre-populate from existing block schedules.

Step 3: Room schedule validation

A matrix view (Surgeons x Days) showing room assignments with conflict detection:
  • Green badge — room assigned, no conflict
  • Red warning — multiple surgeons in the same room on the same day

Step 4: Outlier configuration

Per-surgeon outlier controls:
ControlDescription
Delay frequencyPercentage of cases that get delays (0–100%)
Delay magnitudeDuration of delays (5–60 minutes)
Extended durationsFrequency and magnitude of longer-than-normal cases
Short durationsFrequency and magnitude of faster-than-normal cases
Bad daysMonthly count (0–4) where everything goes wrong
Delays cascade realistically — an anesthesia delay pushes incision later, which pushes closing later.

Step 5: Review

Summary cards showing facility name, surgeon count, estimated total cases, history period, and purge warning if enabled.

Step 6: Generation (SSE streaming)

Real-time progress via Server-Sent Events:
1

Validating configuration

Checks all required data is present.
2

Purging existing data

If enabled — deletes cases, milestones, devices, delays, and flags.
3

Generating cases

Creates cases with real-time count updates.
4

Computing milestones

Populates milestone timestamps based on surgeon profiles.
5

Running flag engines

Evaluates both operational and financial flag rules.
6

Finalizing

Refreshes materialized views and caches.
A progress bar shows 0–100% with animated gradient. On completion, a success screen shows total cases generated and duration.

Generation features

  • Per-day room assignments — cases scheduled to the surgeon’s assigned room for that day
  • 3-tier durations — fast/average/slow with procedure-specific baselines
  • Speed profile scaling — multiplier applied to all durations
  • Incision-based callbacks — milestone durations calculated from incision time
  • Cancelled cases — approximately 3% of generated cases
  • Delays — 5–8% of cases get delays from the outlier engine
  • Device data — generates records with the surgeon’s preferred vendor
  • Both flag engines — runs operational and financial flag detection
  • Comprehensive purge — when enabled, cleanly removes all generated data

Next steps