CDR Tickets

Issue Number 4871
Summary [Media] Modify Media Doc Publishing report audience options
Created 2020-09-01 15:41:18
Issue Type Improvement
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2020-10-05 18:44:28
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.273987
Description

Please modify the Media Doc. Publishing report audience options so that when Health Professional is selected, media docs that only have Health Professional captions are displayed. It looks like the Patient option is doing that correctly. Also, when both options are selected, it should display results for both audiences.

Comment entered 2020-09-03 18:55:26 by Englisch, Volker (NIH/NCI) [C]

 , would you have an example for a document that's not displayed correctly?

I ran a report on PROD for documents published between 2020-07-01 and 2020-09-03 and the output appears to be correct:

  • 801664 - HP captions only, displayed on HP and Both report

  • 761782 - HP and Pat captions, displayed on HP, Patient, and both report

  • 793775 - Pat captions, displayed on Patient and both report

Comment entered 2020-09-11 14:44:53 by Kline, Bob (NIH/NCI) [C]

Looks like this one got overlooked yesterday when we were asking about Maxwell tickets with open questions, .

Comment entered 2020-09-17 12:57:15 by Osei-Poku, William (NIH/NCI) [C]

On QA, I ran the report for 

English

Start: 2020-09-10

End: 2020-09-17

Health Professionals

The results included 

801664 - Includes Content Description and Caption for HP audience only. This is the document I want to see. 

761782 - Includes Content Description and Caption for both HP and Patient. I wanted to see a document that has content description and caption for only HP audience.

Comment entered 2020-09-30 16:55:27 by Englisch, Volker (NIH/NCI) [C]

I don't get any output on QA when I run the report for the parameters you listed.

Comment entered 2020-10-02 14:26:45 by Osei-Poku, William (NIH/NCI) [C]

Sorry. Please try the following:

 

On QA, I ran the report for 

English

Start: 2020-04-01

End: 2020-10-02

Health Professionals

The results included 

801664 - Includes Content Description and Caption for HP audience only. This is the document I want to see. 

761782 - Includes Content Description and Caption for both HP and Patient. I wanted to see a document that has content description and caption for only HP audience.

Comment entered 2020-10-02 18:28:41 by Englisch, Volker (NIH/NCI) [C]

I wanted to see a document that has content description and caption for only HP audience.

This report is not able to give you the output you are seeking.  The two options you select, Patients and Health Professionals, are inclusive.  When you select "Patients" the report picks up every media document for which a description or caption with the attribute  audience = 'Patients' exists.  There is no additional parameter that specifies to only pick up those documents for which only an audience = 'Patients' exists.

In the same way, when you're selecting both audience types, you will see all documents for which either the audience = 'Patients' or the _audience = 'Health Professionals' exists.  This list includes those for which both exists in addition for those for which only one of them exists.

Obviously, you could get the result you're looking for indirectly by running the HP-only version first and then "subtracting" all documents that are listed on the Patients-only version of the report.

It looks like the Patient option is doing that correctly.

No, the patient option is working the same way as the HP option.

Comment entered 2020-10-05 18:44:14 by Englisch, Volker (NIH/NCI) [C]

The following report has been modified to change the selection criteria for the audience option:

This is ready for review on DEV.

Comment entered 2020-10-06 11:42:46 by Englisch, Volker (NIH/NCI) [C]

Added a note explaining the unusual use of the audience options:

Comment entered 2020-10-07 14:50:31 by Osei-Poku, William (NIH/NCI) [C]

It does seems to be working as expected. I will create a ticket if we want to modify it in a later release. Thanks!

Comment entered 2020-10-07 14:50:44 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

Comment entered 2020-11-09 11:08:51 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

Comment entered 2020-12-21 13:41:28 by Osei-Poku, William (NIH/NCI) [C]

Verified on PROD. Thanks!

Elapsed: 0:00:00.001460