While the "Unique" option in the output of the RS parameters is helpful, it
doesn't allow for custom naming such as days of the week, etc.
Thanks,
Mitch
===###===###===###===###===###===###===
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 or to SUBSCRIBE, 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
Do NOT send email to meditech...@MTUsers.com. This is a system email box that is NOT monitored by a human. 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.
===***===***===***===***===***===***===
Code:
; Expects:
; A - Full Folder Path (ie. "\\server\folder\ ")
; B - Unique File Name (ie "filename_20120112.txt")
IF{'A;
'B;
IF{@Z.ppii.connected A_B^!F[1];
A_B^/ZDOWN.PATH}};
Bryce
Bryce A. Schloyer
Senior Consultant | BXS Consultants, Inc.
Office - (805) 253-3624 | bsch...@bxsconsultants.com
This email and any attachments may contain confidential and privileged
information. Any dissemination or use of this information by a person
other than the intended recipient is unauthorized and may be illegal. If
you are not the intended recipient, please notify the sender immediately
by return email, delete this email and destroy any copies.
Mitch
From: Blount, Mark [mailto:Mark....@waynehealth.org]
Sent: Monday, February 06, 2012 11:10 AM
To: Mitch Lawrence
Subject: RE: ZFTP.TITLE + Meditech C/S Report Scheduler
Hiya Mitch!
I assume your C/S MIS Report Scheduler is close enough to our 6.0n version
for me to push this to you.
What follows is my exchange with MT on customizing the naming
convention.down below.
It didn't work exactly as the KB indicated but I muddled into the solution
and wrote MT of it.
You'll need to read bottom up.
And there's a fix in 6.05 PP13 which might help you as well.
That one is right here.
CS NPR 3212 - Customer R/W: Z.c.cust.rw.download.path is no longer respected
in 5.6+
Available in Releases: 6.0 SR6, 6.04 SR24, 6.05 SR8, 6.06 SR0, 6.1 SR3, 6.12
SR9, 6.13 SR0
Request Type: Correction
Associated Requests: LSS NPR 67
Features: RW/REPORTS
Search Flags: Canadian: N; Parameters: N; Conversions: N; Data Definitions:
N; Regulatory: N; Documentation: N
General Description
Previously, customer reports that called a macro that set up
Z.c.cust.rw.download.path would not download automatically. The Print
Dialog would display. This was not necessary.
With this change those types of reports will download automatically.
Testing Notes
Setup and Prerequisites:
Create, or locate, a report that calls a macro setting up
Z.c.cust.rw.download.path. This can be done by calling the macro from the
Report Title.
For example:
1. Given a report, ADM.PAT.zcus.jm.macro.title
2. The macro called "select" is coded as follows:
; "C:\"_@.today_@.now_".txt"^Z.c.cust.rw.download.path},
"C:\Documents and
Settings\CLIENT\Desktop\test.txt"^Z.c.cust.rw.download.path,
"Report Title from Macro";
3. The Report Title is:
"_%(ADM)PAT..zcus.jm.macro.title.M..select("")_"
When this report is run, it should download directly to the designated file
path on the client:
C:\Documents and Settings\CLIENT\Desktop\test.txt
Prior to this change, the Print Dialog would display when it should not
have.
Testing Steps:
1. Run the report.
2. Verify the report downloads correctly and that the Print Dialog does not
display.
I figure we should be able to use UNC in that path but my scheduler is
running fine with my previous effort.
Mark Blount
Programmer Analyst, Information Technology
Wayne Memorial Hospital
Goldsboro, NC
GG919.731.6588
"Put to death, therefore, whatever belongs to your earthly nature:
sexual immorality, impurity, lust, evil desires and greed, which is
idolatry.
Because of these, the wrath of God is coming." - Colossians 3:5-6
PLEASE NOTE: This message is intended only for the use of the person to whom
it is addressed and may contain information that is privileged and
confidential, the disclosure of which is governed by applicable law. If you
are not the intended recipient, you are hereby notified that any disclosure,
distribution or copying of this information is strictly prohibited. If you
have received this message in error, please notify the sender immediately
and delete it from your computer. Thank you.
Hey dudes...here's another tip on this....
The name can't be in the MIS Report Scheduler at the end of the path.
Also, you've got to force the NPR routine you're scheduling to "Rebuild the
screen" after making the title call in the macro edit.
And then reschedule by running the NPR to "Schedule" again and overwrite the
current one.
I had to play with an MIS.DOC one a while before making it happen but it's
doing it now. One more to go!
Thanks again Tim.
Mark
-----Original Message-----
***On Wed 10:45a Dec 21, 2011 EST Blount, Mark <Mark....@waynehealth.org>
wrote*** Tim!
Testing is looking pretty good thus far!
I had to set the download in MIS Report Scheduler to "Overwrite" and, this
is the interesting part, take out the name in the path in the MIS Report
Scheduler mnemonic ("cdmhcpcs.txt") but leave the root path
"\\Wmh-vmw-cacl2\Actus-CDM-Data-Drop\
<file:///\\Wmh-vmw-cacl2\Actus-CDM-Data-Drop\> "
This really, really offers more flexibility for me.
I appreciate it....
I'll open an issue of you want to complete it!
-----Original Message-----
Hi Mark,
Yes, Knowledge Base 38192 describes the steps to set up a report to
automatically run with a unique date and time when downloading a custom
report.
Thanks,
Tim
***On Tue 4:21p Dec 20, 2011 EST Blount, Mark <Mark....@waynehealth.org>
wrote*** Hiya Tim!
From: Blount, Mark
Tim!
Is there any method, variable or cheat whereby I can create a custom output
name for a custom NPR routine scheduled in the MIS Report Scheduler?
Other than the one that exists there within the MIS Report Scheduler for
adding a date/time stamp?
Yes...I have vendors who are asking for the date stamp in a specific format.
Thanks!
Mark Blount
Thanks so much,
Steve Davis RT (R) CRA, CAAMA
Director of Imaging Services
Clarendon Health System
10 Hospital St.
Manning, SC 29102
(803) 435-3117
sda...@clarendonhealth.com