CDR Tickets

Issue Number 5262
Summary Exclude Refreshed Terms from Drug Review Report
Created 2023-07-12 10:44:54
Issue Type Improvement
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2023-07-14 13:50:16
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.350752
Description

It looks like the newly refreshed terms from EVS are being added under the New Drugs from the CDR tab of the Drug Review Report. Could you please exclude these terms from the report since they are not new terms? I have attached a copy of the report I just ran. with July 01 to July 12 date range.

Repro Steps on PROD

  1. Navigate to the Reports menu

  2. Go to the Terminology submenu

  3. Select Drug Review Report

  4. Enter a date range

  5. Click submit

  6. Open the Excel report generated

  7. You will notice that the report includes terms like Albumin which is not a new term

DrugReviewReport-20230712103208-94_docs-0.313165_secs.xlsx

Comment entered 2023-07-12 12:20:50 by Kline, Bob (NIH/NCI) [C]

This is not a bug. This is the way the report is required to work (and the way it has worked for the past 16 years). When Alan first implemented this report in June 2007 (for OCECDR-2166) he used the date of creation for selecting the terms matching the user's date range. A few months later (September 2007) Sheri asked him to change the report (OCECDR-2352) so that it instead used the DateLastModified element from the Term document instead of the creation date (which he did). One clue to this change is that the documentation on the landing page for the report says it will show terms which were "created or imported" during the date range. Please review the ticket history for a report before filing a bug report against it.

Comment entered 2023-07-13 08:56:24 by Osei-Poku, William (NIH/NCI) [C]

Can the report to be modified to exclude the refreshed terms? For example, the New Document Count with Publication Status captures new terminology created within a date range. Can the Drug Review Report show this information under the New Drugs from the CDR tab?

Comment entered 2023-07-13 10:24:31 by Kline, Bob (NIH/NCI) [C]

CIAT told Alan to change the logic of the report in order to ensure that any drug terms with changed information would be included for review. If you believe that that decision was wrong, or that it was right at the time but no longer a good idea, please lay out your justifications here. As always, having clearly articulated business objectives is a much more reliable way to avoid arbitrarily bouncing between decisions to change the software (because no one can remember why the last change was made) than dictating specific changes for the software's behavior without a business justification.

Comment entered 2023-07-13 10:42:24 by Osei-Poku, William (NIH/NCI) [C]

I am not sure why the changes were requested and but this is the information from Mary, who uses the report:

"This tab of the report is what I send to the EVS NCI Thesaurus team.   It should only include terms they haven't seen yet so they can create a document on their side and write a definition."

Comment entered 2023-07-14 13:50:16 by Kline, Bob (NIH/NCI) [C]

Report rewritten to use the date of creation instead of the date last modified. On DEV.

https://github.com/NCIOCPL/cdr-admin/commit/e2df46a

Comment entered 2023-08-03 15:57:18 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

Comment entered 2023-10-17 12:25:16 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA! Thanks!

Comment entered 2023-11-01 11:49:45 by Osei-Poku, William (NIH/NCI) [C]

Verified on PROD. Thanks!

Attachments
File Name Posted User
DrugReviewReport-20230712103208-94_docs-0.313165_secs.xlsx 2023-07-12 10:43:57 Osei-Poku, William (NIH/NCI) [C]

Elapsed: 0:00:00.000417