AA Rule advanced expression

Historical record of a forum that was for discussion of the setup, configuration, and use of OnePacs for research and educational purposes (non-clinical use).

Please direct any support inquiries through the standard OnePacs ticketing and support system.

The "Announcements" forum will continue to be active and contain announcements related to the OnePacs system.
Locked
jroubal
Posts: 6
Joined: Fri Jan 22, 2021 3:07 pm

AA Rule advanced expression

Post by jroubal » Fri Aug 27, 2021 10:59 am

Does anyone know how to write the advanced expression within an Auto Assignment Rule that would only pull exams confirmed from 7a-5p? I don't want to have to have staff manually activate/deactivate this rule on a daily basis. Sorry in advance, I'm terrible with the advanced expressions actually working.

admin
Site Admin
Posts: 105
Joined: Tue Nov 25, 2008 3:13 pm

Re: AA Rule advanced expression

Post by admin » Fri Aug 27, 2021 12:15 pm

This should work:

(timeOfDay(confirmationTime) >= '07:00' AND timeOfDay(confirmationTime) <= '17:00')

jroubal
Posts: 6
Joined: Fri Jan 22, 2021 3:07 pm

Re: AA Rule advanced expression

Post by jroubal » Tue Aug 31, 2021 12:52 pm

Oh that rocks, thank you!

admin
Site Admin
Posts: 105
Joined: Tue Nov 25, 2008 3:13 pm

Re: AA Rule advanced expression

Post by admin » Sat Sep 04, 2021 11:15 pm

Pleased to be able to help!

Locked