Hi Dawn,

I created calculations to pull the date & time of last dose queries onto
the T-test result as a comment for therapeutic drugs. This is what the
calculation for Lithium looks like. The queries are OELITHD and OELITHT.

........................................................................
...............................

;This calc pulls LITHIUM query responses into canned text result
comments. If no

;reponse to the queries, no result comment is added.

;

[q OELITHD]^D,

[q OELITHT]^T,

IF{(D+T) LI_";$LITHQ";[f lres nop]};

........................................................................
.......................

 

The corresponding canned text (LITHQ) looks like this:

 

Date/Time of last Lithium dose: [q OELITHD] at [q OELITHT]

------------------------------------------------------------------------
--------------------------

 

I can't take credit for all that - it came from the list when I needed a
solution to get dose information with the result on summary reports. : )

Hope it helps with what you need.

 

Britt Watters, MT (ASCP)

Laboratory Systems Analyst

Bartlett Regional Hospital

[EMAIL PROTECTED]

p: (907)796-8643

 

 

 

Date: Mon, 30 Jul 2007 19:36:45 -0400

From: "Dube, Dawn" <[EMAIL PROTECTED]>

Subject: [MEDITECH-L] Query into a Lab Result

To: "MeditechL" <[email protected]>

 

Does anyone have an example of a lab calculation to pull the result from
a query into a lab t-test?

Or Know how to default a query result  into a [f query] type data field
of a lab canned text?

I'm halfway there, but could use some suggestions :-)

Thanks in advance, 

Dawn Dube, MT (ASCP)

Laboratory Information Systems Analyst

Exeter Hospital <http://www.foreveryday.com/index2.htm> 

5 Alumni Drive, Exeter NH 03833

PH: 603.580.6669 FX: 603.580.6746

 

 

=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit 
http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com

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

For help, email [EMAIL PROTECTED]

Please visit and add information to the MTUsers WikiPedia at MTUsers.NET/mwiki
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com

Reply via email to