All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
Brandon:
I would make it required if you want to display an error msg.
Or use an IFE on the next query to give the error msg.
Here are some attribute options:
Attribute to Ensure a Valid Response with message (targeted for the NUR
module) Substitute your query mnemonic for QUERY.MNEMONIC
REQI=IF{/S.LAST.QUERY'="QUERY.MNEMONIC" "";
REQI='/S.A @W.err("Enter the most recent order date, or the date,
REQI= or the date initiated if protocol in effect");""}
I use a similar attribute on our EDM Discharge Education screen:
This attribute is on query EDM98004
REQI=IF{/S.LAST.QUERY'="EDM98004" "";
REQI='/S.A @W.err
REQI=("WHO THE PATIENT WAS DC'D WITH IS BLANK, YOU MUST DOCUMENT
THESE");""}
------------------------------------------------------------------------
--
QUESTION:
We have a CDS set up for Advance Directives that is shared between NUR
and ADM through shared queries. Several of the Queries are demo recall;
however, we want to be sure that a pop up reminds the admission reps
(upon readmit) to ask the demo-recall query again if the defaulted
response is "N". We attempted to use the following attribute:
[EMAIL PROTECTED]"N" @W.err("DID YOU CONFIRM WITH THE PATIENT THAT
HE/SHE
FCL1= DOES NOT HAVE AN ADVANCE DIRECTIVE?")}
However, when the field is being populated by demo recall, the message
does not appear. I am told that the CDS may need to be refreshed
(possibly using the position command).
ANSWER:
The reason that your FCL attribute doesn't work is due to the fact that
the FCL only checks new responses. Any response that is defaulted by
demo recall will not execute the FCL. However, you can use an IFE and
DFT attribute to essentially erase the demo recalled response and then
replace it. This will cause the FCL attribute to then work! Try the
attributes below:
IFE=IF{R^/ZR,S^/ZS,(/[ANS%0,"QUERY"]|0^/TA)&
IFE=(""^/[ANS%0,"QUERY"]|0)&
IFE=(P(/ZR+0,/ZS+0," ":1)^#),1}
DFT=/TA
[EMAIL PROTECTED]"N" @W.return("MESSAGE")}
Be sure to replace the QUERY's with the mnemonic of the query on which
you are placing it.
Kenny Whiteside
------------------------------------------------------------------------
-
Require a response REQ=1
Require if patient location is 1SO [EMAIL PROTECTED]"1SO"
Require if weight is over 150 lbs [EMAIL PROTECTED]>150
Require if user ID starts with "NSG" [EMAIL PROTECTED]"NSG"
Require a response only MON-FRI REQ=%Z.day.from.date(@.today)>1<7
or
REQ=%Z.day.from.date(@.today)'=1'=7
Require a response based on attend dr
is DRXXX [EMAIL PROTECTED]"DRXXX"
Require if previous query is blank
previous query is "QUERYP" REQ=[ANS,"QUERYP"]|0_.=.
or
REQ=IF{[ANS,"QUERYP]|0 "";1}
Require if previous query is not blank
previous query is "QUERYP" REQ=[ANS,"QUERYP"]|0
------------------------------------------------------------------------
TRY THIS ON
It requires the field but not until the user gets to the field..
Therefore users can file the assessment if need be
REQI=IF{/S.LAST.QUERY'="NURPAINYN" "";
REQI='/S.A @W.err
REQI=("Pain is Blank,You must answer Y/N/U ");""}
-----------------------------------------------------------------------
Subject: RE: Conditional require
I got these from someone on the L List.
The prompt stops at the query only if the patient is OP (includes ER,
Day Surgeries, and Med Obs patients). A response is only required if the
patients is an OP or Med Obs and Medicare:
IFE=(@p.ADM.PAT.status%3'="IN")!(@p.ADM.PAT.observation.patient="Y")
REQ=IF{(@p.ADM.PAT.status%3'="IN")&(@p.ADM.PAT.financial,class="MC")!
REQ=(@p.ADM.PAT.observation.patients="Y")&(@p.ADM.PAT.financial.class="M
C")}
The following attribute will require a query to be answered based on
Certain Admission statuses of the patient:
REQI=IF{(@p.ADM.PAT.status="REG CLI")!(@p.ADM.PAT.status="REG REF")!
REQI=(@p.ADM.PAT.status="REG RCR")}
Specific to the above attribute we are requiring this query to be
immediately answered only if the patient has a status of REG CLI, REG
REF or REG RCR. Otherwise, if the patient is any other status, the query
will not be required to be answered.
-----------------------------------------------------------------------
Bill Mullins RN
Williamson Medical Center
2021 Carothers Road
Franklin,Tn 37067
615-435-5630
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Schmit
Sent: Saturday, March 25, 2006 7:20 PM
To: Gauntt, Brandon K.; [email protected]
Subject: RE: [MEDITECH-L] Display error message if query is left Blank?
All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
**********************************************************************
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.
**********************************************************************
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l