CDR Tickets

Issue Number 5208
Summary Modify Summaries QC reports to display unpublishable version changes
Created 2023-02-22 10:00:23
Issue Type Improvement
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2023-03-09 12:36:25
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.339161
Description

As a CDR summary editor, I want to be able to run the summaries QC reports (B/U and RL/SO) to review changes within a linked QC report before making the Misc. Doc publishable.

Scenario: Summaries QC reports have the ability to display unpublishable Misc. Doc changes

Given: I am a CDR summary editor

  And I have permissions to create or edit Misc. Documents

When I create or edit a Misc. Doc

  And I link it to a summary doc.

Then I want to be able to run the summaries QC reports to review the changes before making the Misc. Doc. publishable

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

We had made similar adjustments to our filters before but because the denormalization is shared between multiple filter sets (for QC reports, PublishPreview, and publishing) we will need to decide on the specific rules for the different processing paths to ensure we're not ending up with versions that aren't publishable in our PDQ partner output or on Cancer.gov.

For the denormalization of our glossary terms we implemented the following rules:

  • QC report --> CWD

  • PP report  --> /last version

  • publishing --> /lastp (publishable) version

Comment entered 2023-03-09 12:25:00 by Englisch, Volker (NIH/NCI) [C]

The denormalization rules listed in my previous comment are applied for GTN and GTC QC reports.  Looking at the denormalization filters for summaries, I realize that we are using different denormalization rules for the summary QC reports.  Here the rule is

  • QC report --> CWD

  • PP report --> /lastp version

  • publishing --> /lastp version

This rule is applied, for instance, used when processing the SummaryModuleLink.  Given that the Special Consideration Misc. doc section is similar to a module link I implemented the same rule for MiscellaneousDocLink elements. The following filter has been modified:

  • CDR335424 - Denormalization Filter: Summary

This is ready for review on DEV.

Comment entered 2023-05-08 09:52:54 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

Comment entered 2023-05-31 16:57:45 by Englisch, Volker (NIH/NCI) [C]

The following filter changes have been copied to QA to use the CWD for QC reports:

For my information:

The filter changes are part of the git branch cdr5133-special-consid.

Comment entered 2023-06-22 13:23:27 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Ready for PROD.

Comment entered 2023-06-23 14:27:13 by Englisch, Volker (NIH/NCI) [C]

Since these changes are part of the OCECDR-5133 branch I cannot copy the filter to PROD independently.

Comment entered 2023-07-31 16:01:33 by Osei-Poku, William (NIH/NCI) [C]

Can this be promoted to PROD now? Thanks!

Comment entered 2023-08-01 17:31:08 by Englisch, Volker (NIH/NCI) [C]

The changes were part of the filter changes for OCECDR-5133.

Please verify on PROD and close this ticket if everything looks OK.

Comment entered 2023-08-02 14:36:05 by Osei-Poku, William (NIH/NCI) [C]

We have an unpublishable but valid Misc Doc CDR0000813292 * ** lined in this summary CDR0000799767. When you try to run a B/U report for the summary you get an error message that seems to indicate that CDR0000813292 needs a publishable version. * 

 

filtering error: Unable to resolve uri 'CDR0000813292#_2/lastp'

Comment entered 2023-08-02 17:25:50 by Englisch, Volker (NIH/NCI) [C]

It appears that I had copied the filters from the "master" branch for the ticket OCECDR-5133 instead of the branch with the changes to PROD.  I corrected this and have now copied the filter changes from the "master" branch - which do contain the changes now - to PROD.

Please verify on PROD and close the ticket if it's working OK now.

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

Verified on PROD. Thanks!

Elapsed: 0:00:00.001798