[MEDITECH-L] Tricky Default Attribute help NEEDED please :)

33 views
Skip to first unread message

Sandie Davis

unread,
Jan 26, 2010, 11:04:47 AM1/26/10
to medit...@mtusers.com
Hello my L friends,

I'm trying to make a multiple query ANSWER, default into a multiple comment

Query to view only. But it’s just not happening, the default query stays
blank.

Can anyone help out an old dog here?

We are Magic 5.61 and the attribute I'm using is as followings

DFT=@p.ADM.PAT.ccdqr.response["NUR60035a"]

NUR60035a is the multiple query

Any any information would be most helpful.

Thanks to all!

          Sandie Davis

Meditech User Support Analyst

Office (970) 256-6328

Fax (970) 256-6502

http://www.YourCommunityHospital.com

This message may contain confidential and/or privileged information. If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein. If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message. Thank
you for your cooperation.

P Please consider the environment before printing this email


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

Please do NOT send messages that ask "Please post to the list" These are useless messages that just waste the email server's resources. Instead, email the original requester and ask that they send you or post the results of their question.

To UNSUBSCRIBE, go to http://MTUSers.net
for information.

The meditech-l archives (and other tips) can be found at
http://mtusers.net/zarchives

Job opportunities in the Meditech community can be found at
http://mtusers.net/zjobs

Kenny Whiteside

unread,
Jan 26, 2010, 12:24:56 PM1/26/10
to Sandie Davis, medit...@mtusers.com
Hi Sandie,

Defaulting multiple line queries is very different than single line
queries. Perhaps this information will help!

IFE=IF{+/[ANS%0,"QUERY"]M[""];
IFE=""^ZX,
IFE=DO{+(*AA.CCDQR[@t.ADM.PAT.urn,"DFT.QUERY"]M
IFE=[ZX],ZV)^ZX ZV|0^/[ANS%0,"QUERY"]M[ZX]|0,
IFE=IF{ZX'>2 P(R-1+ZX,S,ZV|0:25L)^#}},
IFE=DO{ZX'>2 P(R-1+ZX,S," ":25L)^#,ZX+1^ZX}},1

- Replace each QUERY with the mnemonic of the query on which it is
placed.
- Replace the DFT.QUERY with the same query mnemonic or with the query
mnemonic whose responses are to default.
- Change the two >2’s in the last two lines to the number of response
lines displayed for your query.
- The two 25’s in the last two lines should be changed to the length
of your query response.
- You may replace the 1 at the end with “” to make the response
default
and not be editable. However, if you are defaulting group responses
and you want the name to display, you must either allow the cursor to
move through the responses or you must use a macro call with enough
logic to find and send the name to the screen for the user.

Best wishes,
Kenny Whiteside


>>> "Sandie Davis" <sda...@gjhosp.org> 1/26/2010 11:04 AM >>>
Hello my L friends,

DFT=@p.ADM.PAT.ccdqr.response["NUR60035a"]

Thanks to all!

          Sandie Davis

Meditech User Support Analyst

Office (970) 256-6328

Fax (970) 256-6502

http://www.YourCommunityHospital.com


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


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


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."

Reply all
Reply to author
Forward
0 new messages