I hope someone can help me with this.  I found in my notes from an
Iatrics Attribute class on How to send a mox message from a macro.  I am
trying to send a mox message whenever this Departmental Requisition is
ordered to specific users.    The problem I have encountering is the
first two TEXT LINES  are printing information but the other information
is not printing.  The first two line queries  come from the category
cds. The other line queries come from the procedure cds.    

The following queries are multiple queries "OEMR4" (TEXT LINE 4)and
"OEMR6" (TEXT LINE 6).  Do the call for multliple queries have to
structured differently?

Macro: MIS.USER.zcus.plc.macros.M.mrmox
A^ANS,
@BUILD.MESSAGE,
Q(^/TEXT,"MIS.PLC"!"BUS.TBS")^OAMSG,
%MIS.OA.MSG.auto("",OAMSG);

BUILD.MESSAGE
"Patient:"_[ANS,"OEMR10"]|0_"  "_"Date of
Service"_[ANS,"OEMR3"]|0^/TEXT[1],
"Account No:"_[ANS,"OEMR11"]|0_"  "_"MR#"_[ANS,"OEMR12"]|0^/TEXT[2],
" "^/TEXT[3],
"Send Records to:"_[ANS,"OEMR4"]|0^/TEXT[4],
" "^/TEXT[5],
"Add'l Notes"_[ANS,"OEMR6"]|0^/TEXT[6],
" "^/TEXT[7],
"Certified with Return Receipt?"_[ANS,"OEMR5"]|0^/TEXT[8],
"Phone No:"_[ANS,"OEMR1"]|0^/TEST[9]


The attribute on the query: OEMR13
DFT="Y"
[EMAIL PROTECTED]"Y" %MIS.USER.zcus.plc.macros.M.mrmox(ANS)}

I wanted the query to default to "Y" and launch the macro.  The query
is the first one on the cds.  My understanding of the benefit to sending
a mox message thru a macro is that the msg is not sent until the order
is filed so the query data is available to transmit within the mox
message.  Is this right?

Any help with this would be appreciated.!

Thank you in advance,
Pat 



Pat Crigler, MT(ASCP)
Clinical Analyst
Culpeper Regional Hospital
P.O. Box 592 
Culpeper, VA 22701
Phone:(540) 829-5733
Fax: (540) 829-5026
Email: [EMAIL PROTECTED]


=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
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