All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
Jan:
Try some of these examples:
REQUIRED
The following attribute can be used to make a query required only for a
specific patient status (ie, ADM IN, ADM INo, ER and SDC):
[EMAIL PROTECTED](@ADM.PAT.status.type.out'="IN"'="SDC"'="ER")!
REQI=(@ADM.PAT.observation.patient="Y")
-------------------------------------------------------
Attribute to require a query response based on a patient's Admission
status
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.
-------------------------------------------------------
Attribute to Make Query Required Only for Specific Patient Type
The following attribute can be used to make a query required only for a
specific patientstatus (ie, ADM IN, ADM INo, ER and SDC):
[EMAIL PROTECTED](@ADM.PAT.status.type.out'="IN"'="SDC"'="ER")!
REQI=(@ADM.PAT.observation.patient="Y")
-------------------------------------------------------
[EMAIL PROTECTED]"REG ER" 1;""}
[EMAIL PROTECTED]"REG ER"
Two things:
1) This IFE attribute will not determine whether or not the query is
required, it only determines whether the cursor will stop in the query
response field. If you make it a required query but the IFE attribute
causes the cursor to skip, the user will be hung in a loop with an error
message regarding a required field!
Instead, make your attribute an REQI type and do not answer the required
column on the CDS Dictionary. To NOT make this required in the ER, use
this:
[EMAIL PROTECTED]'="REG ER"
If you don't want the cursor to even stop in the query response, use:
[EMAIL PROTECTED]'="REG ER"
2) Your original attribute used @ADM.PAT.status. This is correct in
NPR but in MIS attributes, you must use @p.ADM.PAT.status. The
difference is only the "p." between the @ and the ADM.PAT... but it
makes the difference between working and not.
----------------------------------------------
Here's an attribute that is only required if the patient's location is
ER, and they are
female between the ages 14 and 55. This is set up for 2 different ER's.
REQ=IF{(@p.ADM.PAT.location="E.ER")!(@p.ADM.PAT.location="M.ER")}&
REQ=IF{(@p.ADM.PAT.sex="F")&(@p.ADM.PAT.age>14)&(@p.ADM.PAT.age<55)}
-----------------------------------------------
ANSWER:
Hi Bill,
Thank you for your help. I ended up using your attributes as a basis
and tweaking a few things to make this work. Here is what I have.
Patients over 17 & SS# not matching Guar SS#:
[EMAIL PROTECTED]'[EMAIL PROTECTED]
IFE=&(%Z.age.in.years(@t.ADM.PAT.birthdate,@.today-0)>17)}
[EMAIL PROTECTED]'[EMAIL PROTECTED]
REQ=&(%Z.age.in.years(@t.ADM.PAT.birthdate,@.today-0)>17)}
Patients under 17 & SS# matching Guar SS#:
[EMAIL PROTECTED]@t.ADM.PAT.guar.soc.sec.number
IFE=&(%Z.age.in.years(@t.ADM.PAT.birthdate,@.today-0)<18)}
[EMAIL PROTECTED]@t.ADM.PAT.guar.soc.sec.number
REQ=&(%Z.age.in.years(@t.ADM.PAT.birthdate,@.today-0)<18)}
QUESTION:
I need help with an attribute for an ADM CDS. We need to have the staff
verify that a patient over 17 is entered as their own guarantor and
patients under 18 are not their own guarantor.
I need to stop and require a response at a query if the patient's age
(ADM.PAT.current.age) is >17 (query ADM.GUAR1) and the patient's SS#
(ADM.PAT.soc.sec.number, query ADM.GUAR3) is not equal to the
guarantor's SS# (ADM.PAT.guar.soc.sec.number, query ADM.GUAR5).
I also need to be able to make another query and attribute that stops
and requires a response if the patient is <17 and the patient's SS# is
equal to the guarantor's SS#.
I have tried all kinds of different things and can't get this to work.
Right now I have warning message popping up based on the age asking the
users to visually verify the numbers but they just answer Y that they
verified and do not look at the information. Our managers want this to
only stop IF there is a problem with the data being incorrect for the
patient's age
---------------------------------------------------
[EMAIL PROTECTED]'="TN" 1;""}
[EMAIL PROTECTED]'="TN" 1;""}
[EMAIL PROTECTED]"Y" %MIS.OA.MSG.auto("ADM.KATRIN",Q)}
----------------------------------------------------
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
-------------------------------------------------------
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 Lisee, Jan
Sent: Thursday, June 08, 2006 8:08 AM
To: Meditech-L (E-mail)
Subject: [MEDITECH-L] Attribute on an NUR screen question
All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
I'm trying to get a query to be required on ALL INPATIENTS.
I tried to use the ADM.PAT.status.type standard field to identify the
inpatients ("IN").
[EMAIL PROTECTED]"IN" - But this will not file!
When I changed the p (permanent) to a t (temporary) =
[EMAIL PROTECTED]"IN"
it would file, but it did not work. This is not correct
anyway.....Status type is really a permanent field.
I tried filing the p version as an REQ and an IFE, but it still would
not file. According to my reference materials, this should be correct.
I do not know what the problem could be.
Janice B Lisee, RNC BSN
Senior Systems Analyst
Frederick Memorial Hospital
Frederick, Maryland 21701
240-566-3437
mailto:[EMAIL PROTECTED]
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l
**********************************************************************
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