Skip to main content
Flag rules define the conditions under which ORbit automatically flags cases for attention. Configure thresholds, severity levels, and create custom rules for financial and quality metrics.
Rules are evaluated automatically when cases are validated. Changes to rules take effect on the next validated case — they don’t retroactively flag or unflag existing cases.

Rule table

Rules are displayed in a table with inline editing. Use the category filter tabs to view rules by type: Timing, Efficiency, Anesthesia, Recovery, Financial, Quality, and Archived.

Inline editing

Each row provides inline controls:
ControlDescription
ToggleEnable or disable the rule
Severity pillClick to cycle: Critical (red) → Warning (amber) → Info (blue)
Threshold typeDropdown: Absolute, Percentage, MAD, Median, Minutes
OperatorGreater than, Less than, Between, Outside
Value inputsDebounced number inputs (saves after 500ms of inactivity)
ScopeFacility-wide or Personal (surgeon’s own history)
Changes save automatically — no submit button needed.

Two rule types

Built-in rules

Standard operational rules that come with every facility. Cannot be deleted, but can be toggled on/off and adjusted (severity, threshold, scope).

Custom rules

Rules you create for your specific needs. Can be created, edited, archived, and restored.

Custom rule builder

Click Add Custom Rule to open the builder drawer:
1

Select metric

Search the metric catalog across six categories. Includes dynamic metrics auto-generated from your cost categories (e.g., “Implants Cost”).
2

Configure threshold

Choose a threshold type and operator, then set the value(s).
3

Set severity and scope

Pick the severity level and comparison scope.
4

Name the rule

Give the rule a descriptive name for flag reports.

Threshold types

TypeHow it works
AbsoluteDirect threshold value (e.g., turnover > 45 minutes)
PercentagePercentage of the median (e.g., > 150% of median)
MADMedian ± N × Median Absolute Deviation
MedianMedian ± fixed offset in minutes
MinutesDirect minute threshold

Severity levels

LevelColorUse for
CriticalRedSevere issues requiring immediate attention
WarningAmberModerate issues worth monitoring
InfoBlueInformational flags for awareness

Comparison scopes

ScopeDescription
FacilityCompare against facility-wide baselines
PersonalCompare against the surgeon’s own historical performance
Use Personal scope for metrics where individual surgeon baselines vary significantly (e.g., surgical time). Use Facility scope for standardized metrics (e.g., turnover time).

Best practices

ORbit ships with sensible built-in rules for common timing and efficiency metrics. Start by enabling these and adjusting thresholds to match your facility’s norms before creating custom rules.
If more than 30–40% of cases are being flagged, your thresholds are likely too tight. Loosen thresholds or use MAD-based thresholds that automatically adapt to your facility’s data distribution.
Reserve Critical for issues that genuinely need same-day attention. Use Warning for patterns worth monitoring. Use Info for awareness items. This helps teams prioritize without alert fatigue.

Next steps

Flag analytics

See how your rules perform in practice.

Flag engine

Technical deep-dive into the evaluation pipeline.