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.
The Purge option permanently deletes all existing case data in the selected facility. Only use this in demo or development environments — never in production with real patient data.

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
For the most realistic demos, use the Outlier configuration (Step 4) to create a mix of fast and slow surgeons. Set one surgeon as “Fast” with low delay frequency and another as “Slow” with higher delay and extended duration frequencies. This creates realistic analytics patterns with clear differentiation.

FAQ

Generation time depends on the number of surgeons, history period, and cases per day. A typical facility (5 surgeons, 12 months) generates in 1–3 minutes. The SSE progress stream shows real-time updates.
Yes, but be careful. Without the Purge option, generated cases will be added alongside real ones. This can corrupt analytics. Only mix real and demo data intentionally, and consider using a separate demo facility.
The facility must have surgeons, rooms, procedures, payers, milestones, and flag rules configured before generating data. Use the Facility wizard with all templates enabled, or configure these in the facility’s settings first.

Next steps

Cases

View generated cases.

Analytics

Explore analytics powered by the generated data.