OnePACS administrators can use a CSV file to create, update, and manage Post-Processing Rules in bulk. 

Important Note: File size must not exceed 5MB.

Export Current Post-Processing Rules

To export a CSV file of current Post-Processing Rules, navigate to Admin > Facilities > Post-Processing. Select the desired Post-Processing Rules group and click Edit.

In the Edit window, click the Export button. 

Update the exported CSV file with changes and new rules as desired. Save the CSV file and follow the import steps to import and perform a bulk update.

Navigate the Post-Processing Rules CSV File

The exported CSV file of Post-Processing Rules contains one row per post-processing policy, as well as the following columns.

Important Note: The exported CSV file contains all columns, including hidden columns.

ColumnDescriptionExamples
IDInternal primary key (PK) of the policy634
IndexExecution order within the group1
EnabledWhether or not the policy is activetrue, false
Trigger EventsComma-separated list of events that activate this policyStudy Arrival, Order Association
Set stat status / set priorityStat status to apply. Special composite values include ASAP (increases priority only) and Stat+ (STAT + increased priority).STAT, Stat+, ASAP
Set study status toStudy status to assign when the policy firesUNREAD, STAT_UNREAD
Set requested read type toRead type to requestFINAL, PRELIMINARY
Set laterality toLaterality to assignLEFT, RIGHT, BILATERAL
Set IV contrast toContrast status to assignWITH_CONTRAST, WITHOUT_CONTRAST
Set number of views toNumber of views to assign2
Add study typeHuman-friendly display name of the study type to addCT Head
Add Study Type IDInternal FK of the study type (used for re-import)40317
Add study tagHuman-friendly display name of the study tag to add Urgent
Add Study Tag IDInternal FK of the study tag (used for re-import)1
Invoke automation taskHuman-friendly display name of the workflow / standard note to invoke Auto-Assign to Pool
Apply Standard Note IDInternal FK of the standard note (used for re-import)12345
Case alertFree-text message for a case alert to createReview urgently
Order Procedure CodesComma-separated procedure codes
Important Note: This is a legacy column included for backward compatibility with previous versions.
71046,71047
RulesMulti-line text describing all matching rules for the policy. See Rules Column Format for additional information. study description equals 'CT HEAD'
CSV Format for Post-Processing Rules 

Prior to importing a CSV of Post-Processing Rules, ensure that the file meets the following import standards.

CSV Columns

The uploaded CSV must contain all required columns. Users should ensure that they also include any relevant columns from the available options in the table below. Column headers are matched case-insensitively, with flexible naming. Users may select from any of the alternative CSV headers noted parenthetically in the Column Name column below.

Important Note: If a row contains neither Rules nor Procedure Codes, and if it specifies no modifiers (such as Study Status), the row will fail to import.

Column NameRequired ?DescriptionNotes/Examples
Trigger Events
(Triggers, Trigger Types)
YesComma-separated list of events that activate this policyex: Study Arrival, Order Association

Additional information on Trigger Events is available here.
Rules 
(Rule)
Yes (if no Order Procedure Codes or modifier columns)Multi-line text describing all matching rules for the policyRequired unless one or more modifier columns (e.g. Study Status or Stat Status) are provided
Order Procedure Codes
(Order Procedure Code, Procedure Code, Procedure Codes)
Yes (if no Rules or modifier columns)Comma-separated procedure codes (legacy)Required unless one or more modifier columns (e.g. Study Status or Stat Status) are provided
Enabled
(Active)
NoWhether or not the policy is activeDefaults to False if omitted
Set stat status / Set priority
(Set priority, Stat Status, Increase Priority)
NoStat status to apply. Special composite values include ASAP (increases priority only) and Stat+ (STAT + increased priority).ex: STAT, SUPER_STAT, ASAP, Stat+
Set study status
(Set Study Status To, Study Status)
NoStudy status to assign when the policy firesex: UNREAD, STAT_UNREAD
Set requested read type to
(Set Requested Read Type, Requested Read Type, Read Type)
NoRead type to requestex: FINAL, PRELIMINARY
Set laterality to
(Laterality, Set Laterality)
NoLaterality to assignex: LEFT, RIGHT, BILATERAL
Set IV contrast to
(Set Contrast Status, Contrast Status)
NoContrast status to assignex: WITH_CONTRAST, WITHOUT_CONTRAST
Set number of views to
(Number of Views, Set Number of Views)
NoNumber of views to assignex: 2
Add Study Type ID
(Add Study Type, Study Type ID, Study Type)
NoInternal FK of the study typeStudy Type ID must exist in the target radiology group
Add Study Tag ID
(Add Study Tag, Study Tag ID, Study Tag)
NoInternal Primary Key (PK) of the study tagStudy tag must exist in the target radiology group
Apply Standard Note ID
(Apply Standard Note, Standard Note, Standard Note ID, Invoke automation task)
NoInternal Primary Key (PK) of the standard noteStandard note must exist in the target radiology group
Case alert
(Create Case Alert, Case Alert Text)
NoFree-text message for a case alert to createex: Review urgently
Trigger Events

The Trigger Events column accepts a comma-separated list of the following case-sensitive values:

Rules Column Format

Each line in the Rules cell represents one matching rule. The format is as follows: [property name] [comparison] ['value']. For example:

OnePACS supports the following case-insensitive property names in the Rules column:

Property Name(s)Notes
patient ID
order procedure code
accession number
modalityUse this property name for a single series modality
modalities in studyUse this property name for study-level modalities
referring physician, referring physician name
study description
patient name
received time, study arrival timeUses time range format HH:mm:ssLSSS,HH:mm,ss.SSS.
ex: study arrival time is between the following times '09:00:00.000,17.00.00.000'

Also accepts human-friendly format with SOD (start of day = 00:00) and EOD (end of day = 23:59).
ex: study arrival time is between the following times 'SOD to 17:00'.
institution name
body part
station name
protocol name
study instance uid
ai result, ai results
study stat status, stat status
order priority
order reason for exam
order patient history
confirmation patient history
patient institution residence
custom order fieldInclude the field name in parentheses: `custom order field (myFieldName) equals 'value'`
study type description
study type billing code

Users can reference properties from DICOM tags not listed by using the relevant tag notation. For example:

OnePACS supports the following comparison operators in the Rules column. Use only the comparison operators that are appropriate to the chosen rule type:

Import Process for Post-Processing Rules CSV

To import a CSV of Post-Processing Rules, navigate to Admin > Facilities > Post-Processing. Select the desired Post-Processing Rules group and click Edit

In the Edit window, click the Import button and select the desired CSV file when prompted. 

A progress bar displays during the import process. Upon successful completion of the import, a success message displays. The rules display in the relevant Post-Processing Rules list.

Troubleshoot Import Failures

Rows of Post-Processing Rules data that fail during validation or processing are not imported. Failed rows do not prevent the system from importing successful rows. If any rows fail, the confirmation window displays the number of successful uploads and the total number of attempted uploads. Newly imported policies display with a highlight until the user refreshes the page.

Click the Download Import Log button and refer to the Import Log CSV for detailed information about successes and failures during the import process. 

Common errors include:

Error messages display in the Download Import Log to guide troubleshooting.