Hi Cristina, The value of the date is being stored in the /VAR in the MM/DD/YYYY format. This is what you want to be sure to send to the temp variable for the query (/[ANS%0,"QUERY"]|0). You have that part so all you need to do is now change what is being sent out to the screen using the P(R,S,"value")^# part. Just use the Z.date.out program to convert this to the MM/DD/YY format by replacing P(R,S,/VAR)^# with P(R,S,(%Z.date.out(/VAR))^#
Let me know how it goes, Kenny Whiteside >>> "Castillo, Cristina" <[EMAIL PROTECTED]> 06/20/07 4:17 PM >>> Hello Lr's, I'm trying to pull out the Target Date from the Care Plan to an NUR CDS. The attribute works but the date format is YYYYMMDD. I want it to show as MM/DD/YYYY just like how it appears on the care plan. This is the attribute that I have: IFE=IF{:NPC[aa]D[1]G[1]|5^/VAR, IFE=/VAR^/[ANS%0,[^A#0_"ggv"]]|0,P(R,S,/VAR)^#,""} Thanks! Cristina C. Kimball, BSN, RN Manager, Clinical Informatics Pacific Alliance Medical Center 531 W. College St. Los Angeles, Ca 90012 Ph: (213) 437-4214 Fax: (213) 617-9203 Email: [EMAIL PROTECTED] This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. If you are not the intended recipient of this e-mail, you are cautioned that use of its contents in any way is prohibited and may be unlawful. If you have received this communication in error, please destroy it and notify the sender immediately by e-mail. =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= To subscribe or unsubscribe to the meditech-l, visit http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com To check the status of the meditech-l, visit MTUsers.NET For help, email [EMAIL PROTECTED] Please visit and add information to the MTUsers WikiPedia at MTUsers.NET/mwiki ______________________________________ meditech-l mailing list meditech-l@MTUsers.com http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com -- This message has been scanned for viruses and dangerous content, and is believed to be clean. Catawba Valley Medical Center 810 Fairgrove Church Rd Hickory NC 28602 828-326-3000 **This electronic message may contain information that is confidential and/or legally privileged. It is intended only for the use of the individual(s) and entity named as recipients in the message, please notify the sender immediately and delete the material from any computer. Do not deliever, distribute or copy this message, and do not disclose its contents or take any action in reliance on the information it contains. Thank you -- This message has been scanned for viruses and dangerous content, and is believed to be clean. =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= To subscribe or unsubscribe to the meditech-l, visit http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com To check the status of the meditech-l, visit MTUsers.NET For help, email [EMAIL PROTECTED] Please visit and add information to the MTUsers WikiPedia at MTUsers.NET/mwiki ______________________________________ meditech-l mailing list meditech-l@MTUsers.com http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com