This fixed it.  Thank you  Ken!

>>> "Ken MacPherson" <[EMAIL PROTECTED]> 4/20/2007 7:23:30 AM >>>
Hi Pat


Try

IFE=IF{"Y"'=[ANS,"EDMIMM21"]|0} 

        Remember that magig logic expressions return the LEFT HAND SIDE if they
are TRUE.  In the statement you used

IFE=IF{[ANS,"EDMIMM21"]|0="N"}

        the result is TRUE, but the LEFT HAND SIDE is "" if [ANS,"EDMIMM21"]|0
is left blank.  Thus "" is returned which means FALSE.  So although the
statement is TRUE, since the left hand side was returned, which equals "" if
[ANS,"EDMIMM21"]|0 is left blank, The statement still evaluates to FALSE and the
query is skipped.

        IFE=IF{"Y"'=[ANS,"EDMIMM21"]|0} looks exactly the same, but if
[ANS,"EDMIMM21"]|0 is left blank, they the "Y" is returned and the statement
will still evaluate as TRUE.

Hope this Helps
Ken

Ken MacPherson
Systems Analyst / NPR Team Member
NShIS Implementation Project
EMail mailto:[EMAIL PROTECTED] 
Phone 902 237 5153

Confidentiality Notice

This message may contain privileged and/or confidential information. If you have
received this e-mail in error or are not the intended recipient, you may not
use, copy, disseminate or distribute it. Do not open any attachments. Delete
this message immediately from your system and notify the sender by e-mail or
telephone that you have done so

Thank You
 
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Pat
Crigler
Sent: Thursday, April 19, 2007 8:43 AM
To: [email protected] 
Subject: [MEDITECH-L] Skip attribute help

I need the cursor to skip EDMIMM32 when EDMIMM21 is answered "Y".  The attribute
I have on EDMIMM32 is skipping when EDMIMM21 is answered yes but it is also
causing the cursor to skip over EDMIMM32 if EDMIMM21 is not answered.  How can I
make the cursor not skip EDMIMM32 if EDMIMM21 is blank?

The attributes I have tried on EDMIMM32:
IFE=[ANS,"EDMIMM21"]|0="N"
and also tried:
IFE=IF{[ANS,"EDMIMM21"]|0="N"}

The cds:
23  EDMIMM21   11  1   Hydration Only? Y/N                 SAME 21
24  EDMCHG1    11  23  *                                   SAME 25
25  EDMIMM09   12  1   Additional Hrs of Hydration Up ...  SAME 40
26  EDMIMM33   13  1   (Excluding 1st hr)
27  EDMIMM32   15  1   SL/Meds/Drips?  Y/N                 SAME 21
28  EDMCHG2    15  23  *                                   SAME 25
29  EDMIMM11   16  1   Additional Hrs SL/Meds/Drips Up...  SAME 40

Thank you for you help in advance.  
--pat





Pat Crigler, MT(ASCP)
Clinical Analyst
Culpeper Regional Hospital
P.O. Box 592
Culpeper, VA 22701
Phone:(540) 829-5733
Fax: (540) 829-5026
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 




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