All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================

Hi Janice

        First of all, I am not an expert in the use of attributes, however, if 
you
look at the code of your attribute you will see that you are storing the
value @p.ADM.PAT.birthdate to the LOCAL VARIABLE (No slash) BD.  In the rest
of the attribute you are accessing the GLOBAL VARIABLE /BD.  Try changing
the BD to /BD or the /BD to BD in the code of the attribute.  I would
suggest the latter as it is always safer to use LOCAL rather than GLOBAL
variables; especially in such a limited scope.

[EMAIL PROTECTED],
IFE=BD^/[ANS%0,"LTC.DOB"]|0,P(R,S,BD)^#,""}

Hope this Helps
Ken



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Janice Graver
Sent: Thursday, June 15, 2006 9:11 PM
To: [email protected]
Subject: [MEDITECH-L] Attribute help


All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================

Sorry but new and looking for help.

I asked the list awhile ago for a way to put a field on a CDS that would
display a field from ADM.PAT.  It is the birthdate.  The user wants it to
display on another screen (ours).  I have a query named LTC.DOB and on the
CDS I have this query and then this attribute.  It doesn't place the date of
birth in the query field.  We are CS 5.5.  I must be close because I see the
DOB on the first line of the CDS in YMD format.

[EMAIL PROTECTED],
IFE=/BD^/[ANS%0,"LTC.DOB"]|0,P(R,S,/BD)^#,""}

Is there someplace to go to decrypt the syntax of attributes like this?

TIA

Jan

Have a Great Day!

Janice Graver
Senior Systems Analyst
Information Technology
Good Shepherd Rehabilitation Hospital
Allentown, PA
610.776.3309

Good Shepherd...  The Greatest Comebacks Start Here.
www.goodshepherdrehab.org


_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to