![](/images/new-backgrounds/1264682/26468257x1.webp)
Routing User Guide | Defining Routing Rules |
|
|
Values for Date/Time Properties
When condition based on date and time is used, the supplied value must adhere to
The most frequently used date/time property is NOW. NOW can be used to select the times that a staff member will be present by specifying certain workdays and times of day.1
Send CR images to Kansas on Mon/Wed/Fri
send("KANSAS")
when MODALITY="CR"
NOW={MON 08:00AM to 17:00PM;
WED 08:00AM to 15:30PM;
FRI 08:00AM to 17:00PM}
Date/time properties can also be used to specify holidays. In this context, holidays are those days that are marked as such in the sending site’s HOLIDAY File (#40.5). A rule to send images on holidays only could be specified as:
Send CR images to Kansas on Holidays
send("KANSAS")
when MODALITY="CR"
NOW={HOL 00:01AM to 23:59PM}
Date/time ranges use a
When the routing software compares a date/time property in an image entry to a specified value, the date/time value is broken into components:
Day of week | Hour |
Day of month | Minute |
Month | Second |
Year |
|
Which of these components will be used in the actual comparison will depend on the specified value.
1The actual value of NOW is the moment when the rule is evaluated.
April 2006 | VistA Imaging V. 3.0, Patch 18 | 21 |