Greetings,

Sorry for the traffic - but wanted to clarify something.

In the below I described that his "not" conditions were saying:

Look for Patient Selection @ 1,3  and for the cursor to Not be 20,27

This is indeed true.

What I neglected to add was that he could use the Edit conditions dialog and
add a ! in front of the Patient [EMAIL PROTECTED],3.

This would have changed the Rules display to read:

 

Title Patient [EMAIL PROTECTED],3 is False and Cursor at 20,27 is False

 

Although I stand by my statement that not here's are not always what you
want!

 

Regards,

Thom

 

 

 

Thom C. Blackwell

Product Manager

Boston Software Systems

(866) 653-5105 ex 807

www.bossoft.com <http://www.bossoft.com/> 

Sign <http://www.bostonworkstation.com/customer_center/special_events.aspx>
up for my weekly webinar!

 

LEGAL NOTICE Unless expressly stated otherwise, this message is confidential
and may be privileged. It is intended for the addressee(s) only. Access to
this E-mail by anyone else is unauthorized. If you are not an addressee, any
disclosure or copying of the contents of this E-mail or any action taken (or
not taken) in reliance on it is unauthorized and may be unlawful. If you are
not an addressee, please inform the sender immediately, then delete this
message and empty from your trash.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, July 31, 2008 9:21 AM
To: [email protected]
Subject: RE: [Talk] Multiple if and else condition using rule scripting

 

Greetings,

You are on the right track.  you definitely need individual steps for each
"try a facility code" attempt because the screen is in the same place each
time you try a code.

The problem is with your "is false" rules. These rules are really saying:

Look for Patient Selection @ 1,3  and for the cursor to Not be 20,27

 

Each condition in a Rule is evaluated individually - So when you see Title
and Cursor - it is saying both must be a match.

 

"Not here" conditions are very tricky and therefore are rarely what you want
to try to attempt - because simply not being somewhere will be true no
matter where you are! 

 

So, while what a user thinks is -"well I'm not back to here, that means." -
a script isn't really going to be able to think that way because there could
be many other places that are also "not here" - including being where you
wanted to key in your different facility code - that's also "not here". 

 

Since I don't have a picture of the screen scenarios in front of me, it's
difficult to advise you much further here. 

 

But what you are looking are positive indications of where is the screen in
each case - when you find a match and when you don't.

 

Regards,

Thom

 

 

Thom C. Blackwell

Product Manager

Boston Software Systems

(866) 653-5105 ex 807

www.bossoft.com <http://www.bossoft.com/> 

Sign <http://www.bostonworkstation.com/customer_center/special_events.aspx>
up for my weekly webinar!

 

LEGAL NOTICE Unless expressly stated otherwise, this message is confidential
and may be privileged. It is intended for the addressee(s) only. Access to
this E-mail by anyone else is unauthorized. If you are not an addressee, any
disclosure or copying of the contents of this E-mail or any action taken (or
not taken) in reliance on it is unauthorized and may be unlawful. If you are
not an addressee, please inform the sender immediately, then delete this
message and empty from your trash.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Xiao, Thomas
Sent: Thursday, July 31, 2008 8:49 AM
To: [email protected]
Subject: [Talk] Multiple if and else condition using rule scripting

 

Hi All,

 

I'm developing a script that connect to hllapi and post comment on the
patient account. In one step, I would like the script to change the hospital
region code (I'm working with 3 facilities) if it can't find the patient,
but it didn't work for me. My rule was enter the patient# and hit enter. If
it stuck in the same screen, then change the region code and hit enter
again. Same condition apply three time. If it still don't match, add status
patient not found on the data file. Here is the part of code that I have
difficult with. I would like to learn to do this using rule scripting and
without any visual basic. Any help will be appreciated!

 

 

 

 

 

Thanks,

Thomas

=====================

Thomas Xiao
Patient Accounts / Systems 
Mercy Health System 
One West Elm Street 
Conshohocken, PA  19428 
(610)567-6688 
[EMAIL PROTECTED]  

 

Confidentiality Notice:
This email, including any attachments is the 
property of Catholic Health East and is intended 
for the sole use of the intended recipient(s).  
It may contain information that is privileged and 
confidential.  Any unauthorized review, use,
disclosure, or distribution is prohibited. If you are 
not the intended recipient, please reply to the 
sender that you have received the message in 
error, then delete this message.

Reply via email to