AA Rule advanced expression

A forum for discussion of the setup, configuration, and use of OnePacs.

Note:
•This forum may be used to ask for help with the use of OnePacs for research or education (non-clinical use).
•Any request for assistance with OnePacs for patient care/clinical purposes must be be made through private comunications in the OnePacs support ticketing system.
Post Reply
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: 96
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: 96
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!

Post Reply