%Z.time.add(DATE,TIME,MIN) returns |0 = new date, |1 = new time
You cannot add a number of minutes to a time formatted in hhmm because
you've got to carry 1 to the "hours place" at 60 minutes.
Z.time add will do the correct math.
Assuming the folks are working off TODAY, you can do this to default a
time 15 minutes into the future
To default the current time into the start time query:
Query mnemonic = "START"
DFT=%Z.time.out(@.sd)
To default 15 minutes later into the next query
DFT=IF{%Z.time.add(@.today,[ANS,"START"]|0,15)^XXX,XXX|1}
To default 60 minutes later
DFT=IF{%Z.time.add(@.today,[ANS,"START"]|0,60)^XXX,XXX|1}
The | is the pipe character
Joe Cocuzzo
Vice President
NPR Services
Iatric Systems, Inc.
Phone/Fax: (978) 805-4115
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Web: www.iatric.com <http://www.iatric.com>
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Debra Graham
Sent: Friday, May 18, 2007 4:20 PM
To: [email protected]
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: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Deb Carpenter
Sent: Wednesday, May 16, 2007 5:19 PM
To: [email protected]
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] <mailto:[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
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l