Overview
Exam Processing Rules (also referred to as Order Processing Rules) allow platform administrators to create automated rules that trigger specific actions when incoming exam data — received via DICOM or HL7 — matches defined criteria. These rules reduce manual work, enforce consistency, and ensure exams are properly categorized and managed.
Common use cases include:
Automatically assigning an exam code based on incoming DICOM tag or HL7 field values
Normalizing procedure codes to a standard global or group exam code set
Updating exam priority or status based on order content
Creating exams in a Completed status when an HL7 report (ORU message) is received
Adding custom tags to exams based on values in DICOM tags or HL7 fields, enabling filtering and display in the Orders list
Re-evaluating rules when a new DICOM series is received for an existing exam (e.g., from an AI product sending results back to the platform)
Key Terms & Definitions
Term | Definition |
|---|---|
Exam Processing Rule | A configurable rule that triggers automated actions on incoming exams when specified conditions are met. Also called an Order Processing Rule (OPR). |
Condition | The criteria an incoming exam must meet to trigger a rule. Conditions evaluate a DICOM tag or HL7 field against a specified value. |
Action | What happens when a condition evaluates to true. Options include Set Value or Normalize. |
Procedure Normalization | The process of matching an incoming exam to a standard exam code (e.g., a Global Exam Code) to ensure a consistent look and feel across the platform. Original values are preserved for outbound communication. |
Client Exam Code | The original exam code received in the DICOM or HL7 message. |
System Default Exam Code | The standardized global exam code associated with an exam within the platform. |
RegEx (Regular Expression) | A pattern-matching syntax used in Normalize rules. The platform contains a set of built-in RegEx rules to automatically determine exam codes. |
Groups / Subgroups | Organizational containers for rules. Groups can have their own conditions, so rules inside only apply when the group condition is met. |
Custom Order Tag | A tag applied to an exam for filtering and display purposes. Does not affect exam workflow. |
Default Order Tag | System-defined tags that drive specific workflows (e.g., Default Template, PC Process, Skipped). |
Add Tag (Action) | A rule action that applies a custom order tag to an exam when the rule conditions are met. Tags are used for filtering and display in the Orders list. Multiple Add Tag rules can apply to the same exam. Unlike Set Value, Add Tag rules can fire for all DICOMs received for an order, not just the first. |
Trigger on DICOM Updates | A per-rule checkbox that, when enabled on a DICOM-based rule, allows the rule to re-evaluate when a new DICOM series is received for an existing exam (at least 60 seconds after the previous series). Only applies to DICOM-based rules. |
How Exam Processing Rules Work
Enabling Exam Processing for a Facility |
|---|
Exam Processing Rules are enabled or disabled at the facility level. Rules will only execute when the Exam Processing toggle for the facility is set to ON. Configured rules have no effect if this setting is disabled. |
Rule Evaluation Order |
Rules are evaluated from top to bottom in the order they appear in the rule list. Important behaviors to understand:
|
Condition Logic Syntax |
When defining condition details, the following syntax applies: |
Syntax | Meaning / Example |
|---|---|
"value" | Strings must be wrapped in double quotes. Example: "chest" |
* | Wildcard character. Example: "thora*" matches "thorax" and "thoracic" |
|| | Logical OR. Example: "chest" || "thora*" matches any of these values |
&& | Logical AND. Both conditions must be true. |
Example Condition |
|---|
Field: DICOM tag 0008, 1030 (Study Description) Condition: Contains Details: "chest" || "thora*" → Matches "chest", "thorax", or "thoracic" |
Step-by-Step: Creating an Exam Processing Rule
|
|---|
Before configuring a rule, review your incoming HL7 messages or DICOM metadata to identify the field values you want to use as triggers. Ask yourself: What consistent field values in the incoming data should cause an automated action? Example: If all exams with a specific insurance value in HL7 field IN1.4 should receive a specific tag, that field becomes your condition trigger. |
|
|---|
Open the correct facility settings to access the Exam Processing tab:
|
Before you begin: Confirm the Exam Processing toggle for the facility is enabled. Rules will not execute unless this is turned ON. |
|
|---|
Start creating a new rule from the Exam Processing tab:
A new rule row will appear. Click "Add Condition" within the new row to begin defining the rule criteria |
|
|---|
Define what criteria must be met for the rule to fire:
|
Date Condition Details : When the condition type is Date: specify the number of days (0–999) and whether the date is More or Fewer days from the current date. |
|
|---|
Specify what should happen when the condition is met:
|
Action | What It Does |
|---|---|
Set | Directly sets an exam attribute. Available attributes: System Default Exam Code, Priority, Status, or Read Type. |
Normalize | Uses the built-in RegEx rules to automatically assign a standard exam code. If no match is found, the exam continues through subsequent rules. |
Add Tag | Applies a custom order tag to the exam. Select an existing tag from the dropdown or enter a new tag name. Multiple Add Tag rules can apply to the same exam. If the tag already exists on the exam, the rule is skipped. |
|
|
|---|
Before the rule goes live, confirm the following:
|
Best Practices:
|
Advanced Topics
Using Groups and Subgroups |
|---|
Rules can be organized into nested Groups and Subgroups. This is especially useful when managing large numbers of rules. Groups can also carry their own conditions — for example, requiring that Modality equals "CT" — so that all rules within the group are only evaluated for CT exams. This speeds up rule processing and keeps administration clean. |
Procedure Normalization with RegEx |
When you select the Normalize action, the platform uses a built-in library of RegEx (regular expression) rules to determine the appropriate System Default Exam Code based on the incoming exam description and modality. This provides a consistent exam code assignment without needing to manually enumerate every possible client exam code. Key behaviors of Normalize rules:
|
Creating Exams in Completed Status |
When an HL7 ORU message is received and matches an Exam Processing Rule that sets the status to Completed, the platform will:
Images can still be added to Completed exams after the fact. |
Managing Custom Exam Tags |
Custom tags and tasks can be applied to exams via Exam Processing Rules using the Add Tag action. These tags are used exclusively for filtering and display in the Exams list — they do not affect exam workflow. All custom tags are visible at the Facility Group level under Accounts → FG → Tags and Tasks. |
Configuring an Add Tag Rule |
When configuring a rule with the Add Tag action:
|
How Add Tag Rules Behave |
|
OPR Triggering for Subsequent DICOM Series |
By default, DICOM-based rules only evaluate when the first DICOM is received for an exam. The Trigger on DICOM Updates checkbox on individual rules extends this behavior to allow re-evaluation when new DICOM series are received post-order creation. This is the mechanism that enables AI product integrations and any other workflow that depends on data arriving in a second or later DICOM transmission. |
When the rule re-fires |
|
When the rule does NOT re-fire |
|
Field-Lock Protection |
When rules re-fire due to subsequent DICOM series, a field-lock mechanism prevents OPRs from overwriting fields that a user has manually edited. If a user has manually changed a field such as Priority or Status, subsequent OPR triggers will skip updating that field, while still applying any other field changes and all Add Tag actions. This protects intentional manual corrections from being reversed by later DICOM arrivals. |
Searching Rules |
The rule list includes search fields beneath each column header. Key search behaviors:
|
Quick Reference Card
Task | Where / How |
|---|---|
Enable Exam Processing | Accounts → Group → Facility → Toggle ON |
Add a New Rule | Click "Add Rule" in the Exam Processing tab |
Set an Exam Code | Action: Set → Result: System Default Exam Code → Search and select exam code |
Auto-assign Code via RegEx | Action: Normalize (no result needed) |
Manage Custom Tags and Tasks | Accounts → FG → Tags and Tasks |
Copy Rules to Another Facility | "Clone Rules From..." option within the target facility |
Search Existing Rules | Use the search fields below each column header in the rule list |
Apply a Custom Tag via Rule | Step 5: Action → Add Tag → Add Result → select tag name |
Re-trigger Rule on New DICOM Series | Enable the "Trigger on DICOM Updates" checkbox on the rule (DICOM-based rules only). Rule will re-evaluate when a new series arrives ≥60 seconds after the previous one. |
Notes:
Rules are also known as Order Processing Rules (OPR) throughout the platform and in legacy documentation.
Rules can be automatically enabled or disabled based on schedule events from Utilities tool.
Exam code availability in rules depends on ACL settings for Global and Group modalities/regions/exam codes at your account level.