Values for date/time properties – Vista Imaging Vista Routing User Manual

Page 29

Advertising
background image

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
VA-FileMan conventions. Values for date/time conditions are presented as a range
enclosed in braces { }.

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 24-hour clock. While the use of AM or PM indicators is not
required they can be useful when the hours specified are 0:00 AM (midnight) and
12:00 PM (noon). Date/time ranges can be used to express date values from any century
as well as time values for any second in the day.

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.

The actual value of NOW is the moment when the rule is evaluated.

April 2006

VistA Imaging V. 3.0, Patch 18

21

1

Advertising