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

Hi Michelle,

The report could be written in LAB.C.ACT  
from the detail segment of lab.c.activity.by.patient

I'm guessing that you can build yourself a list of tests numbers in a
macro like ...


1^/TEST[200.06300],
1^/TEST[204.04521],
1^/TEST[204.21212]

Then in the report the easiest thing would be to call a fragment that
already exists for your results. Then once that is working, copy it and
do your own fragment.

Look inside the fragment to see how it is called (check the /R.FRAG.
Variables on page 2)

You'll need to put a select onto the fragment to select a specific
status and a specific abnormal flag length

Field: xx.abnormal.flag.length
         VAL=L(@abnormal.flag)

SELECT: xx.abnormal.flag.length               NE
              "0"

Call the report from a line check on the LAB.C.ACT report and ... Bob's
your uncle

Good luck

John Toop
Humber River Regional Hospital
Toronto, Ontario
(416) 249-8111 x 8019
[EMAIL PROTECTED]
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pivonka, Michelle
Sent: Wednesday, August 16, 2006 2:48 PM
To: [email protected]
Subject: [MEDITECH-L] Magic NPR LAB report

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

The Pharmacists want a report that prints out every morning that lists
the patients with abnormal results for 22 different tests.

Example:

Serum Carbamazine > 12 MCG/ML

     Doe, John, room #,  Acct #

Digoxin Level >2NG/ML

     Smith, Jane Room #,  Acct #

Does anyone have something like this that I can use or adapt?  THANKS IN
ADVANCE for any and all help you can give me. I am assuming that I need
to use macros since there are 22 different lab results.

Michelle Pivonka, RN

Systems Analyst

Information Services

Sinai Health System

(773) 257-6020

[EMAIL PROTECTED]

www.sinai.org

"A pessimist sees the difficulty in every opportunity; an optimist sees
the opportunity in every difficulty."
Sir Winston Churchill 

_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to