CDR Tickets

Issue Number 3933
Summary [Summaries] Modify Summaries TOC Lists report to include Spanish CAM summaries
Created 2015-06-23 14:31:12
Issue Type Improvement
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2016-05-25 13:10:48
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.163871
Description

Please modify the "Summaries TOC Lists" report and the report interface so that we can select and retrieve the relevant Spanish CAM summaries.

[python script]

Comment entered 2016-03-18 16:13:34 by Englisch, Volker (NIH/NCI) [C]

The changes have been implemented on DEV:

  • R13788: SummariesTocReport.py

This report is still not using Bob's Control Class and probably should be rewritten to do so. However, this report is fairly complicated and it would take me a lot longer to rewrite rather than change it.
Hopefully I'll have time to come back to do the rewrite of the report before development ends otherwise we may want to add a new ticket to have this done in Einstein.

Comment entered 2016-03-23 16:18:49 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV.

Comment entered 2016-04-01 09:44:22 by Juthe, Robin (NIH/NCI) [E]

Verified on QA.

Comment entered 2016-05-23 17:33:36 by Juthe, Robin (NIH/NCI) [E]

The IACT option under the Spanish menu is not working on PROD.

I'm getting a python error if I try running this report for IACT Spanish summaries only.

A problem occurred in a Python script.

D:\cdr\Log\tmpjdnp5t.html contains the description of this error.

The IACT selection is ignored (and the report still runs) if other Boards are chosen along with IACT in the Spanish section of the report.

However, if you select IACT under the English report options and select the Spanish radio button, you DO get the IACT Spanish results. It probably shouldn't work that way, but it's a workaround for the meantime.

Comment entered 2016-05-23 17:41:22 by Englisch, Volker (NIH/NCI) [C]

I'll have to look at your options and setting. I ran the report for both, the HP and the patient audience and did not get an error.

Comment entered 2016-05-23 17:44:20 by Juthe, Robin (NIH/NCI) [E]

Here's a screenshot of one combination that is consistently giving me a python error (for both HP & patient).

Comment entered 2016-05-23 18:02:52 by Englisch, Volker (NIH/NCI) [C]

That's interesting - it works in Chrome and fails in IE and FF with the error message:

File "D:\Inetpub\wwwroot\cgi-bin\cdr\SummariesTocReport.py", line 649, in <module>
    if not rows and not vrows:
NameError: name 'vrows' is not defined
Comment entered 2016-05-24 16:30:01 by Englisch, Volker (NIH/NCI) [C]

This error is displayed when there are no records found for the specific selection.
I've updated the report on DEV so that it doesn't run into an error anymore. However, there is still a small problem: The message indicating that there doesn't exist any record for the selected options an incorrect board is displayed.
I will fix that a little later.

Comment entered 2016-05-25 13:10:34 by Englisch, Volker (NIH/NCI) [C]

I created a new ticket to track the bug fix and linked the two.

Closing this ticket.

Attachments
File Name Posted User
screenshot-1.png 2016-05-23 17:44:15 Juthe, Robin (NIH/NCI) [E]

Elapsed: 0:00:00.001461