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

Hello Tara,
I assume that you want to place patient address information on a report
written in ABS.PAT. The only problem is that ABS is only open to MIS,
and there aren't any patient addresses stored there. So you will need to
get the data from either BAR, ADM, or MRI.

Probably the easiest would be to use demo recall fields, stored in
MRI.DRC:

@MRI.DRC.pat.street
@MRI.DRC.pat.street2
@MRI.DRC.pat.city
@MRI.DRC.pat.state
@MRI.DRC.pat.zip

You will however first have to open up MRI to your ABS report. You can
do this via the following footnote:

AL START %Z.rw.fragment("",<YOUR MRI APPL DB HERE, EX: "MRI.SPN">)

Then, just create computed fields to return your data, like so:

xx.pat.street
DAT=FREE
LEN=30
[EMAIL PROTECTED]@mri.urn]

You will need to subscript your fields with the pointer field, @mri.urn,
so that Meditech knows where to find your field. This is also the reason
MRI is the easiest method for you. ADM also has a pointer, @adm.urn,
however you need to go past ADM's purge parameters, so that one is out.
With BAR, you would need to find the account associated with the account
number, which requires additional coding, or an actual fragment
(utilizing the BAR.PAT.number.x index). This leaves MRI as your logical
choice.

This method is quicker than doing a real fragment report due to the
reduced overhead of not having to call an actual fragment.

Good luck!

Thank you,
Mitch Lawrence
Senior Applications Analyst - Advanced Report Writer
General Financials Support
CHRISTUS Information Management
Tel: 361.881.3408  Fax: 361.888.6117
Mob: 361.549.8456  AIM: a1d13  MSN: [EMAIL PROTECTED]
[EMAIL PROTECTED]

If someone has "Made your day", send them a Spirit Buck! 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tara Mcnamara
Sent: Thursday, August 24, 2006 7:03 AM
To: Meditech L
Subject: [MEDITECH-L] magic NPR report help

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

Hi All,
    I am wrote a report to get addresses, but I had to do it out of
ABS.PAT
because a query that is answered and identifies a group of patients and
the
fact that they want patients form 3 years ago. I need to get the
addresses,
so I tried to frag over to BAR to get them, but that is not working.
Does
anyone have a similar report or ideas on how I can do this?

Thanks

Tara McNamara MT (ASCP)
Meditech Analyst
Rehabilitation Hospital of the Cape and Islands
Ph: 508-833-4025
Fx: 508-833-4056
[EMAIL PROTECTED]

Confidentiality Note: This email is intended only for the person(s) or
entity to which it is addressed and may contain information that is
privileged, confidential or otherwise protected from disclosure.
Dissemination, distribution or copying of this email or the information
herein by anyone other than the intended recipient, or an employee or
agent
responsible for delivering the message to the intended recipient, is
prohibited. If you have received this email in error, please destroy the
original message and all copies.



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


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

Reply via email to