All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
look at the calculation line: ((140-AGE*BW:2D)/SRCR)*F}^CRCL;
If you don't have SRCR defined, you're dividing by 0, can't do it ->goodbye.
If your patient doesn't have an SRCR value, change the calculation line to
((140-AGE*BW:2D))*F}^CRCL;
This is the same as using SRCR = 1, a good "normal" value.
Then let your end users know that the calculation is using an assumed value =
1.
(Also, have your lab contact person give you an SRCR value for your TEST
patient so you can really test it.)
good luck,
Alan Miller, RPh
Catawba Valley Medical Center
>>> "Gifford-Cook, Leslie" <[EMAIL PROTECTED]> 03/06/2006 15:19 >>>
All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
I have opened a task with Meditech, but often this list is faster so I
am posing my question here too.
I am trying to create a new rule in PHA to calculate creatinine
clearance based on IBW instead of ABW. I basically copied our old rule
and modified it based on a rule example I had received from the list
before, but it is crashing to the desktop when I run it. Can anyone see
where I went wrong? We are Magic 4.9 Sr2.
1) REFCREAT2 - Attached to the drug on Pg 4.
Mnemonic REFCREAT2 Print On Order
History
Active? Y Print From PCI
Description References CREAT.2 Rule IBW POM Enabled?
N
Data Flds from RX Evaluate at
MED
Eval Stock Meds
IF{[f rx calc]("CREAT.2")^CRCL_.=.;
("Estimated Creatinine Clearance:",CRCL,"ml/min.")^X,[f rx
msg](X)};
2) CREAT.2 - Referenced from above.
Mnemonic CREAT.2 Print On Order
History N
Active? Y Print From PCI
N
Description Creatinine Clearance IBW POM Enabled?
N
Data Flds from CALC Evaluate at
Eval Stock Meds
IF{IF{[f rx last ver result]("CREAT")^SRCR_.=."No Creatinine
result."^X,
[f rx msg](X),"";
[f pt sex]^SX_.=.;
[f pt oe wt kgs]^ABW_.=.;
[f pt oe ht in]>60^HT_.=.;
[f pt cur age]>11^AGE_.=.} "Creat: "_SRCR_"umol/L. Unable to
calc.clear."^X,
[f rx msg](X),"";
IF{SX="M" 50;45}^S,
IF{SX="M" 1.23;1.03}^F,
S+(2.3*HT)^IBW,
IF{IBW>ABW ABW;IBW}^BW,
((140-AGE*BW:2D)/SRCR)*F}^CRCL;
When I order the med on a TEST patient the system kicks me out. My test
patient does not yet have a Serum Creatinine value. I would have
expected to see a message about no value, or unable to calculate, but
not kicked out.
Leslie Gifford Cook
Clinical Systems Analyst
Information Systems
Phone (705) 743-2121 X 3690
Fax (705) 876-5016
#1 Important Notice - This electronic transmission is strictly confidential to
Peterborough Regional Health Centre and intended to be delivered only to the
addressee. Information contained within the transmission, is protected by
legal, professional and/or other privilege. If you are not the intended
addressee, or not authorized by the intended addressee to receive this
transmission, you must not retain, disclose in any manner, copy, or take any
action in reliance on this transmission. If you have received this transmission
in error, as a courtesy, please notify the sender as soon as possible and then
delete or destroy this message.
_______________________________________________
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