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

Janice,

Your first line of code was putting the birthdate into BD, but your
second line was trying to display and save /BD.  Either add a / to BD on
line one, or remove the / from both BD on line two.

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

I broke your two lines into three to help you visualize what the
attribute is doing.

The first line is putting the ("p."ermanent response to the patient's
birthdate into /BD.
The second line files /BD into the (temporary) response to query
LTC.DOB.
The third line finds the current "P"osition at "R"ow and "S"column and
displays /BD on the screen.

You could make it more user friendly by converting the display to
MM/DD/YY format by:

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

Brian
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Janice Graver
Sent: Friday, June 16, 2006 6:20 AM
To: [email protected]
Subject: Fwd: [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

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