[MEDITECH-L] Group response as select lookup

49 views
Skip to first unread message

Berube, Sandra

unread,
Mar 5, 2009, 2:24:24 PM3/5/09
to medit...@mtusers.com

Hi,

Is it possible to get a F9 lookup to a Group Response for a select on
Page 2 of an NPR Report?

The only thing I could find on the Knowledge base was how to select
based on a computed field that assigns the response you want to a value
of 1, but I want the user to be able to select at run time.

Any help is always appreciated.

Sandi Berube

Sr. Application Specialist-IT

Northeast Rehabilitation Health Network

70 Butler Street

Salem, NH 03079

Direct Line-603-890-7637

Fax-603-890-7682

mailto:sbe...@northeastrehab.com

"Life isn't about waiting for the storm to pass, it's about learning to
dance in the rain"

Oliver, Julie

unread,
Mar 5, 2009, 2:38:22 PM3/5/09
to Berube, Sandra, medit...@mtusers.com
Have a look at KB article 27674. We're CS and it worked for us.

Julie Oliver
IT Consultant
Information & Communication Technology
Brant Community Healthcare System
519-751-5544, x4552

Hi,

Sandi Berube

Sr. Application Specialist-IT

Northeast Rehabilitation Health Network

70 Butler Street

Salem, NH 03079

Direct Line-603-890-7637

Fax-603-890-7682

mailto:sbe...@northeastrehab.com


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

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 opportunites in the Meditech community can be found at
http://mtusers.net/zjobs

Kern, Wayne

unread,
Nov 17, 2009, 4:22:53 PM11/17/09
to medit...@mtusers.com
I wrote an NPR report for pharmacy manual dispenses. The prompt is for
disp.man.date. The only related segment I can find is
pha.rx.dispensed.manual.index. The only related index is
pha.rx.disp.manual.admin.index. In both cases, disp.man.urn is the
first field. So the report takes about 10 minutes to run. Does anyone
know of a way to make this faster?

We have Magic 5.61.

Thanks,
Wayne Kern
St. Joseph Medical Center
Towson, MD

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

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

Joe Cocuzzo

unread,
Nov 18, 2009, 9:07:35 AM11/18/09
to Kern, Wayne, medit...@mtusers.com
If you are only looking for current inpatients, you could start with the PHA room bed index to get to the @patient field, then go thru one of the patient indexes in PHA and over to the pha.rx.dispensed.manual.index on those urns.

Alternatively you could use the start date index to go forward thru orders from the beginning disp.man.date, since you can't dispense a med prior to the start date of the order. If they keep to a fairly recent date range, the start date index might be faster than processing the entire segment.

Joe Cocuzzo
Vice President
NPR Services
Iatric Systems, Inc.
Phone/Fax: (978) 805-4115
Email: mailto:Joe.C...@iatric.com
Web: http://www.iatric.com/

Iatric Systems is a leading provider of integrated software applications, interfaces and reporting solutions for hospitals and healthcare systems.
__________


-----Original Message-----
From: meditech-...@mtusers.com [mailto:meditech-...@mtusers.com] On Behalf Of Kern, Wayne
Sent: Tuesday, November 17, 2009 4:23 PM
To: medit...@mtusers.com

Kern, Wayne

unread,
Mar 24, 2010, 9:02:47 AM3/24/10
to medit...@mtusers.com
I though I'd share this little trick I thought up regarding the use of
the debuggers. I used to put something simple - usually numbers, e.g.
$DDC(0), $DDC(1), etc. When I had NPR reports that were big and or
called a lot of fragments, I couldn't keep track of where the DDC's
were, especially if I wasn't focused on that portion of the code any
more. Then it got difficult to find them and take them out. My solution
is to put the location, or name of the macro, or the name of the
fragment, etc. For example:

In a custom field xx.name:
VAL=@name,$DDC("xx.name")

In the footnotes section
AL START $DDC("AL START footnote")

In a fragment:
$DDC("ADM.PAT.zcus.wmk.frag.M.start")


Hope this is of use.

Wayne Kern
St. Joseph Medical Center
Towson, MD


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

Please do NOT send messages that ask "Please post to the list" or "I'd like to see your answers" or "Send that info to me, too" 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.

You can locate the:
1) meditech-l archives
2) NPR/Magic/CS tips
3) job opportunities in the Meditech community
http://mtusers.net

If you need help or advice on how to use the meditech-l, email lo...@MTUsers.com or ju...@MTUsers.net. Both of these people help manage the meditech-l, so they are your best resource.

Stephen Smesny

unread,
Mar 24, 2010, 9:32:08 AM3/24/10
to Kern, Wayne, medit...@mtusers.com
Good tip that will come in handy with more complex reports. A couple of
other tricks I have found useful are:

1. Put the call to the debugger in an If statement to only invoke it for
your user.
IF{@.user="IS.SRS" %Z.ddc()} This way if you are troubleshooting a
production report, it will only call the debugger for you and not other
staff. They usually freak out and think the world has come to an end when
they see the debugger pop up.

2. Put the call to the debugger in a loop. For reports that will be
looping through a detail segment hundreds or thousands of times, you can put
it an incremental loop that will only execute a few times. Then you don't
have to hit the debugger hundreds of times to get back to your report.

Hope this helps.

Stephen Smesny
Meadows Regional Medical Center


-----Original Message-----
From: meditech-...@mtusers.com [mailto:meditech-...@mtusers.com]
On Behalf Of Kern, Wayne

Robert White

unread,
Mar 24, 2010, 9:51:21 AM3/24/10
to Wayne' 'Kern, Stephen Smesny, medit...@mtusers.com
For #2 I usually just check a few iterations as such:

IF{/DEBUG+1^/DEBUG<4 $DDC(0)}

