Sharon:

 

Here are several ideas to try and add 60 minutes to @.now or use an npr
report to default the @.now+60min into a query and add that query to the
sts brd.

 

These are attributes to calculate the #hrs old a newborn is (why I do
not know, but someone wanted it).

 

Here is the output:

 

       Date: 11/23/04         Time: 1616

   ADMIT DT: 08/04/04     ADMIT TM: 0901        HRS OLD: 2664

 

OEDATEDFT  1   9   Date:

IFE=IF{%Z.date.out(@.today)^/VAR1,

IFE=/VAR1^/[ANS%0,/S.LAST.QUERY]|0,P(R,S,/VAR1)^#,""}

 

OETIMEDFT  1   32  Time:

[EMAIL PROTECTED]/TM1

 

OEADMDT    2   5   ADMIT DT:

IFE=IF{%Z.date.out(@p.ADM.PAT.admit.date)^/VAR2,

IFE=/VAR2^/[ANS%0,/S.LAST.QUERY]|0,P(R,S,/VAR2)^#,""}

 

OEADMTM    2   28  ADMIT TM:

IFE=IF{P(R,S,@p.ADM.PAT.admit.time^/[ANS%0,"OEADMTM"]|0)^/TM2,

IFE=/TM2^#,""}

 

 

OENBNHRS   2   50  HRS OLD:

 

IFE=IF{(%Z.date.sub([EMAIL PROTECTED],

[EMAIL PROTECTED])*24)^/[ANS%0,"OENBNHRS"]|0^ZLOS,

IFE=P(R,S,ZLOS)^#,""}

 

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

ATTRIBUTE TO ADD 60 MINUTES TO NOW

 

YOU CAN USE @.now 

 

OR

 

DFT=%Z.time.out(S(0)) TO GET THE CURRENT TIME

 

OR

 

/

NOW YOU WANT TO ADD 60 MINUTES TO NOW OR QUERY RESPONSE TIME:

 

DFT=%Z.time.add(@.today,@.now,0-60)

 

I AM CLOSE...

 

HERE IS WHAT I HAVE NOW

 

DATE: [EMAIL PROTECTED]

TIME: [EMAIL PROTECTED]

COMMENT: DFT=%Z.time.add(@.today,@.now,0-60)

 

THIS SHOULD BE SUBTRACTING 60 MIN FROM TODAY AND NOW (CURRENT TIME IS
848PM)

 

      DATE: 01/04/07

       TIME: 2048

Comment: 20070104948     ??

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

xx.fudatemod

DAT=DATE

LEN=8

[EMAIL PROTECTED]"NUR70901A"]="Y"
%Z.date.add(@ccdqr.response["NUR70903"]

VAL=,4)}

 

  NUTRITIONAL RISK LEVEL

 

Date Last Seen: 01/02/07   THIS IS QUERY "NUR70903"

         High Risk:

 Moderate Risk: Y      THIS IS QUERY "NUR70901A"

         Low Risk:

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

SO AS DOCUMENTED ABOVE IN NUR INTERVENTION

THIS IS THE NPR REPORT OUTPUT FOR DIETARY SCREENING

 

 DATE LAST SEEN : 01/02/07

 

          RISK LEVEL: MODERATE

 

FOLLOW-UP DATE: 01/06/07 

 

(WE TOOK THE QUERY RESPONSE TO MODERATE RISK AND ADDED 4 DAYS TO THE
RESPONSE OF DATE LAST SEEN, QUERY=NUR70903    01/02/06+4DAYS= FOLLOW-UP
DATE OF 01/06/07)

 

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

This is a macro, but similar logic could be used in a computed field and
call that field/report from a query attribute, or use this syntaz to
default the time of now+60min

 

; this is set to show the patients registered in the last 1hour.  Edit
the minutes

; below to change.

%Z.time.add(@.today,@.now,0-60)^START,

(START|0)^/STARTDATE,

(START|1)^/STARTTIME,

;   Refresh time is set here also

IF{'/END DO{ZZ%OP(!S,[EMAIL PROTECTED]),15!0^!S,E(!S)^KEY,C(!U)&'OUT 1,

                                                           IF{KEY=27
1^/QUIT^OUT;

                                                              KEY=147
1^OUT;

                                                              KEY
1^OUT^/SKIP;

 
1^OUT}}},EXIT;

 

SCOPE

(#)

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

The syntax for adding 60 minutes to @.now or even @ccdqr.query.time
change the val statement below to add 30 minutes to the time the pain
med was given or query response answered.

 

VAL=IF{(%Z.time.add(@.today,@.now,0+60)^TI}

 

Or

 

ANSWER:

I am using this format on one of my reports.

 

In the SELECT:

xx.date.time.sel   EQ

"1"

 

Then the computed field of xx.select.time.sel is:

DAT=FREE

JFY=L

LEN=1

VAL=IF{(%Z.time.add(@.today,@.now,0-40)^TI),(@admit.date'<(TI$9%0)&

VAL=(@admit.time'<(TI%9))) 1}

 

This brings in everything in the last 40 minutes. If you were to change
the

0-40 to 0-60, it would be the last hour. This happens to be attached to
an

admit date/time. The rest of the coding is set for the over midnight
time to

adjust for the day.

 

The report runs every 40 minutes, and sends the admits from that time
period

to a script.

 

QUESTION:

 

Is there any way to calculate the previous hour time range and default
that

into a NPR report? For example we have a report that prints every hour
for the

previous hour.  The report has a From time and Thru time prompt.  If
using

dates we can do T-1 thru T-1 for the previous day but

there does not appear to be an similar function for time.   Any help

will be appreciated.  TIA

 

________________________________

From: Bill Mullins 
Sent: Wednesday, January 03, 2007 4:51 PM
To: '[EMAIL PROTECTED]'; [email protected]
Subject: RE: [MEDITECH-L] time link from EMAR to Status Board?

 

Sharon:

 

When we did EMAR/BMV years ago, we would default query data from the
EMAR admin screen to NUR and vice -versa,

When the nurse did a bedside glucose and it was high, when she went to
document insulin admn, that last blood sugar value she had just recorded
in NUR defaulted onto the EMAR screen.

 

The same would happen if the data was first entered in EMAR, it would
populate NUR. Just using a simple [EMAIL PROTECTED]"YOUR
<mailto:[EMAIL PROTECTED]>  QUERY"]

 

Now, as far as the status board, you could add a second query to your
admin screen for pain meds and with an attribute add 30-60 mins to it,
so it would look like this:

 

PAIN LEVEL: 6    TIME GIVEN: (NOW)-1630  RE-EVAL: ADD 30-60 MINS TO
@.now (ADD THIS QUERY TO THE STS BOARD) UNDER HEADER OF PAIN RE-EVAL

                                                        1700 (IF YOU
ADDED 30 MINS TO WHEN YOU GAVE THE MED)

 

You should be able to add 30-60 mins to @.now.

 

[EMAIL PROTECTED] (I will need to look for the correct syntax for this, but
I do this with dates (add 3 days to query date or today).

 

 

We have a query that says Patient comfortable with this pain level: and
if No, we default this into the next query:

 

DEFAULT BASED ON PREVIOUS QUERY SAME SCREEN (DATA NOT FILED YET...)

 

DFT=IF{[ANS,"NUR75104B"]|0="N" "*R*"^#;""}

 

We add this query to our sts brd and it appears under heading of Pain Re
Eval

 
*R*

 

Good Luck.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Tuesday, January 02, 2007 8:41 PM
To: [email protected]
Subject: [MEDITECH-L] time link from EMAR to Status Board?

 

Apologies up front - I'm the user, not the analyst, in this scenario.
Because I'm not sure how this is set up, I can't be too specific.

 

When I am using EMAR to pass meds, and I give an analgesic, the system
will pop up a query, asking me for the patient's pain level (0-10). I
must answer that query in order to complete my med administration
documentation process.

 

Given that (in my little pea brain) this pop up must be a query on a
CDS, and must be attached to an intervention, is it possible to make the
filing of this query/CDS/intervention somehow create a message on the
status board that would cue the nurse to complete another intervention
(the pain monitor) within one hour? And if that's not possible, have any
of you come up with a way to remind nurses to document a reassessment of
pain, following the administration of an analgesic?

 

I thought I asked this question last week, but don't remember seeing it
post. Sharon


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. 

This footnote also confirms that this email message has been swept by Sophos 
and MIMEsweeper for the presence of computer viruses.
**********************************************************************

=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.COM.

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

For help, email [EMAIL PROTECTED]
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to