Chuck, in Magic coding, you can't set up a condition as "not equal to
nil". You can use that type of logic when checking for a non-nil value
(for ex, [EMAIL PROTECTED]"JONES" etc....}. But for nil checks you have
to say, for example, "if not @ADM.PAT.name", i.e., "if @ADM.PAT.name
doesn't exist". Ah, the strange vagaries of nil. So, your condition
always works out to nil, hence it never prints.
 
Now, using a bunch of "or" conditions with nil checks may create some
challenges. I might set it up as:
 
[EMAIL PROTECTED]@MRI.PAT.urn,"NUR.ALLERG"] 1; 
[EMAIL PROTECTED]@MRI.PAT.urn,"OEFA.S"] 1;
[EMAIL PROTECTED]@MRI.PAT.urn,"OEADMAIL"] 1;""}}}

In other words, if any of the three are non-blank, print. Else don't.
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 Lovelace, Chuck
Sent: Wednesday, May 16, 2007 7:56 AM
To: [email protected]
Subject: [MEDITECH-L] Help with a line check..



I'm writing a NPR report in RXM.PAT and using this line check to
suppress printing if all three queries are left blank.

If any one of the three are answered I want the line to print. 

 

The LC suppresses printing, but all the time, whether or not the queries
have been answered, I know its probably a simple correction but I'm
stuck in a brain fade at the moment.  Any help would be appreciated.

 

[EMAIL PROTECTED]@MRI.PAT.urn,"NUR.ALLERG"]!

[EMAIL PROTECTED]@MRI.PAT.urn,"OEFA.S"]!

[EMAIL PROTECTED]@MRI.PAT.urn,"OEADMOALL"]'=""

 

Chuck Lovelace, RN, Clinical Analyst 
Door County Memorial Hospital 
Information Systems 
323 South 18th Avenue 
Sturgeon Bay, WI 54235 
Office   920-746-3608 
Fax      920-743-6204 
Email - [EMAIL PROTECTED] 


=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
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