As it goes through lots and lots of records this will only call the debugger for the first 3 records ...

>>> "Stephen Smesny" <ssm...@meadowsregional.org> 3/24/2010 9:32 AM >>>

Hope this helps.


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

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


Disclaimer: The information in this message is confidential. If you are not the intended recipient, do not disclose, copy, or distribute this message, and please immediately contact the sender.

Purvins, James A.

unread,
Mar 24, 2010, 10:12:32 AM3/24/10
to Robert White, Wayne' 'Kern, Stephen Smesny, medit...@mtusers.com
Sort of along those lines, you can turn the debugger off at some point.

At the top of your macro, have the code 1^/DEBUG

Conditionalize your DDC as such : IF{/DEBUG %Z.ddc("blah")}

If you want to turn off the debugger, enter a semi colon followed by a
Magic statement to execute (ie ;""^/DEBUG)

This would turn off the debugger and the report would continue to run
normally.

All that is gonna be sorely missed in 6.0 !

James Purvins
Inland Northwest Health Services
(509) 232-8384

This e-mail and any attachments are confidential and may also be
privileged. If you are not the named recipient, or have otherwise
received this communication in error, please delete it from your inbox,
notify the sender immediately by replying to the message, and do not
disclose its contents to any other person, use the information for any
purpose or store or copy the information in any medium. Thank you for
your cooperation

Joe Cocuzzo

unread,
Mar 24, 2010, 11:48:20 AM3/24/10
to Robert White, Wayne' 'Kern, Stephen Smesny, medit...@mtusers.com
If you do this:

IF{'/DONE $DDC("HI MOM")}

When the DDC pops up for each record (for example), you can just do ;1^/DONE at the DDC prompt to set the flag and suppress the DDC for the remainder of the report run.

I also do this sometimes:

IF{@.user="IATRIC"&'/DONE&(/.PRT="S") $DDC("HI THERE")}

This way the DDC only pops up for my user ID, only if you are printing to Scope, and only if you are not "Done".


Joe Cocuzzo
Vice President
NPR Services
Iatric Systems, Inc.
Phone/Fax: (978) 805-4115
Email: mailto:Joe.C...@iatric.com
Web: http://www.iatric.com/

Iatric Systems is a leading provider of integrated software applications, interfaces and reporting solutions for hospitals and healthcare systems.
__________

-----Original Message-----
From: meditech-...@mtusers.com [mailto:meditech-...@mtusers.com] On Behalf Of Robert White
Sent: Wednesday, March 24, 2010 9:51 AM
To: Wayne' 'Kern; Stephen Smesny; medit...@mtusers.com

Ganesh Seshadri

unread,
Mar 24, 2010, 12:21:36 PM3/24/10
to medit...@mtusers.com
Usually at the point of the trap, I have to do ;$G("") followed by the variables I wish to see. Sometimes, a lazier approach for me to just do:
$DDC(urn) or $DDC(urn_" "_ATname) or whatever variable I always want to see, and I can dig deeper based on what I see.

Regards, ganesh seshadri, Indiana regional

-----Original Message-----
From: meditech-...@mtusers.com [mailto:meditech-...@mtusers.com] On Behalf Of Kern, Wayne

Sent: Wednesday, March 24, 2010 9:03 AM
To: medit...@mtusers.com
Subject: [MT-L] NPR reports - tip on $DDC and $DDT locations in code

Kern, Wayne

unread,
Apr 12, 2010, 1:20:00 PM4/12/10
to medit...@mtusers.com
In Blood Bank, in the LIS Internal Reports dictionary, there is an entry
"BTRNS" - Transfusion report. I need to create a custom report that
displays the issue locations. I can't use the BBK Specimen Header for a
custom fragment because you can issue several units from one specimen.
My understanding is that I need to write the entire report from scratch:
the patient header, the specimen header, and the issue detail. So I plan
to create a report and enter that as a "Custom Report" at the bottom of
the Internal Reports dictionary screen. I'm having trouble with the
fragment. I don't know what the DPM should be or what the linking field
on the select section should be.

We have Magic 5.63.

Thanks,
Wayne Kern
Catholic Health Initiatives

Paul Goedicke

unread,
Apr 12, 2010, 6:05:40 PM4/12/10
to Kern, Wayne, medit...@mtusers.com
Wayne, don't want to put a damper on your efforts, but I've discovered that what seems to be the data fields we most need for a custom report in the BBK module, are not available via NPR. If you look on the Meditech website, you can view the NPR DPM's and search down through BBK, probably LAB.B.SPEC is where the information you want is, if you can get to it.

Paul Goedicke
Clinical Analyst III
Jackson County Memorial Hospital
1200 E. Pecan Street
Altus, OK 73521
Phone (580) 379-5565
Fax (580) 379-5559
paulgo...@jcmh.com

I know everything. I just can't remember it all at once.


-----Original Message-----
From: meditech-...@mtusers.com
[mailto:meditech-...@mtusers.com]On Behalf Of Kern, Wayne

We have Magic 5.63.


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

---------------------------------------------------------------------------------------------
This email has been scanned by the JCMH IronPort appliance and has been cleared for delivery.
If you have any concerns or questions, call the IT Helpdesk at x5550.
---------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------------------
The documents accompanying this transmission contain confidential information, belonging to the sender, that is legally privileged.
This information is intended only for the use of the individual or entity named above. The authorized recipient of this information
is prohibited from disclosing this information after its stated need has been fulfilled.

If you are not the intended recipient, you are hereby notified that any reading, disclosure, copying, distribution, or action taken
in reliance on the contents of these documents is strictly prohibited. Violators may be prosecuted. If you have received this email
in error, please notify the sender immediately and destroy the transmitted information.
------------------------------------------------------------------------------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages