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

Hi Bruce,

I think the following will work for you:

1)      Add the following Footnotes:    AL D detail.macro
                                                AL TR tr.macro

2)      Add two xx fields, one for the average, and one for the above average, 
with the following VAL attributes:

        xx.avg
        VAL=AVG

        xx.above.avg
        VAL=ABOVE

3)      File and translate your report

4)      Create a macro called detail.macro with the following code:

        @Add(1,COUNT),
        @Add(@value,TOTAL),
        @Add(1,/[EMAIL PROTECTED])

        You will need to replace @value with whichever field you are using for 
your hemoglobin value.

5)      File and translate that macro

6)      Create a macro called detail.macro with the following code:

        (COUNT:4D)/(TOTAL:2D)^AVG,
        0^ABOVE,
        AVG^VAL,
        -/VALUES[VAL]^VAL,
        DO{+(/VALUES[VAL],QTY)^VAL @Add(QTY,ABOVE),
                                 ""^/VALUES[VAL]},
      ""^VAL,
        DO{+/VALUES[VAL]^VAL ""^/VALUES[VAL]}

7)      File and translate that macro

8)      File and translate your report again

I think that should do the trick.

Good luck,

Brian Schmit
Sr. Programmer, Picis
Direct: 781 557 3315
Fax: 781 557 3140
100 Quannapowitt Parkway
Suite 405
Wakefield, MA 01880
[EMAIL PROTECTED]
www.picis.com

Please visit http://www.picis.com/services/technical/npr.asp# for additional 
information about our NPR Report Writing Trainings.

The information in this email is confidential and may be legally privileged. It 
is intended solely for the addressee. Access or use by any other person to this 
internet email is not authorized and may be unlawful. If you are not the 
intended recipient, please delete or destroy this email. If you do not wish to 
receive future emails from the sender, please reply directly to this email 
requesting you be removed from any mailing list.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bruce Conner
Sent: Thursday, August 17, 2006 10:38 AM
To: [email protected]
Subject: [MEDITECH-L] NPR help


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