All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
About 1 month ago I put a request on the L for info regarding using
The Capella Technologies alarm for a Lab Stat printer. It does work.
This message is strictly to document how we got it to work for future users.
I am not necessarily advocating the product. I'm just trying to avoid
future users the challenges of setup we went through.
Many thanks to Joe Cucuzzo from Iatrics who gave me an idea and possible
code to start.
The final solution we came up with.
To sound the alarm is very simple
In a CLOSE UP macro, add
IF{/R.FOUND "~AM6~"^!}
We used the /R.FOUND so that the alarm would only ring if it actually found
a value (not every time the report runs)
The more challenging part was to get a custom format where we could all the
close up macro.
Meditech has a knowledge base 17105 that did NOT work in our situation. We
must have had
Our labs and mics setup different. HOWEVER, the KB 17105 did provide info
on page 3 for the setup that did work. The macro did not work for us.
It was important for us that only one stat report prints out for all the
MICs, or 1 report for all the Labs.
Below is the report format I came up with. There is probably/(likely) a
better way to write it, but this seems to work. Basically I used KB17105 and
modified the macro.
Herb Bromenshenkel RPh/Clinical Analyst
North Country Health Services
1300 Anne St. NW
Bemidji, MN 56601
[EMAIL PROTECTED]
V: 218-333-5527
F: 218-333-5889
Report DPM OE.ORD Report Name zcus.plbm2
Report Title ** Multiple Order Requisition Form **
Active Y Last Edit By HAB Date 04/25/06 Time 1019
Detail DPM OE.ORD Detail Segment oe.order
Index DPM Index File
Sort Field Order Header Trail
1 category ASC NONE Y
2 procedure.mnemonic ASC NONE N
3 urn ASC NONE Y
4
5
Select Field/Prompt or Value Oper/Default or Keywo
1 urn LI
/URNLIST2
2 xx.flag IG
"Y"
3 category EQ
"LAB"
xx.flag
DAT=FREE
JFY=L
LEN=1
VAL=FL
******** MACRO INFO **********
AL START setup
;Loops through orders. Finds first one that is stat and prints
;all the stat ones. Only prints for 1st stat (but loops and grabs others).
;
/urn^NOW,
""^MF,
NOW#"0."_.999^urn,
@Prev(urn)^ULAST,
@CHECK.FIRST,
IF{NOW=MF @BUILD.LIST}
CHECK.FIRST
NOW#"0."^urn,
[EMAIL PROTECTED](urn)'>ULAST urn^NURN,
IF{'MF,
[EMAIL PROTECTED]"S"&(@category[NURN]="LAB")
NURN^MF}}}
BUILD.LIST
NOW#"0."^urn,
[EMAIL PROTECTED](urn)'>ULAST urn^NURN,@CHECK.FORMAT}
CHECK.FORMAT
IF{NURNP="S"&(@category[NURN]="LAB") 1^/URNLIST2[NURN]}
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l