MEDITECH NPR Download Tips
If you want a report to download to your pc or server; you aren't tied to the size limitations inherent in using standard paper. Formatting a report in this way is known as a MEDITECH DOWNLOAD.
1) Set Lines/Page = Page Size Note: in CS you can use PFF NO as a footnote.
2) Add a report header with custom column heading headings to your report, example: xx.hdr.name, xx.hdr.age, xx.hdr.admit.date. That way, the field delimiter footnote FD will add the delimiter and field qualifiers for you (see below for delimiter and text qualifier examples).
3) Set FootNote FD 44 (44 is the ASCII value for a comma ",")
4) Set FootNote SFF NO (Starting Form Feed = NO)
5) Set FootNote EFF NO (Ending Form Feed = NO)
6) Set FootNote PFF NO (Page Feed = NO) Note: PFF is CS only.
7) RL 900 combined with NL=NO allows you to place fields on multiple lines; while achieving a line length of 900 characters. If you need more length; change the FootNote RL value to 3600 or whatever you need. NL=NO should be placed on all lines except the last line where you have fields.
Download File Variable: /MIS.SPOOL.c.filename = P:\Report.txt
Ftp File Variable:
"Pymt&Adj"_(%Z.date.in.magic(@.sd))_".txt"^/ZFTP.TITLE
Want an alert when the next post is published? Click the phone and Subscribe to the MEDITECH Reports Blog!