Menu

#3868 Cannot Print OLIS Results or Print/Fax Consults with OLIS Results Attached

RELEASE_12_1
open
None
6
2016-01-06
2015-04-29
No

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.

2 Attachments

Related

Bugs: #3742
Bugs: #3868
Bugs: #4040

Discussion

  • Trimara Corporation

    • summary: OLIS lab results don't will not print from OSCAR --> OLIS lab results will not print from OSCAR
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,11 +1,11 @@
     Problem Summary:
    -OLIS lab results don't will not print from OSCAR
    +OLIS lab results will not print from OSCAR
    
     Expected Result:
     OLIS Labs will print
    
     Actual Result:
    -An exception is thrown.
    +An exception is thrown
    
     Steps to Reproduce:
     Setup OLIS
    
     
  • Shehzad Merchant

    • Priority: 8 --> 6
     
  • Tanner Williams

    Tanner Williams - 2015-11-02

    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:

    1. Have a patient's chart with a lab result from OLIS
    2. Create a consultation and try to attach the lab result
    3. Try to submit the consult

    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
  • Trimara Corporation

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,17 +1,22 @@
     Problem Summary:
    -OLIS lab results will not print from OSCAR. 
    +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
    +OLIS Labs will print. Consults with OLIS labs attached can be printed or faxed.
    
     Actual Result:
    -An exception is thrown
    +An exception is thrown.
    
     Steps to Reproduce:
    -Setup OLIS
    -Download an OLIS lab result to OSCAR
    -Open the lab result in the inbox
    -Print the lab result using OSCAR
    +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
    @@ -20,3 +25,5 @@
     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.
    
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -0,0 +1,2 @@
    +500_error_from_inbox.pdf (17.6 kB; application/pdf)
    +500_error_from_consults.pdf (95.8 kB; application/pdf)
    
     
  • Trimara Corporation

    • summary: Cannot Print OLIS Results --> Cannot Print OLIS Results or Print/Fax Consults with OLIS Results Attached
     
  • Sara Bond

    Sara Bond - 2015-12-04

    Is there an update on this fix?

     
  • IMCare

    IMCare - 2016-01-02

    Guys this ticket has been open since April 2015. There is no workaround this. Plese fix this.
    Dr. Bhargava

     
  • Shehzad Merchant

    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

     
    • IMCare

      IMCare - 2016-01-07

      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:

      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


      Status: open
      Group: RELEASE_12_1
      Created: Wed Apr 29, 2015 07:11 PM UTC by Trimara Corporation
      Last Updated: Sat Jan 02, 2016 04:09 PM UTC
      Owner: Trimara Corporation
      Attachments:

      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.

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/oscarmcmaster/bugs/3868/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #3868

MongoDB Logo MongoDB