Routing User Guide | Defining Routing Rules |
|
|
Rules using Wildcards
Wildcards can be used when you want a condition to be valid for more than one value. In the example below, all images, regardless of modality, will be routed.
Send all images to Kansas City
send("KANSASCITY") when MODALITY="*"
Wildcards are described in detail on page 20.
Rules using the “does not match” Operator
A condition can use different types of operators. The previous examples used “=” as an operator, indicating that the specified image property must match a particular value for a condition to be met.
The following example uses “!=” as an operator, indicating the image property in question can be any value except the listed value.
Send
send("KANSASCITY") when MODALITY != "CR"
Operators are described in detail on page 20.
Rules using Date/Time Conditions
A rule using date/time conditions can be used to route images based on date, time of day, or “type” of day (such as weekday, holiday, and so on).
A rule to send all CR images to a destination on certain days would look like:
Send CR images to Kansas City on Mon/Wed/Fri
send("KANSASCITY") when MODALITY="CR"
NOW={MON 00:01AM to 11:59PM; WED 00:01AM to 11:59PM; FRI 00:01AM to 11:59PM}
The NOW condition is described, along with other date/time conditions, on page 21.
April 2006 | VistA Imaging V. 3.0, Patch 18 | 11 |