Hi Harry, The data definition for ADM.PAT shows
sched.er 1 YN L *AA[aa]CNA1|4 service 10 FREE L MIS.SVC.DICT *AA[aa]|9 service.date 8 DATE L *AA[aa]|15 Piece 9 is the field "@service". /INT is likely an intervention And we are looking for an intervention between 700000 and 702000 and add those to the /PSY variable (presumably we are accumulating the numbers of /PSY The code in the final IF "/INTCNT^/INTCNT" is meaningless. It is assigning /INTCNT to /INTCNT It does seem to be counting the number of interventions in /INTCNT The @NPSY should refer to a section of code below it possibly something such as "not psych" Hope this helps John Toop -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rianto, Harry Sent: Thursday, October 19, 2006 11:10 AM To: [email protected] Subject: [MEDITECH-L] NPR question Anyone can tell me what is the following mean? Specially on the [EMAIL PROTECTED]|9. [EMAIL PROTECTED]|9="PSY"&(/INT>699999&(/INT<702000)) 1+/PSY^/PSY; [EMAIL PROTECTED]|9="PED/PSY"&(/INT>699999&(/INT<702000)) 1+/PSY^/PSY;@NPSY}}, [EMAIL PROTECTED] 1+/INTCNT^/INTCNT;/INTCNT^/INTCNT} Thank you very much. Harry Rianto Bluewaterhealth ====================================== All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ______________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l ====================================== All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ______________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l
