![](/images/new-backgrounds/1264682/26468239x1.webp)
Defining Routing Rules | Routing User Guide |
|
|
Rule Destinations
The first parameter in a routing rule contains either the send command or the balance command, and contains one or more destination names.
The send and balance commands are described in detail below. Destination names are described on pages 26 and 37.
The SEND Command
Typically, the send command is used to specify a single destination, as in the example below:
send("KANSASCITY") when MODALITY="CR"
NOW={MON 00:01AM to 11:59PM;
WED 00:01AM to 11:59PM;
FRI 00:01AM to 11:59PM}
To send similar exams to multiple destinations, multiple rules would be used, as shown below:
send("KANSASCITY") when MODALITY="CR"
send("BACKUP")
when MODALITY="CR"
The BALANCE Command
Use the balance command when you want to divide a pool of exams between multiple destinations. When using the balance command, you must specify what percentage of exams should be sent to each destination.
In the sample rule below, 25% of the exams are sent to KANSASCITY, and 35% of the exams are sent to KANSASCITY2. The remaining exams are not routed at all (as indicated by the <local>=40% portion of the command).
balance("KANSASCITY"=25%,"KANSASCITY2"=35%,<local>=40%)
when MODALITY="CR"
ÂThe total value of the percentages specified in the command must equal 100%.
12 | VistA Imaging V. 3.0, Patch 18 | April 2006 |