Hello all,
I have been trying to find to no avail in the archives how to obtain the report run time, date, user, and printer.
I would like to remove the banner from the report; however, I still need to print the data somewhere else in the report.
Do you know the attributes for these computed fields?
Thanks,
Marc
Marc Benoy RN, MS, MBA
Clinical IT Project Manager
301.552.8876 (Phone)
301.552.8181 (Fax)
Doctors Community Hospital
8118 Good Luck Road
Lanham, MD 20706
Magic 5.61
CONFIDENTIALITY STATEMENT: This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any disclosure, use, copying, dissemination, distribution or taking of any action in reliance on the content of this information is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. Thank you.
This is from Meditech http://www.meditech.com/prrw/pages/RWmbASvariables.htm
Report Variables
Variables set up within the object code of the report specific to the individual report.
Variable Explanation
/R.CPI The characters per inch defined on page one of the Enter/Edit Report routine.
/R.LPI The lines per inch defined on page one of the Enter/Edit Report routine.
/R.CPL The characters per line defined on page one of the Enter/Edit Report routine.
/R.PS The page size defined on page one of the Enter/Edit Report routine.
/R.DATE The date the user began running the report.
/R.TIME The time the user began running the report.
/R.FOUND This variable will have a value of one if the current record passed the report
select criteria.
/R.HOSP The application database report title as defined in the MIS Toolbox configuration.
/R.NEW.PAGE.PGM The name of the new page program associated with the report. (.RP suffix on
report name).
/R.PAGE.NUM The current page number.
/R.TITLE The report title defined on page one of the Enter/Edit Report routine.
/RW.URN The name of the report. (Only set up on reports run from Report writer.)
/R.FRAGMENT This variable will have a value of one if the report is being executed as a
report fragment.
/temp The temporary sort array based on user defined sort criteria.
Runtime Variables
Variables which store user responses to the selection criteria.
Variable Operand Definition
b.field.name GE Greater than or equal to
b.field.name GT Greater than
c.field.name CO Contains
c.field.name EQ Equal to
c.field.name IG Ignore
c.field.name LS Last value less than or equal to
c.field.name NE Not equal to
e.field.name LE Less than or equal to
e.field.name LT Less than
e.field.name NC Does not contain
c.field.name LI List
c.field.name NL Not in list
c.field.name RL Range list
c.field.name CL Contains list
System Variables
Variables which store information regarding an individual user's sign on session or job. The
variables are specific to the system.
Macro Direct Reference Explanation
@.appl /.APPL Name of Application
@.country /.CNTRY Country of MIS (US, CANADA, OTHER)
@.db /.DB Name of Application Database
@.device /.DEV User's Input Terminal
@.dir /.DIR Current Directory
@.facility /.FAC Current Facility in Multi-Facility System
@.job /.JOB Job Number of Process
@.logical.device /.LOC Location of User's Terminal
@.lookup /.LK # of Entries to Display in Lookup
@.menu.arg /.MENU.ARG Used by Menus to Pass Arguments
@.mis /.MIS Name of MIS Database
@.now %Z.time.out(S(0)) Current Time in HHMM Format.
@.mri.pfx /.MPX Medical Records Prefix
@.on.device /.PRT Last Response to "ON DEVICE" Prompt
@.today /.DAT Current Date in YYYYMMDD Format
@.user /.USR User's Mnemonic
Hope this helps,
Howard Chase, RN
Senior Clinical Analyst
Androscoggin Valley Hospital
59 Page Hill Road
Berlin, NH 03570
(603)326-5669
Benoy, Marc wrote:
>
>
> Hello all,
>
>
>
> I have been trying to find to no avail in the archives how to obtain the
> report run time, date, user, and printer.
>
>
>
> I would like to remove the banner from the report; however, I still need
> to print the data somewhere else in the report.
>
> Do you know the attributes for these computed fields?
>
>
>
> Thanks,
>
>
>
> Marc
>
>
>
> *Marc Benoy RN, MS, MBA*
>
> *Clinical IT Project Manager*
>
> *301.552.8876 (Phone)*
>
> *301.552.8181 (Fax)*
>
> *mbe...@DCHweb.org <mailto:beno...@bellsouth.net>*
>
> * *
>
> *Doctors Community Hospital*
>
> *8118 Good Luck Road*
>
> *Lanham, MD 20706*
>
> * *
>
> *Magic 5.61*
>
>
>
> *CONFIDENTIALITY STATEMENT: This communication, including attachments,
> is for the exclusive use of addressee and may contain proprietary,
> confidential or privileged information. If you are not the intended
> recipient, you are hereby notified that any disclosure, use, copying,
> dissemination, distribution or taking of any action in reliance on the
> content of this information is strictly prohibited. If you are not the
> intended recipient, please notify the sender immediately by return email
> and delete this communication and destroy all copies. Thank you.
> *
>
> * *
>
>
>
>
>
> ------------------------------------------------------------------------
>
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
> To subscribe or unsubscribe to the meditech-l, visit http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com
>
> To check the status of the meditech-l, visit MTUsers.NET
>
> For help, email g...@MTUsers.NET.
>
> Please visit and add information to the MTUsers WikiPedia at MTUsers.NET/mwiki
> ______________________________________
> meditech-l mailing list
> medit...@MTUsers.com
> http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com
To check the status of the meditech-l, visit MTUsers.NET
For help, email g...@MTUsers.NET.
Please visit and add information to the MTUsers WikiPedia at MTUsers.NET/mwiki
______________________________________
meditech-l mailing list
medit...@MTUsers.com
http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com
Check out the NPR Pages
http://www.meditech.com/prrw/pages/RWmbASvariables.htm
I know it’s possible to rebuild the header, if you change page 1 to a NONE option…
Hope that helps!
@.today = todays date
@.now = current time
@.user = user
@.on.device = printer selected
/R.PAGE.NUM.PRINT is the page number but you have to watch out that is not zero at the point at which the new page program computes its value (it tends to be off by 1 in a HP that you build yourself).
Macro Direct Reference Explanation
@.appl /.APPL Name of application
@.db /.DB Name of application database
@.country /.CNTRY Country of MIS (US,CANADA,Other)
@.device /.DEV User's input terminal
@.dir /.DIR Current directory
@.facility /.FAC Current facility in multi-fac system
@.mis /.MIS Name of MIS database
@.mri.pfx /.MPX Medical records prefix
@.job /.JOB Current process's job number
@.on.device /.PRT Last response to "On Device" prompt
@.today /.DAT Current date in YYYYMMDD format
@.now %Z.time.out(S(0)) Current time
@.user /.USR User's mnemonic
@.lines.left /.LL Lines left on page
@.new.page.pgm /R.NEW.PAGE.PGM Name of new page program for this
report
@.line IF{/.LL-1^/.LL=0 %[/R.NEW.PAGE.PGM](0)}
A line of code which decrements
the line counter and automatically
calls the new page program if needed
Joe Cocuzzo
Vice President
NPR Services
Iatric Systems, Inc.
Phone/Fax: (978) 805-4115
Email: jo...@iatric.com
Web: www.iatric.com
From:
meditech-...@mtusers.com [mailto:meditech-...@mtusers.com] On Behalf Of Benoy, Marc
Sent: Friday, July 06, 2007 10:44
AM
To: medit...@MTusers.com
Subject: [MEDITECH-L] NPR - Banner
Data: Report Run - Time, Date, User,Printer
Hello all,
The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender of this communication immediately.
Marc:
Here are examples of these variables in an OE.ORD custom output report (some fields may need to be edited for other modules/apps?):
Run Date:
xx.date
DAT=DATE
JFY=L
LEN=8
VAL=@.today
Run Time:
DAT=HHMM
JFY=L
LEN=4
VAL=@.now
Ordering Device=@device
Device use to print report:
xx.printer
DAT=FREE
JFY=L
LEN=10
VAL=@.on.device
User=@.user (I think this depends on the module/app the report is written in)
User Name=@user’s.name
-------------------------------------------------------------------------------------------
RUNT TIME OF REPORT (HOW LONG IT TAKES TO RUN):
DAT=FREE
JFY=L
LEN=20
VAL=@.sd-/START_"Secs."
AL START @.sd^/START
-------------------------------------------------------------------------------------------
Report 'run-time' variables
@.variable Direct Variable Description
@.appl /.APPL application name
@.country /.CNTRY MIS country: USA, CANADA, etc
@.db /.DB application database
@.device /.DEV user's internal terminal name
@.dir /.DIR current directory
@.facility /.FAC current facility
@.job /.JOB job number of process
@.logical device /.LOC user's external terminal name
@.lookup /.LK number of entries to display when doing a lookup
@.menu.arg /.MENU.ARG used by menus to pass arguments
@.mis /.MIS MIS database
@.mri.pfx /.MPX medical records prefix
@.now %Z.time.out(S(0)) current time (HHMM)
@.on.device /.PRT "ON DEVICE" prompt's last response
@.today /.DAT current date (YYYYMMDD)
@.user /.USR user's mnemonic
Variables Description
/.LL lines left on page (before new page is written)
/R.CPI characters per inch (defined on page one of Enter/Edit Report)
/R.CPL characters per line (defined on page one of Enter/Edit Report)
/R.DATE date the report began running
/R.FOUND will be '1' if a valid record was found
/R.FRAGMENT will be '1' if this is a report fragment
/R.HOSP application database report title (defined in the MIS Toolbox)
/R.HOSP application database report title (defined in the MIS Toolbox)
/R.LIMIT record limit (Z.record.limit)
/R.LPI lines per inch (defined on page one of Enter/Edit Report)
/R.NEW.PAGE.PGM name of the new page program associated with the report
/R.PAGE.NUM current page number
/R.PS page size (defined on page one of the Enter/Edit Report).
/R.TIME time the report began running
/R.TITLE report title (found on page one of the Enter/Edit Report)
/RW.URN report name
/temp temporary sort array (used when you change the sort fields)
Z.variable Description
Z.count produces a count of the number of detail records selected (use in TKn
and/or TR regions)
Z.record.limit used as a select field to limit the amount of records selected
before the report prints
Z.spool spool file number (VAL=@Z.spool)
/R.LIMIT record limit (Z.record.limit)
/R.LPI lines per inch (defined on page one of Enter/Edit Report)
/R.NEW.PAGE.PGM name of the new page program associated with the report
/R.PAGE.NUM current page number
/R.PS page size (defined on page one of the Enter/Edit Report).
/R.TIME time the report began running
/R.TITLE report title (found on page one of the Enter/Edit Report)
/RW.URN report name
/temp temporary sort array (used when you change the sort fields)
Special 'Z' variables
Z.variable Description
Z.count produces a count of the number of detail records selected (use in TKn and/or TR regions)
Z.record.limit used as a select field to limit the amount of records selected before the report prints
Variable that stores the HCIS (TEST/LIVE) that the user signed onto
The following computed field will print the HCIS that the user logged onto
This can be placed on any report built with the customer report writer.
xx.hcis
DAT=FREE
JFY=L
LEN=10
VAL=/(.U).HCIS
-----------------------------------------------------------------------------------
See attached reports for other variables and examples…
From:
meditech-...@mtusers.com [mailto:meditech-...@mtusers.com] On Behalf Of Benoy, Marc
Sent: Friday, July 06, 2007 9:44
AM
To: medit...@MTusers.com
Subject: [MEDITECH-L] NPR - Banner
Data: Report Run - Time, Date, User,Printer
Hello all,
I have been trying to find to no avail in the archives how to obtain the report run time, date, user, and printer.
I would like to remove the banner from the report; however, I still need to print the data somewhere else in the report.
Do you know the attributes for these computed fields?
Thanks,
Marc
Marc Benoy RN, MS, MBA
Clinical IT Project Manager
301.552.8876 (Phone)
301.552.8181 (Fax)
Doctors Community Hospital
8118 Good Luck Road
Lanham, MD 20706
Magic 5.61
CONFIDENTIALITY STATEMENT: This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any disclosure, use, copying, dissemination, distribution or taking of any action in reliance on the content of this information is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. Thank you.
**********************************************************************
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.
**********************************************************************
Readily available on the Meditech website “Variables” link on the RW homepage:
C/S http://www.meditech.com/prrw/pages/RWcbASvariables.htm
MAGIC http://www.meditech.com/prrw/pages/RWmbASvariables.htm
Thank you,
Mitch Lawrence
Lead Applications Analyst - Advanced Report Writer
General Financials Support
CHRISTUS Information Management
': 361.881.3408 7: 361.888.6117
È: 361.549.8456 )AIM: a1d13 )MSN: geck...@hotmail.com
™: Mitchell...@christushealth.org
Send a “thank you” to someone!
From:
meditech-...@mtusers.com [mailto:meditech-...@mtusers.com] On Behalf Of Benoy, Marc
Sent: Friday, July 06, 2007 9:44
AM
To: medit...@MTusers.com
Subject: [MEDITECH-L] NPR - Banner
Data: Report Run - Time, Date, User,Printer
Hello all,