CDR Tickets

Issue Number 5047
Summary Modify summaries schema to include “On This Page” for a SVPC summary
Created 2021-10-15 14:57:49
Issue Type New Feature
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2021-10-25 12:11:31
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.300672
Description

As a CDR patient summary editor, I want to be able to mark a SVPC summary so that the “On This Page” section is displayed on Cancer.gov.

Currently, top level section titles are included in the “On This Page” section of summaries on Cancer.gov. However, for SVPC summaries, they will not be displayed by default. But there will be cases where the “On This Page” section will be displayed for a SVPC summary. We want to be able to mark a SVPC summary (at the page level) to have “On This Page” displayed on Cance.gov.

 

Scenario: CDR has the mark “On This Page” as optional

Given I am a CDR patient summary editor

   And I have permissions to create summary documents

   And I have permissions to edit summary documents

When I create or edit a SVPC summary

Then I want to be able to mark it as needing the “On This Page” section on Cancer.gov

Comment entered 2021-10-15 19:29:33 by Englisch, Volker (NIH/NCI) [C]

I would like to get some clarification on this ticket.  

In the beginning we were talking about not displaying the On This Page section.  Later on I heard, as the first scenario of this ticket describes, that the On This Page section should be optional and we need to be able to turn its display on or off.  The second scenario, however, is a bit confusing to me as the description is talking about the On This Page section to be optional while the heading indicates that the section title should be optional.  It sounds that we should be able to optionally display the On This Page section and - if the section is displayed - it should be optional which of the section titles should be included in the On This Page section.  Is this correct?

Also, I'm assuming that nothing should be displayed if an On This Page section is marked to be displayed but all of the section titles are marked not to be displayed

Comment entered 2021-10-15 21:41:39 by Kline, Bob (NIH/NCI) [C]

- Could you please identify the part of the schema you would like to have modified? I am unable to find the word "page" (any case) anywhere on the SummarySchema or SummaryCommon documents.

Comment entered 2021-10-18 08:44:26 by Osei-Poku, William (NIH/NCI) [C]

Hi  I think this should be an attribute on the <Summary> element like the new SVPC attribute. For example, we can name the attribute "SVPCOnThisPage" with a blank default value (Indicating that "On This Page" should be displayed on Cancer.gov) and with the option to select "No" indicating "On This Page" should not be displayed on Cancergov. This will be a flag for the vendor filters. I will create another ticket to modify the vendor filters.

Comment entered 2021-10-18 10:13:29 by Englisch, Volker (NIH/NCI) [C]

, the "On This Page" section gets created by JavaScript based on header elements/KeyPoints of the section.  

The attribute  suggests for the Summary element will work to turn the "On This Page" on or off.  However, it wouldn't allow individual section titles to be suppressed (see my earlier comment/question on this ticket).

Comment entered 2021-10-18 10:17:13 by Kline, Bob (NIH/NCI) [C]

Right.

: please see 's request for clarification above.

Comment entered 2021-10-18 11:45:14 by Englisch, Volker (NIH/NCI) [C]

My understanding was that the default for SVPC documents would be not to display the On This Page.  Wouldn't it make sense to use the attribute only to overwrite the default (SVPCOnThisPage="Yes")?

Comment entered 2021-10-18 13:01:56 by Osei-Poku, William (NIH/NCI) [C]


My understanding was that the default for SVPC documents would be not to display the On This Page.  Wouldn't it make sense to use the attribute only to overwrite the default (SVPCOnThisPage="Yes")?

 

Yes, that would make sense. I thought it was the other way around.

Comment entered 2021-10-21 14:12:36 by Kline, Bob (NIH/NCI) [C]

From the status meeting: this is a document-specific switch, controlling whether to generate the On This Page block for the summary. There will not be a mechanism for controlling which sections are represented in the block.

As a side note, Key Points are going away for these summaries.

Comment entered 2021-10-25 12:11:31 by Kline, Bob (NIH/NCI) [C]

Installed on DEV.  I was able to get back into Remote Apps from my own MacBook (apparently it like going to a speakeasy — you have to whisper a secret passphrase through a keyhole and hope that the cops aren't around and there's an empty seat available inside), run the git client from there and post the updated schema using the browser interface.

, it might be less confusing if at least the title of the issue were modified to reflect the most recent discussion you and Volker had in this issue.

Comment entered 2021-10-27 09:56:08 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

Comment entered 2021-10-29 08:14:28 by Kline, Bob (NIH/NCI) [C]

We decided to change the name of the attribute to SuppressOnThisPageSection. The schema has been modified accordingly on DEV.

Comment entered 2022-05-26 13:53:08 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA and PROD. Thanks!

Elapsed: 0:00:00.001764