Hi Chuck and others,

You can default previously filed responses into a multiple line query with the 
following attribute:

IFE=IF{+/[ANS%0,"QUERY"]M[""];
IFE=""^ZX,
IFE=DO{+([EMAIL PROTECTED],"QUERY"]M 
IFE=[ZX],ZV)^ZX ZV|0^/[ANS%0,"QUERY"]M[ZX]|0,
IFE=IF{ZX'>2 P(R-1+ZX,S,ZV|0:25L)^#}},
IFE=DO{ZX'>2 P(R-1+ZX,S," ":25)^#,ZX+1^ZX}},1

- Replace the QUERY with the desired query mnemonic whose responses are to 
default.
- Change the two >2’s in the last two lines to the number of lines in your 
query.
- The two 25’s in the last two lines should be changed to the length of your 
query.
- You may replace the 1 at the end with “” to make the response default
and not be editable.

I have not not tried this on an E type query.  I think it will work but I'm not 
certain!  I know that the F5 recall key does NOT work in an E type query but I 
do have a macro that DOES default previously filed responses in E type queries 
and is pulling from ADM.PAT.... so I think this will work for those as well!

Hope this helps,
Kenny Whiteside


Kenny Whiteside BSN, RN
Patient Care Information Systems
Catawba Valley Medical Center
810 Fairgrove Church Road
Hickory, NC 28602
[EMAIL PROTECTED]



>>> "Lovelace, Chuck" <[EMAIL PROTECTED]> 03/22/2007 4:23 PM >>>
According to Meditech 

"We cannot default a response into a multiple type query.  The default will
continue to occur for each line of the multiple.  In order to default
information to a multiple type field you would need to create a DO loop,
which should not be done within CDS attributes."

If anyone has defaulted into a multiple type query, please post, I have been
trying with no success to default Mom's data from a multiple query to the
Newborn screen. 

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] 

-----Original Message-----
From: Kimberly Frick [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 16, 2007 3:25 PM
To: meditech-l@mtusers.com
Subject: [MEDITECH-L] Attribute help-Magic 5.5

Has anyone been able to write an attribute to default in the previous
response to an E query? 

 
Kim Frick, RN
Project Coordinator
Licking Memorial Health Systems
Phone: 740-348-4114
Fax: 740-348-4769
[EMAIL PROTECTED] 
www.LMHealth.org 
 


=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.COM.

To check the status of the meditech-l, visit MTUsers.NET.

For help, email [EMAIL PROTECTED]
______________________________________
meditech-l mailing list
meditech-l@MTUsers.com 
http://mtusers.com/mailman/listinfo/meditech-l 

=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.COM.

To check the status of the meditech-l, visit MTUsers.NET.

For help, email [EMAIL PROTECTED]
______________________________________
meditech-l mailing list
meditech-l@MTUsers.com 
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
meditech-l@MTUsers.com
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to