Alison, The attached report (MAGIC) will find up to 15 dx codes and 15 proc codes plus multiple doctors... This should do it for you.
Doug Doug Hiteshew, MT(ASCP) Senior Systems Analyst Johnson Memorial Hospital Franklin, IN 46131 O:317-736-3397 -----Original Message----- From: Alison Cooper To: Meditech-L@MTUsers.com Sent: 5/25/07 7:55 AM Subject: [MEDITECH-L] PRINTING ALL DIAGNOSIS ON A REPORT I am trying to pull all of a patient's diagnosis' into a report and not getting anywhere - does someone have this written already? The report is for the Maryland Quality Indicator Project and I got the following from a client server hospital but it's not giving me any information (we are magic) <qip_principal_diagnosis_'>PD, ''>dx.seq.no, [EMAIL PROTECTED](dx.seq.no)>CNT'>16 @dx[CNT]'#L(@dx[CNT],'.')>DX[CNT], IF{CNT=1 '<qip_principal_diagnosis>'_CRLF>!, PD_'code>'_DX[CNT]_'</principal_diagnosis_code>'_CRLF>!, PD_'status>0</principal_diagnosis_status>'_CRLF>!, '</qip_principal_diagnosis>'_CRLF>!; '<qip_other_diagnosis>_CRLF>!, '<other_diagnosis_code>_DX[CNT]_'</other_diagnosis_code>'_CRLF!, '<other_diagnosis_status>0</other_diagnosis_status>'_CRLF>!, '</qip.other diagnosis>'_CRLF>!}} Thanks in advance!! Alison Cooper Systems Administrator/Analyst Carrier Clinic 252 Route 601 Belle Mead, NJ 08502 908-281-1521 (Fax - 908-281-1667) =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 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 =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 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