Problem Summary:
OLIS lab results will not print from OSCAR. Consults with OLIS results attached can also not be printed or faxed.
Expected Result:
OLIS Labs will print. Consults with OLIS labs attached can be printed or faxed.
Actual Result:
An exception is thrown.
Steps to Reproduce:
From the Inbox
(1) Open an OLIS lab result from the inbox
(2) Click Print button.
(3) PDF is generated but contains 500 error
From Consults:
(1) Attach an OLIS result to a consult.
(2) Click Print or Update and Fax button
(5) 500 error occurs.
Reproduced in:
RELEASE_12_1 Commit d46e9148
Additional Information:
Exception is being caused by oscar_port not being set in the config file. Setting that field will then break either local or remote printing since https and http run on different ports and http is generally used within a clinic while https is used remotely. The correct method of determining the port should be request.getServerPort(); The line that needs to be changed is line 68 of oscar.oscarLab.ca.all.pageUtil.PrintOLISLabAction
Additionally, when oscar_port is set a class not found exception is thrown for oscar.oscarLab.ca.all.pageUtil.LabViewForPdfGenerationServlet - this class does not exist in OSCAR at present.
Stack trace from lab print and consults attached.
Bugs: #3742
Bugs: #3868
Bugs: #4040
Diff:
Consults
This bug also affects consultations. If an OLIS report is attached to a consult, it will produce a 404 error (see attached image). Currently there is no workaround for this.
Steps to reproduce:
Expected Results:
Consult should be saved successfully. Print Preview should successfully create the PDF including the OLIS report.
Actual Results:
A 404 error is thrown, as the LabViewForPdfGenerationServlet class does not exist to create the PDF. See attached image.
Workarounds:
None
Printing
As a workaround for the printing not working, users can hit Ctrl+P when viewing the report to print it with the system print dialog.
Last edit: Tanner Williams 2015-11-02
Diff:
Diff:
Is there an update on this fix?
Guys this ticket has been open since April 2015. There is no workaround this. Plese fix this.
Dr. Bhargava
Hi Dr. Bhargava,
KAI Innovations has started working on it and would resolve the issue soon. We would update the ticket after completion of the task.
Regards
Shehzad Merchant
KAI Innovations
Excellent. Looking forward to a solution
Mukesh Bhargava
Mukesh Bhargava *
TEL: 905-377-7793 FAX 905-373-6969*
Electronic Mail Confidentiality Notice:
This electronic mail message and all attachments may contain
confidential information belonging to the sender or the intended recipient.
This information is intended ONLY for the use of the individual or entity
named above. If you are not the intended recipient, you are hereby notified
that any disclosure, copying, distribution (electronic or otherwise),
forwarding or taking any action in reliance on the contents of this
information is strictly prohibited. If you have received this electronic
transmission in error, please immediately notify the sender by telephone,
facsimile, or email to arrange for the return of the electronic mail,
attachments, or documents.
On Wed, Jan 6, 2016 at 10:43 AM, Shehzad Merchant shehzadmerchant@users.sf.net wrote:
Related
Bugs: #3868