Two problems, I think, Amira. One is the common problem with trying to
check for nil by saying If X = nil. Doesn't work in Magic code. You must
say "If not X". The other item is that I don't see a blank space between
your IF conditions and the resulting action (the @W.err statements). I'd
rewrite it something like:

IFE=IF{'@[EMAIL PROTECTED]
@W.err("Primary Insurance Contract is blank");
IFE=IF{'@[EMAIL PROTECTED]
@W.err("Second Insurance Contract is blank");
IFE=IF{'@[EMAIL PROTECTED]
@W.err("Third Insurance Contract is blank");1}}}

That may get you close to your goal. Good luck!
 
Gary Hall
Clinical Applications Specialist
Estes Park Medical Center
Information Systems Department
970-577-4443
 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Christiansen, Amira T
Sent: Monday, May 21, 2007 10:03 AM
To: [email protected]
Subject: [MEDITECH-L] Attribute Help



Hi all,

 

I have been trying to get the below attribute to work for a couple of
days but unsuccessful. I need the Meditech-L assistant.

 

What I am trying to do is to notify the registrar that one of the
insurance's contract is blank. 

 

I have added the below to a query on an ADM CDS:

 

IFE=IF{(@[EMAIL PROTECTED])="",

[EMAIL PROTECTED]("Primary Insurance Contract is blank")};

IFE=IF{(@[EMAIL PROTECTED])="",

[EMAIL PROTECTED]("Second Insurance Contract is blank")};

IFE=IF{(@[EMAIL PROTECTED])="",

[EMAIL PROTECTED]("Third Insurance Contract is blank")},1

 

 

Thanks much!

 

Amira Christiansen

Information Systems

SwedishAmerican Health System

Rockford IL, 61104

(815)315-6840

________________________________

-------------------------------------------
NOTICE OF CONFIDENTIALITY
-------------------------------------------
The information in this email, including attachments, may be
confidential and/or privileged. This email is intended to be reviewed
only by the individual or organization named as addressee. If you are
not the intended recipient, consider yourself notified that any
disclosure, copying, distribution, use, or reliance on this transmission
is STRICTLY PROHIBITED. Please destroy all copies and formats of this
message including attachments. Note that any views or opinions presented
in this email are solely those of the author and do not necessarily
represent those of SwedishAmerican Health System. 




The information contained in this message may be privileged and confidential 
and protected from disclosure.  If the reader of this message is not the 
intended recipient, or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited.  If you have received this communication in error, please notify 
the sender of this communication immediately.




=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.NET.

To check the status of the meditech-l, visit MTUsers.NET.

For help, email [EMAIL PROTECTED]

Visit the MTUsers WikiPedia at MTUsers.NET/mwiki
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to