All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================

Try this, parse out the month and day from the discharge date, then do an 
IF/ELSE to check which quarter the date falls in.  

Example:

@dis.date$4^YEAR,
@dis.date'$4^MMDD,
IF{MMDD<0331 "Q1";MMDD<0630 "Q2";MMDD<0930 "Q3";MMDD<1231 "Q4"}^QTR


John O'Donnell 
MIS Analyst 
Information Systems 
Cape Cod Healthcare


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chemelli Donna M.
Sent: Tuesday, April 25, 2006 11:27 AM
To: Meditech-L List
Subject: [MEDITECH-L] NPR BAR.PAT report - Need Quarter

I have written a report in BAR.PAT that I need to run from 2003 thru 2005.  One 
of the fields required is the Quarter in which the discharge date falls into 
(based on calendar year).  I am struggling with a macro I attempted to build 
but it's just not working for me.  Of course, this report is needed ASAP.  
Anyone have any suggestions on how to capture this?

 

Donna Chemelli, RHIT 
Clinical Systems Analyst 
Mercy Jeannette Hospital 
724-527-9785 

This email and any files transmitted with it are confidential and are intended 
solely for the use of the individual or entity to whom they are addressed. This 
communication may contain material protected by the attorney-client privilege 
or other privileges and statutory protections.  If you are not the intended 
recipient, please be advised that you have received this email in error and 
that any use, dissemination, forwarding, printing, or copying of this email is 
strictly prohibited. If you have received this email in error,  please 
immediately notify our office by telephone at 724-527-9102.  Thanks!

 


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

Reply via email to