Menu

#2668 Cannot open documents or labs attached to consult

RELEASE_12_1
open-accepted
nobody
None
5
2015-02-19
2013-07-05
No

Problem Summary:
When you are creating a Consult and attaching documents / labs to the consult, you can click the links for the documents / labs to open them. Once the consult has been created, you cannot click the links to open the documents / labs any more - the title are no longer clickable. Screenshot attached.

Expected Result:
You should be able to click the title for the document or lab to open the document and look at it.

Actual Result:
You cannot click the title for the document or lab to open the document and look at it - the titles are no longer clickable.

Steps to Reproduce:
(1) Start to create a consult by clicking the the + sign in the Consult section of the Encounter Screen for a patient. Don't save it yet though, just start to create it.
(2) Attach a few documents and a labs to the consult by clicking "Attach File to Consultation" and putting a checkmark next to a few documents and labs. Click the "Done Close Window" button to return to the consult. Still don't save the consult yet.
(3) Notice that the documents and labs that you selected are now listed in the "Currently Attached Files:" section on the left side of the consult. Notice that you can also click the document name or lab name to open it.
(4) Save the consult.
(5) Reopen it.
(6) Notice that the document/lab names in the "Currently Attached Files" section are no longer clickable - they are no longer links.

Reproduced In:
12_1 Deb 167 (fresh install) + Ubuntu 12 LTS (fresh install)

Discussion

1 2 > >> (Page 1 of 2)
  • Trimara Corporation

     
  • Trimara Corporation

    • priority: 5 --> 7
     
  • Marc Dumontier

    Marc Dumontier - 2013-07-08

    hmm, when i add a document or lab to the consult, it's never clickable.

    I look in the code (displayAttachedFiles.jsp) and it doesn't look as though they are ever clickable

    We're talking about the little box with the blue docs and purple labs in the consult, right

     
  • Marc Dumontier

    Marc Dumontier - 2013-07-08

    i just saw the screenshot.
    i'll have to see how you have those clickable..maybe some properties changes that functionality which is why i can't reproduce the same problems as you.

     
  • Trimara Corporation

    Ok. I think you're already aware, but when you're creating the consult, the document/lab links are clickable. After you save it they're not clickable.

     
  • Trimara Corporation

    • Group: --> RELEASE_12_1
     
  • Victor Van Herk

    Victor Van Herk - 2013-09-16
    • assigned_to: Gregory Dernis
     
  • Gregory Dernis

    Gregory Dernis - 2013-09-18
    • status: open --> open-accepted
     
  • Gregory Dernis

    Gregory Dernis - 2013-09-18
    • status: open-accepted --> pending
     
  • Gregory Dernis

    Gregory Dernis - 2013-09-18

    I couldn't reproduce either, looked at code and don't see 'links' in code.
    I also noticed different URLs for those 2 pages. Can you post full URLs for those 2 cases, it could help in further investigation.

     
  • Trimara Corporation

    Re-tested in latest Deb (225) and was able to replicate the issue. I've attached two screenshots to try to explain the issue.

     
  • Trimara Corporation

    • status: pending --> open-accepted
     
  • Gregory Dernis

    Gregory Dernis - 2013-10-07
    • status: open-accepted --> pending
    • assigned_to: Gregory Dernis --> Sarah Allen
     
  • Gregory Dernis

    Gregory Dernis - 2013-10-07

    I don't think it is controlled by any of properties, there is nothing about properties in code. Looks like we are on different pages in regards to version. How to relate the "12_1 Deb 167 to git id?

     
  • Trimara Corporation

    I just retested this in the latest Deb (242) and the problem still exists. The commit id listed in the source.txt file is shown below.

    cat /usr/share/OscarMcmaster/source.txt
    oscar-mcmaster (12.1-3.5general242) RELEASED

    Release of Oscar12_1
    build 242

    To conserve bandwidth this deb does not contain the source.
    The source is however made available to any who need it.
    To obtain the source for this particular build issue the following commands

    git clone git://git.code.sf.net/p/oscarmcmaster/oscar
    cd oscar/
    git checkout 34c778b1f0bd34ea27fb4bee0357c72209977f7e

     
  • Trimara Corporation

    • status: pending --> open-accepted
     
  • Gregory Dernis

    Gregory Dernis - 2013-10-07
    • assigned_to: Sarah Allen --> Gregory Dernis
     
  • Gregory Dernis

    Gregory Dernis - 2013-10-08
    • status: open-accepted --> pending-wont-fix
     
  • Gregory Dernis

    Gregory Dernis - 2013-10-08

    I checked out the version exactly to your instructions and still can't reproduce the issue. It doesn'e create a link for the lab/document, only a text. By looking into code it doesn't give any indication on a link.
    From ConsultationFormRequest.jsp:

    var objAjax = new Ajax.Request (
    url,
    {
    method: 'get',
    parameters: params,
    onSuccess: function(request) {
    $(updateElem).innerHTML = request.responseText;
    },
    onFailure: function(request) {
    $(updateElem).innerHTML = "

    Error: " + + request.status + "

    ";
    }
    }

            );
    

    ... and it is exatly the same code for the latest master/R12.1

     
  • Trimara Corporation

    Hi Gregory. The fact that it doesn't create a link is exactly the problem. It doesn't make sense that a link would be present part way through the process (step 3) but not present when you re-open a previously saved consult. Without a link, how are physicians and staff supposed to review/open the documents that are attached to a consult?

    Steps to Reproduce:
    (1) Create a consult.
    (2) Attach a document and a lab to it.
    (3) Notice that you can click the document name or lab name to open it.
    (4) Save the consult.
    (5) Reopen it.
    (6) Notice that the document / lab titles are no longer clickable - they are no longer links.

     
  • Trimara Corporation

    • status: pending-wont-fix --> open-accepted
     
  • Gregory Dernis

    Gregory Dernis - 2013-10-08
    • status: open-accepted --> pending
     
  • Gregory Dernis

    Gregory Dernis - 2013-10-08

    I understand what you mean,
    The problem that I couldn't reproduce step #3

     
  • Trimara Corporation

    Hi Gregory. You mean that you still can't or you couldn't before?

     
  • Trimara Corporation

    • status: pending --> open-accepted
     
1 2 > >> (Page 1 of 2)
MongoDB Logo MongoDB