Debra,

There is an NPR Z routine to add minutes to a time.  However, it also
requires a date.

Syntax %Z.time.add(A,B,C)
Description Takes date and time and adds a number of minutes to return
new date and time
Arguments
A = internal date (YYYYMMDD)
B = time (HHMM)
C = number of minutes to add (may be negative)

Returns New date and time

For example:

DFT=%Z.time.add([ANS,"date QUERY"]|0,[ANS,"timeQUERY"]|0,15)

I entered "T" for date, and 0800 for time.

The attribute returned 20070521815 (with two trailing spaces)

DFT=(%Z.time.add([ANS,"NI.TEST.DT"]|0,[ANS,"NI.TEST.TM"]|0,15))%8

Returns 815 (with two trailing spaces)


 
I'm sure this can be cleaned up a bit to provide "military time".

Brian




-----Original Message-----
From: meditech-l@MTUsers.com [mailto:[EMAIL PROTECTED] On Behalf
Of Debra Graham
Sent: Friday, May 18, 2007 3:20 PM
To: meditech-l@MTUsers.com
Subject: [MEDITECH-L] Attribute for addition to a time query


Hello L'ers!

The archives have been so helpful for our EDM go-live coming soon.  One
(of many) problems I still have:

On restraint flowsheet and frequent vital sign (for blood admin) I would
like to enter a
"Start time"  and then each following time query add 15 min -- or 60 min
per the policy parameters - My intentions are good -- my results poor.

But none of the following work -- they will all file, but come up with
weird results.

DFT=([ANS,"QUERY"]|0+"T+15mm")  If I put 1000 in my start, I get 1J+26DC
==what does that mean?

DFT=([ANS,"QUERY"]|0+"T+15")


DFT=([ANS,"QUERY"]|0+T+15)

DFT=([ANS,"QUERY"]|0+15mm)  Can I add to a time query?

Please provide examples if possible.

Thanks



Debra Graham
EDM is 53 days away from implementation!





From: meditech-l@MTUsers.com [mailto:[EMAIL PROTECTED] On Behalf
Of Deb Carpenter
Sent: Wednesday, May 16, 2007 5:19 PM
To: meditech-l@MTUsers.com
Subject: [MEDITECH-L] RAD Campus Setup


I am looking for someone that is using the Magic RAD Campus feature.  We
are currently running Meditech 5.61 and have a need to enable the Campus
feature for a clinic that we are bringing on board July 1.

I am trying to find out how other modules are affected if we turn the
Campus parameter on.  How is BAR affected, SCH, ADM, etc?

Once we set up the RAD parameters and define the Campus Dictionary, what
other type of setup needs to happen to make it functional?

Any information at all would be appreciated.

Thanks,

Deb Carpenter
Solutions Development Analyst
AHIS - St. Joseph Regional Medical Center
415 6th Street
Lewiston, ID  83501
208.799.5780
[EMAIL PROTECTED]


NOTE: This e-mail message may contain information that may be
privileged, confidential, and exempt from disclosure. It is intended for
use only by the person to whom it is addressed. If you have received
this message in error, please do not forward or use this information in
any way. Delete it immediately, and contact the sender as soon as
possible by the reply option or by telephone at the telephone number
listed (if available). Thank you. 

=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
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
meditech-l@MTUsers.com
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to