Karen:
Where is this multiple query documented (in NUR or OE PAT?). In OE.ORD you can get responses from other modules like NUR and ADM since all query data is stored in ADM.PAT.ccdqr.response (except for OE PROC queries=they get stored with the order). ------------------------------------------------------------------------ ---------------------------------- In OE.ORD you can use this to get query responses from NUR or ADM. @[EMAIL PROTECTED],"OEFOLUP"] For the GRP RESPONSE: OE.ORD.zcus.bbk3 String Found: response Field: 22 [EMAIL PROTECTED]"OECMT"] 23 [EMAIL PROTECTED]"OEBBKRHIG2",@response["OEBBKRHIG <mailto:[EMAIL PROTECTED],@respons e%5b%22OEBBKRHIG> "]] ------------------------------------------------------------------------ ----------------------------------- For OE.ORD/PROC multiple queries, try this: [EMAIL PROTECTED]"OEWORK16B",1] [EMAIL PROTECTED]"OEWORK16B",2 <mailto:[EMAIL PROTECTED],2> ] Or [EMAIL PROTECTED],"OEPHA8",1 <mailto:[EMAIL PROTECTED],%22OEPHA8%22,1> ] Or [EMAIL PROTECTED],"OEPHA8",1] 1} This is our allergy computed field to get all allergies (there is an ECB line check on a Detail line to print all allergies for this one computed field. DAT=QRY.RESP JFY=L LEN=65 [EMAIL PROTECTED] LC on same detail line as this computed field (NOT AN HP LINE, A DETAIL LINE!) ECB=patient^ADM.PAT.ccdqr.patient, ECB="OEALL101"^ADM.PAT.ccdqr.query,""^ADM.PAT.ccdqr.mult.seq.no, [EMAIL PROTECTED](ADM.PAT.ccdqr.mult.seq.no,ADM.PAT.ccdqr.mult.resp) ., ECE=.}, ** OEALL101 IS OUR MULTIPLE ALLERGY QUERY ** ------------------------------------------------------------------------ ------------------------------------- OE.ORD.zcus.bmhand String Found: response Field: 12 [EMAIL PROTECTED]"OECODE2"] 13 [EMAIL PROTECTED]"OEDIAG1"] 14 [EMAIL PROTECTED],"OEALL101",1] 15 [EMAIL PROTECTED],"OEALL101",2] 16 [EMAIL PROTECTED],"OEALL101",3] 17 [EMAIL PROTECTED],"OEALL101",4] 18 [EMAIL PROTECTED],"OEALL101",5] 19 [EMAIL PROTECTED],"OEFA"] ------------------------------------------------------------------------ --------------------------------------- OE.ORD.zcus.bmwo2 String Found: response Field: 3 [EMAIL PROTECTED]"OEWORK1"]="Y" "YES";""} 4 [EMAIL PROTECTED]"OEWORK3"]="Y" "YES";""} 5 [EMAIL PROTECTED]"OEWORK11"] 6 [EMAIL PROTECTED]"OEWORK12"] 7 [EMAIL PROTECTED]"OEWORK4C"] 8 [EMAIL PROTECTED]"OEWORK16B",1] 9 [EMAIL PROTECTED]"OEWORK16B",2] 10 [EMAIL PROTECTED]"OEWORK16B",3] 11 [EMAIL PROTECTED]"OEWORK16B",4] 12 [EMAIL PROTECTED]"OEWORK16B",5 <mailto:[EMAIL PROTECTED],5> ] ------------------------------------------------------------------------ --------------------------------------------------- TO PRINT THE ELEMENT RESPONSE (FULL NAME) INSTEAD OF ELEMENT CODE: DAT=FREE JFY=L LEN=25 [EMAIL PROTECTED]@patient,"NURMEDNM1"]^MIS.GROUP.RESP.elem ent. mnemonic, VAL="NURMEDNM1"[EMAIL PROTECTED], [EMAIL PROTECTED] ------------------------------------------------------------------------ --------------------------------------------------- MULTIPLE GRPS RESPONSES DAT=FREE JFY=L LEN=23 [EMAIL PROTECTED]"NUREDUC",@ccdqr.mult.response ["NUR92101B ",1]] **NUREDUC is the group response mnemonic and NUR98101B is the query mnemonic** ------------------------------------------------------------------------ ---------------------------------------------------- Good Luck, ________________________________ From: meditech-l@mtusers.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, May 16, 2007 8:18 PM To: meditech-l@mtusers.com Subject: [MEDITECH-L] npr help in NUR.PC.WORK and OE.ORD to pull multiples and group response element HELP! I have a couple of reports that I need some help on: 1. I need to pull the multiple comment field OEALDRUG to 2 reports. One is OE.ORD and the other in NUR.PC.WORK. 2. I need to pull the element response (description) for a group response (multiple answers). Again to 2 reports, one in OE.ORD and the other in NUR.PC.WORK. Please post to list. Thanks! Karen Hunter [EMAIL PROTECTED] ________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com <http://www.aol.com?ncid=AOLAOF00020000000437> . ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. This footnote also confirms that this email message has been swept by Sophos and MIMEsweeper for the presence of computer viruses. **********************************************************************
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 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