Tommy and Lynn:
We have the fields run.date and run.time in our LAB REPORT HDRS. I also see computed fields in the detail region for report: Report DPM LAB.C.RB Report Name zcus.npr.f.page.hdr.3 Report Title STD PG HDR 3 (FOR COPY ONLY) Active Y Last Edit By Date Time Detail DPM LAB.C.RB Detail Segment lab.c.report.batch xx.run.date DAT=FREE JFY=L LEN=12 VAL=%Z.date.text(@run.date,"m d, Y","I") And xx.run.time DAT=FREE JFY=L LEN=8 VAL=%Z.time.text(@run.time,"h:M A","S") ------------------------------------------------------------------------ ------------------------------------------------- I would think you could add the date and time (whichever one you need-current date and time the report ran or started to run, or the result date and time, or the date and time the specimen was collected???) Not sure which one you need. There is a difference between run time and print time (you started to run the report at 0700 and it took 3 minutes to compile and print so the if you used @.today and @.now in a HDR or TRL region it would be time of 0703. ------------------------------------------------------------------------ ---------------------------------------------------------- VAL=%Z.date.out(@start.date)_"-"[EMAIL PROTECTED] ------------------------------------------------------------------------ ---------------------------------------------------------- @.sd is the current time Footnote AL START @.sd^/START (send the time the report starts to run to /START) xx.seconds DATE=FREE JFY=L LEN=20 [EMAIL PROTECTED]/START_"Secs <mailto:[EMAIL PROTECTED]/START_%22Secs> ." This give you how long the report took to run (compile?). ------------------------------------------------------------------------ -------------------------------- NPR.REP DATE: VAL=%Z.date.out(%Z.date.in.magic(run.time)) ------------------------------------------------------------------------ -------------------------------- Extracting edit date and time from the subscript field @time in NPR.REP To get the edit date and time of a report in the DPM of NPR.REP, use the following computed fields: xx.date DAT=DATE LEN=8 VAL=%Z.date.out(%Z.date.clin.to.npr(@time)) xx.time DAT=FREE LEN=6 VAL=%Z.time.text(@time,"HM A") ------------------------------------------------------------------------ ------------------------------------- VAL=%Z.date.out(@.update.today)_"-"[EMAIL PROTECTED] ------------------------------------------------------------------------ ------------------------------------ Get current time (@.now) with number of seconds How can we access the current time with seconds? S(0) captures (at run time) the number of seconds since May 1, 1980. Since we know this, we can use a Z program to format this and then extract the seconds: Military Format @.now_":"_(%Z.time.lapse(S(0))#"2:") HH:MM Format %Z.time.text(@.now,"H:M")_":"_(%Z.time.lapse(S(0))#"2:") The code (%Z.time.lapse(S(0)) is formatting the number of seconds into HH:MM:SS. The #"2:" is going to take the seconds from (%Z.time.lapse(S(0)) and concatenate them with @.now. ------------------------------------------------------------------------ ------------------------------------- .tape.start.date VAL=%Z.date.clin.to.out(@tape.start.time) .tape.start.time VAL=$TIME(@tape.start.time) .tape.urns.assigned [EMAIL PROTECTED] [EMAIL PROTECTED];@MRI.ST .tape.inc.in.report VAL=c.tape.vol.start_" thru "_c.tape.vol.end ------------------------------------------------------------------------ ------------------------------------- START DATE VAL=%Z.date.clin.to.out(@start.time) START TIME VAL=$TIME(@start.time) ------------------------------------------------------------------------ ------------------------------------- PHA.MAR.zcus.npr.std.page.hdr.sd2.example 13 xx.start.date.out [EMAIL PROTECTED] 14 xx.start.time [EMAIL PROTECTED] ------------------------------------------------------------------------ ------------------------------------ ------------------------------------------------------------------------ ------------------------------------ ATTRIBUTES USER DFT=/.USR DEVICE DFT=/.DEV DATE DFT=%Z.date.in.magic(S(0)) TIME/NOW DFT=%Z.time.out(S(0)) WHAT IT LOOKS LIKE ON SCREEN User: MIS.WAM Date: 05/19/06 Time: 1048 ------------------------------------------------------------------------ ---------------------------------------- ________________________________ From: meditech-l@mtusers.com [mailto:[EMAIL PROTECTED] On Behalf Of Tommy Finley Sent: Tuesday, May 29, 2007 9:29 AM To: meditech-l@mtusers.com Subject: [MEDITECH-L] jcaho question related to lab reports Joint Commission recently inspected our Laboratory and cited us for not having the report date/time on all our reports. They didn't require that it be "per test," but at least per specimen or specimen report. Meditech seems to be in the dark about how to do this. We started with a report fragment to capture the print date/time, but it won't put it on the report until after the report prints (subsequent prints). Their other solution, indexing the run date/time on a "cover page" won't tie the report date/time to the actual specimens it covers. Has anyone faced this issue and resolved it to the satisfaction of Joint Commission. thanks Lynn Reinhardt, MT(ASCP) Lab Manager Rutherford Hospital, Inc. Rutherfordton, NC [EMAIL PROTECTED] (828)286-5123 Tommy Finley, CIO Rutherford Hospital 288 S Ridgecrest Ave. Rutherfordton, NC 28139 828-286-5529 ________________________________ ----- Confidentiality Notice ----- This e-mail and any attached documents contain confidential information belonging to the sending entity, Rutherford Hospital, Inc, and is intended only for the use of the individual(s) or entity(s) associated with the recipient addresses listed in the message header. The authorized recipient of this information is prohibited from disclosing this information to any other party. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of the email and/or attachments is strictly prohibited. If you received this e-mail transmission in error, please notify the sender immediately to arrange for return or destruction of this information. To report abuse or inappropriate use, please email [EMAIL PROTECTED] ********************************************************************** 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. **********************************************************************
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= To subscribe or unsubscribe to the meditech-l, visit MTUsers.NET. To check the status of the meditech-l, visit MTUsers.NET. For help, email [EMAIL PROTECTED] Visit the MTUsers WikiPedia at MTUsers.NET/mwiki ______________________________________ meditech-l mailing list meditech-l@MTUsers.com http://mtusers.com/mailman/listinfo/meditech-l