CDR Tickets

Issue Number 4323
Summary Exclude Protocols and Organizations from Doc. Candidates to be removed from Cancer.gov
Created 2017-10-11 12:28:41
Issue Type Improvement
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2018-03-12 13:29:51
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.215448
Description

Since we no longer publish Organization and InScopeProtocol documents, please remove them from the "Document Candidates to be removed from Cancer.gov" report.

Comment entered 2017-10-11 13:14:06 by Englisch, Volker (NIH/NCI) [C]

Unfortunately, this is not a release independent ticket, so I removed that sprint.

Comment entered 2017-10-11 13:21:27 by Englisch, Volker (NIH/NCI) [C]

Here is the query answering your question of How are GPs selected?

        SELECT dt.name AS "Doc Type", cg.id   AS "CDR-ID",
               d.title AS "Title",    p.value AS "Status"
          FROM pub_proc_cg cg
          JOIN document d
            ON d.id  = cg.id
          JOIN doc_type dt
            ON dt.id = d.doc_type
          JOIN query_term_pub p
            ON d.id  = p.doc_id
         WHERE dt.name = 'Person'
           AND p.path = '/Person/ProfessionalInformation' +
                        '/GeneticsProfessionalDetails'    +
                        '/AdministrativeInformation/Directory/Include'
           AND p.value NOT IN ('Include')

Basically, a GP record for which the value for Directory/Include isn't Include will be listed on the report.

Comment entered 2017-10-11 16:04:10 by Osei-Poku, William (NIH/NCI) [C]

Thanks. That is the right way for identifying GPs that should be removed from Cancer.gov

Comment entered 2018-01-29 12:57:29 by Englisch, Volker (NIH/NCI) [C]

This report is part of the weekly publishing. I'm adding this ticket to Hawking.

Comment entered 2018-03-12 13:29:42 by Englisch, Volker (NIH/NCI) [C]

The following program has been modified on DEV:

  • CheckHotfixRemove.py [hawking fa5aab7]

Comment entered 2018-04-12 16:34:01 by Englisch, Volker (NIH/NCI) [C]

, I ran the report from the command line and received the message:

No new documents found to be removed

If this is the expected output please mark this ticket as verified.

Comment entered 2018-05-14 19:34:34 by Englisch, Volker (NIH/NCI) [C]

It appears that this report isn't being submitted anymore as part of the publishing job because organizations aren't being reported anymore.

Please go ahead and close this ticket.

Comment entered 2018-05-23 15:13:18 by Osei-Poku, William (NIH/NCI) [C]

Verified on PROD. Thanks!

Elapsed: 0:00:00.001351