Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VMPRO automatic schedule changes 2

Status
Not open for further replies.

Chadbrokeit

Technical User
Jan 20, 2010
9
US
I have a VMPRO on a 9.0 system with a menu option: to reach a doctor on call press...
I then flow this through daisy chained calendar conditions with a month planner assigned for each doctor. I set the day each doctor is on call in his specific month planner.
The true transfers to a cell phone and the false goes to the next condition and the correct doctor has been found.
The issue I have is that the customer now wants the on call time period to not run midnight to midnight but 7 to 7. Any ideas on a good way to do this?
 
Week Planner?

"Trying is the first step to failure..." - Homer
 
My concern is that I would need to set two doctors as on call for the same day since they overlap days with the 7 to 7 schedule. My assumption is this won't route correctly as two Dr's are going to return a "true" result.
 
I should probably mention that the schedule is not the same week to week. It changes monthly.
 
I did this with a small clinic, just 2 doctors. They trade on call at 9am on the designated day.
Since it was 2 doctors, I only had to create an on call calendar for Dr. 1, and if his days for on call were not matched, it went to Dr. 2

I had to create a 2nd calendar, with just the first day of on call marked (the transition day)

So it if Dr. 1 was on call on calendar 1, then if it was the first day of on call on calendar 2.
A True to On Call, and a False on 1st day went directly to the Dr.

A True to On Call, and a True to 1st day, checks a Week Planner, where every day is selected with the time from 9am to 23:59. A True here goes to Dr. 1, a False goes to Dr. 2 (because it's before 9am)

A False to Dr. 1's On Call and a false to the 1st day goes to Dr. 2

A False to Dr. 1's On Call and a True to 1st day checks the Week Planner, and a True to after 9am goes to Dr. 2, while a False goes to Dr. 1

 
Thanks, TTT

I'll try to modify this thought to work with my setup. I temporarily changed the time zone associated with the VM server since I didn't have any other week planner option to mess up.
 
TTT you probably do not need the 2nd set of checks

if it is not Dr 1 then it MUST be DR2

I inherited a system where the previous installer had setup something similar (they has calls routing to alternating mailboxes) with checks for both conditions (& the failure on each linking back to the other) .
for some reason the user variable became corrupt causing the routing to fail & the VM sit in an infinite loop.

No only id correcting to a single check resolve the error but because each option reset the user variable to the alternative option it made the system self preparing!


Do things on the cheap & it will cost you dear
 
That's exactly what I did - calendar for Dr. 1, and if not Dr. 1 turn it's gotta be Dr. 2

The bugaboo is the transition time - 9am. So I need to know it's handover day, and if it is before or after 9am. Because if it is transition day but before 9am, on call it is still which ever Dr. was on call, not the Dr. that is starting today by virtue of Dr. 1's calendar starting or stopping.

OnCall_y2avzl.jpg
 
I didn't think you would get it wrong TTT but though it worth clarifying for others who might hae fallen into that trap



Do things on the cheap & it will cost you dear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top