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)
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
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.
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.
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.
Re-tested in latest Deb (225) and was able to replicate the issue. I've attached two screenshots to try to explain the issue.
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?
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
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
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.
I understand what you mean,
The problem that I couldn't reproduce step #3
Hi Gregory. You mean that you still can't or you couldn't before?