Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.orbitsurgical.com/llms.txt

Use this file to discover all available pages before exploring further.

Track the latest updates, new features, and improvements to the ORbit platform.

February 2026

Milestone cascade fix
Bug fix — milestone template resolution
  • Fixed 3 places where milestone template cascade ignored surgeon overrides
  • Updated get_milestone_interval_medians() RPC with 3-tier cascade
This fix ensures that surgeon-specific template overrides are always respected in analytics calculations, not just during case creation.
Required milestones
New feature — template enforcement
  • New templates auto-populate with 4 phases and 8 required milestones
  • Required items are locked in the template builder (lock icon, removal blocked)
  • Grandfather logic: enforcement only on templates containing all required milestones
Existing templates with fewer milestones are not retroactively enforced, preventing disruption to active workflows.
Analytics template phase resolution
Architecture change — phase boundaries
  • Replaced phase_definitions table with template-based phase boundary resolution
  • New SQL resolver derives phase boundaries from milestone_template_items
  • Added cases.milestone_template_id column stamped on new cases
Milestone template system
Major feature — template-based workflows
  • Replaced toggle-based milestone config with template-based model
  • 7 new database tables for templates, items, phases, and surgeon overrides
  • 3-column drag-and-drop template builder with phase-grouped vertical flow
  • Template cascade: surgeon override → procedure template → facility default
  • Rewrote 4 core RPCs for template awareness
Breaking change: the milestone configuration model changed from toggles to templates. All facilities were migrated automatically.
Demo generator redesign
Rebuild — data generation wizard
  • Complete rebuild: monolithic page → 6-step sidebar wizard
  • Standalone outlier engine with per-surgeon frequency/magnitude sliders
  • SSE streaming for real-time generation progress
  • Per-day room assignments, 3-tier durations, speed profile scaling
Facility creation wizard redesign
Rebuild — facility provisioning
  • Rebuilt from 1,555-line monolith to 8 decomposed files
  • 5-step wizard with vertical sidebar layout
  • Extended seed_facility_with_templates() RPC with JSONB config for 13+ categories
Unify anesthesia into staff
Architecture change — staff model
  • Removed cases.anesthesiologist_id column
  • Unified all anesthesia tracking through case_staff table
All anesthesia providers are now managed through the same case_staff table as nurses and techs, simplifying the data model and UI.
Global admin settings and templates
New feature — admin configuration
  • 5 new admin pages: flag rules, phases, analytics, payers, notifications
  • Template-to-facility copy pattern for all template categories
Data quality redesign
Rebuild — data quality review
  • Complete redesign: 2,026-line monolith → 11 focused components
  • SVG quality gauge, case-grouped table, inline scan progress
  • Review drawer with milestone timeline editing, impact analysis, resolution actions
Financial analytics facelift
Rebuild — financial dashboards
  • Complete rebuild of financial analytics page
  • URL-routed procedure and surgeon detail pages
  • Dark hero headers, waterfall charts, sparklines, payer mix
Flag settings and custom builder
New feature — custom flag rules
  • CSS Grid table layout with inline editing
  • Custom rule builder drawer with metric catalog
  • Extended flag engine for financial and quality metrics
Flags, analytics, and Recharts migration
Infrastructure — chart library
  • Removed @tremor/react dependency, unified on Recharts
  • Rebuilt flag analytics and chart components
Unified header and breadcrumb
UI consistency
  • Consistent header and breadcrumb pattern across all pages
Case detail v2
Rebuild — case detail page
  • Complete redesign of the case detail page
  • Phase-grouped milestone timeline with inline editing
Drawer milestones and financials revamp
Rebuild — case drawer
  • Redesigned case drawer with milestone and financial sections