Hi Lorna,

            You already know how to spawn an NPR report from a macro, so
I won't waste your time showing that. I have attached a sample report
with the macro below in it. Basically all you need to do is create a
message with each line going into a simple array (see CREATE.MSG). In my
example I use employee data, you will want to build your report wherever
your data resides (ADM,OE,CWS). Call me if you have questions.

 

Note: If you have identified the user's e-mail address on page 4 of the
MIS USER dictionary then you also have a system to spawn internet e-mail
notifications. 

 

 

macro

"WHR"^/USR1,

@CREATE.MSG,

@CREATE.MAIL.INFO,

@SEND.MSG,

END; 

 

CREATE.MSG

@Title("Employee Address Lookup")^/MSG[1],

" "^/MSG[2],

"The address for employee "[EMAIL PROTECTED]" "[EMAIL PROTECTED]"  was accessed 
by
"[EMAIL PROTECTED]" "[EMAIL PROTECTED]@.user]_"  "_%Z.date.out(@.today)_"
"[EMAIL PROTECTED]"."^/MSG[3]

 

CREATE.MAIL.INFO

Q(^/MSG,/USR1,/USR2,/USR3)^/MAIL.INFO

 

SEND.MSG

%MIS.OA.MSG.auto("",/MAIL.INFO)

 

 

Gordon Dowling

[EMAIL PROTECTED]

Applications Analyst
Huron Perth Healthcare Alliance
Stratford, ON  N5A 2Y6

(519) 272-8210 ext 2268

 

  _____  

From: Johnson, Lorna [mailto:[EMAIL PROTECTED] 
Sent: May 4, 2007 3:09 PM
To: [email protected]
Subject: [MEDITECH-L] OA.MSG dictionary

 

Hello, all,

 

I need to be able to send a message to a user if the response to a query
in SCH is Y.   I have an NPR report set up to send a notice to a
printer, but the user also wants a MOX message sent to someone.   I need
to include the patient's name, Unit #, Acct # (if available), appt
type/description.   I have tried to build the notice in OA.MSG, but it
won't allow me to <get> data fields.    Any suggestions?

 

Thanks,

 

Lorna Johnson

perotsystems(tm)

Tenet Saint Louis Information Services

314-256-3415 (office)

314-256-3550 (fax)

 

Notice: This e-mail (including attachments) is covered by the Electronic
Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may
be legally privileged. If you are not the intended recipient, you are
hereby notified that any retention, dissemination, distribution, or
copying of this communications is strictly prohibited. Please reply to
the sender that you have received the message in error, then delete it.
Thank you.

 

Attachment: rolodex.npr
Description: rolodex.npr

=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.NET.

To check the status of the meditech-l, visit MTUsers.NET.

For help, email [EMAIL PROTECTED]

Visit the MTUsers WikiPedia at MTUsers.NET/mwiki
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to