[MEDITECH-L] CDS attribute question.

74 views
Skip to first unread message

Barry Snow

unread,
Sep 12, 2008, 11:58:27 AM9/12/08
to MEDITECH-L

I have written an attribute to default allergy information from the Order
Entry administrative data screen into a CDS in our O/R scheduling. The
default works good except that it does not display the information until the
cursor is on the field. This makes perfectly good sense from a programming
perspective by it would be very nice if there was some way to have the
information displayed as soon as the CDS is called.

Is there any way that I can do this ? Any help would be greatly
appreciated

Here is my screen;
SCH.ORPRTY 2 1 PRIORITY:
SAME 19 Y
SCH.ORCANC 3 1 CANCER CONFIRMED: SAME 19
SCH.REFDAT 1 40 DATE RECEIVED:
SAME 64 Y
SCH.DTTDAT 2 40 DECISION TO TREAT DATE: SAME 64 Y
SCH.DELAYN 4 40 DELAYED:
SAME 49 Y
SCH.DELAYR 4 52 REASON:
SAME 60 *
OELAT 5 1 Latex Allergy:
SAME 16 *
OEALL1 6 1 Allergies:
SAME 15 *


Here is my attribute;
DFT=@p.ADM.PAT.ccdqr.response["OELAT"]
FCL1=IF{(/OELAT<1)&(@.response'=@.response.old)}
FCL1A=2^/OELAT,@W.yes.no("Are you sure ?")

________________________________
Barry Snow
Western Health
P.O. Box 2005
Corner Brook, NL, Canada
A2H 6J7
(709) 637 - 5000. Ext 6255

<file:///C:\Documents%20and%20Settings\barrysnow\My%20Documents\Humor\leafs\
Little%20Leaf%20Logo.jpg>
Go Leafs Go !

====================================

Keep up to date on recent announcements about MUSE by visiting the meditech-l web site at MTUsers.net and go to the tab labeled "MUSE - Dallas 05/08"

If you want to ask a question from the meditech-l users who will be attending MUSE or share something about MUSE with each other, you can post messages on the web site on the tab "MUSE - Dallas 05/08"

Kenny Whiteside

unread,
Sep 13, 2008, 9:24:16 AM9/13/08
to bs...@healthwest.nf.ca, MEDITECH-L
Barry,

You can place an IFE attribute on the first query on the screen that
will default the value to another query. However, since IFE attributes
are not intended for this purpose, you will have to manually send the
value to the screen in the proper location. To the user... it will
simply appear as though the value was there when the screen was opened.


If you need some help, let me know.

Kenny Whiteside

Kenny Whiteside BSN, RN
Patient Care Information Systems
Catawba Valley Medical Center
810 Fairgrove Church Road
Hickory, NC 28602
kwhit...@catawbavalleymc.org

Catawba Valley Medical Center
810 Fairgrove Church Rd
Hickory NC 28602
828-326-3000

"This electronic message may contain information that is confidential
and/or legally privileged. It is intended only for the use of the
individual(s) and/or entity named as recipients in the message. Please
notify the sender immediately and delete the material from your computer
if you have received this message in error. Do not deliver, distribute,
or copy this message, and do not disclose its contents or take any
action as a result of the information it contains. Thank you."

>>> "Barry Snow" <bs...@healthwest.nf.ca> 9/12/2008 11:58 AM >>>

====================================

--
This message has been scanned for viruses and
dangerous content, and is
believed to be clean.


--
This message has been scanned for viruses and
dangerous content, and is
believed to be clean.

Therese Ortloff

unread,
Sep 15, 2008, 9:25:38 AM9/15/08
to Kenny Whiteside, bs...@healthwest.nf.ca, MEDITECH-L
Kenny,
Could you explain in more detail on how to accomplish what you suggested? I could use that also.

Therese A. Ortloff RN
Clinical Applications Specialist I
Clinical Information Systems
Alexian Brothers Health Systems
3040 Salt Creek Lane
Arlington Heights, IL 60005-1069
(847) 818 -5119 (tie 773-5119)
ortl...@alexian.net


>>> "Kenny Whiteside" <kwhit...@catawbavalleymc.org> 9/13/2008 8:24:16 AM >>>
Barry,

Kenny Whiteside

====================================

====================================



CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

Kenny Whiteside

unread,
Sep 15, 2008, 1:23:18 PM9/15/08
to Therese Ortloff, bs...@healthwest.nf.ca, MEDITECH-L
Hi Therese,

Several folks have inquired so I'll send this out to all of L-Land!

The ADM.PAT DPM stores the "last filed response" for each query. This
is referenced in attributes as @p.ADM.PAT.ccdqr.response["QUERY"]
(replace QUERY with the desired mnemonic). The "temporary,
not-yet-filed" response for any query on a CDS is stored as
/[ANS%0,"QUERY"]|0 (although it's value can be referenced as
[ANS,"QUERY"]|0.

On any query.... you can manually assign a value to ANY query on the
CDS! If you want to assign the last filed response to QUERY.1 to
QUERY.2 that is on your current CDS immediately when you open the
screen, just use an IFE attribute on the very first query. Be sure that
the final value is non-nil so that the cursor will stop in that query's
response after running the attribute logic (most of us use the number
one as a non-nil value).

So the attribute below would work:

IFE=IF{@p.ADM.PAT.ccdqr.response["QUERY.1"]^/[ANS%0,"QUERY.2"]|0;1}

However.... since the IFE attribute's intended purpose is NOT to
default.... the value to the query will not display on the screen until
the cursor "lands" in the query. (This doesn't hurt anything but can be
unsettling to the end user.) This is not a problem if the query that we
have assigned the value to is on another page as the screen is updated
when that page loads. If, however, the query is on the same page and we
really want it displayed immediately..... we can do this by adding a
little more logic!

The P(R,S,VALUE)^# logic is used to display a value on the screen. The
variable R is a system define variable that has the value of the row
number where the cursor is positioned. The S is the same but represents
the column number. P is the Position function and tells the computer to
position the cursor at row # (value of R) and column # (value of S) and
then send the value located after the S to the computer screen
(represented as #).

So if we want to do both assign the value to QUERY.2 and send it to the
computer screen immediately (we're going to say that QUERY.2's response
is located 5 rows below and 10 columns to the right), we would use:

IFE=IF{@p.ADM.PAT.ccdqr.response["QUERY.1"]^/[ANS%0,"QUERY.2"]|0^DR
P(R+5,
IFE=S+10,DR)^#,1;1}

Note that I assigned the previously filed response value to both the
temporary response for QUERY.2 as well as to a variable DR. Then when I
send that value to the screen, I can simply use DR to represent the
value that needs to display.

You can also subtract from the value of R and S if you need to display
the value above or to the left of the current cursor position.

Also, be certain to KEEP the single space that is located in the first
line between DR and P! There should be no spaces at the end of either
the first or second line as these are sometimes added by the email
editors when copy/pasting.

Hope this makes sense and that you find it helpful,
Kenny Whiteside


Kenny Whiteside BSN, RN
Patient Care Information Systems
Catawba Valley Medical Center
810 Fairgrove Church Road
Hickory, NC 28602
kwhit...@catawbavalleymc.org

>>> "Therese Ortloff" <ortl...@alexian.net> 09/15/2008 9:25:38 AM >>>

Therese Ortloff

unread,
Sep 15, 2008, 1:55:48 PM9/15/08
to Kenny Whiteside, bs...@healthwest.nf.ca, MEDITECH-L
Thanks, Kenny

>>> "Kenny Whiteside" <kwhit...@catawbavalleymc.org> 9/15/2008 12:23 PM >>>

Reply all
Reply to author
Forward
0 new messages