CDR Tickets

Issue Number 5109
Summary Global to replace Targeted Therapies Fact Sheet
Created 2022-05-20 17:32:47
Issue Type Task
Submitted By Juthe, Robin (NIH/NCI) [E]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2022-10-20 11:00:02
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.318730
Description

We would like to replace all instances of links to the Targeted Cancer Therapies Fact Sheet (https://www.cancer.gov/about-cancer/treatment/types/targeted-therapies/targeted-therapies-fact-sheet) with a link to the Targeted Therapy to Treat Cancer page (https://www.cancer.gov/about-cancer/treatment/types/targeted-therapies).   

 

We know there are about 150 DIS and some glossary terms that link to the fact sheet. There may also be cancer information summaries that link to this fact sheet.

 

Would it be possible to do a sweep of these doc types (or all doc types if that's easier) to identify these links? An Excel file with Doc ID, DocTitle, URL, and Display Name (for the URL) would be helpful so we can see what you found and inform next steps.

 

I ran the URL List report as suggested, but the report that came up for GTCs was actually a very short list of URLs, none of which were for the Targeted Cancer Therapies Fact sheet. It might be user error but I will file a separate ticket to take a closer look at that report and make sure it's working as it should.

Thank you!

Comment entered 2022-05-26 15:38:10 by Kline, Bob (NIH/NCI) [C]

While I'm working on the report, I thought you might want to be aware that CDR258195 (Plasma Cell Neoplasms (Including Multiple Myeloma) Treatment;Treatment;Patients) has a link to http://www-new.cancer.gov/cancertopics/treatment/types/targeted-therapies/targeted-therapies-fact-sheet (so it won't show up on the report, but possibly of interest nevertheless).

Comment entered 2022-05-26 16:22:22 by Kline, Bob (NIH/NCI) [C]

Report attached.

Comment entered 2022-06-03 15:56:52 by Juthe, Robin (NIH/NCI) [E]

The updated list is attached. We have removed a few extra rows for docs that don't need updating. Could you please run the global on DEV? 

Please change the link and display text to the following:

We've also updated the Plasma Cell Neoplasms URL manually (to the targeted therapies page that we're keeping) - thanks for catching that.

Comment entered 2022-06-10 10:35:47 by Kline, Bob (NIH/NCI) [C]

I just realized that the original spreadsheet was generated from documents on CDR DEV, but you probably wanted documents from PROD. It won't make any difference for the runs on DEV, but would you like me to fold in some or all of the documents which didn't get picked up by the original spreadsheet as we roll up the tiers? Here they are.

CDR ID

Doc Title

62705

Bladder Cancer Treatment;Treatment;Patients

62961

Cervical Cancer Treatment;Treatment;Patients

62965

Prostate Cancer Treatment;Treatment;Patients

258025

Oropharyngeal Cancer Treatment (Adult);Treatment;Patients

269044

Adrenocortical Carcinoma Treatment (Adult);Treatment;Patients

487564

Bevacizumab;Brief;Patients

788795

Durvalumab;Brief;Patients

796985

Caplacizumab-yhdp;Brief;Patients

806069

Belzutifan;Brief;Patients

806140

Mobocertinib Succinate;Brief;Patients

806188

Tisotumab Vedotin-tftv;Brief;Patients

806378

Asciminib Hydrochloride;Brief;Patients

807103

Tratamiento del cáncer epitelial de ovario, de trompas de Falopio y primario de peritoneo*BLOCKED*;Treatment;Patients

808279

Tratamiento de los tumores extracraneales de células germinativas en la niñez*BLOCKED*;Treatment;Patients

808601

Ciltacabtagene Autoleucel;Brief;Patients

809050

Pacritinib Citrate;Brief;Patients

809173

Nivolumab and Relatlimab-rmbw;Brief;Patients

809696

Liver Cancer Treatment;Treatment;Patients

Comment entered 2022-06-10 10:39:26 by Kline, Bob (NIH/NCI) [C]
Comment entered 2022-06-22 18:44:26 by Osei-Poku, William (NIH/NCI) [C]

  Do you know why the test results display horizontally across the page rather than wrapped vertically. In the past, it wasn't like this but recently the results all display horizontally like it is now even if I try the link in other browsers. When the documents are not as big as summaries, they are manageable but for summaries like these, you have to scroll horizontally for a long time in order to see the changes. 

Comment entered 2022-06-23 06:17:01 by Kline, Bob (NIH/NCI) [C]

In the past, it wasn't like this ...

I think your memory is playing selective tricks on you. We've had this same discussion more than once over the years. For example:

Addressing this phenomenon might be possible, but it would certainly not be trivial. I don't know whether we would need to undertake a massive reformatting of the CDR documents to introduce whitespace where we want it, avoiding injecting it in the wrong places (though I'm not confident the work of such an undertaking wouldn't be undone by subsequent saves of the documents from XMetaL), or if this would instead require creating our own custom parser and comparison tool which would understand the structure of each of the document types (and need to be maintained as the schemas change). In any case, if you want to revisit these discussions the appropriate place would be in a separate ticket which would need to be estimated, approved by management, and scheduled for a release.

Comment entered 2022-06-23 09:24:59 by Osei-Poku, William (NIH/NCI) [C]

I do remember this exchange with Volker last year but didn't create the ticket because I thought it will be manageable but some of the globals affecting summaries are so difficult to review in the current format. I will create a ticket to address this issue.

Comment entered 2022-09-20 18:47:07 by Osei-Poku, William (NIH/NCI) [C]

Please run this global in test mode on QA. Thanks!

Comment entered 2022-09-21 08:29:22 by Kline, Bob (NIH/NCI) [C]

I never got a response to my question about expanding the list from what was in the original spreadsheet. Should I take that to mean it's not needed?

Comment entered 2022-09-21 09:48:16 by Osei-Poku, William (NIH/NCI) [C]

Please proceed to expand the list to capture the missing ones from PROD. Thanks!

Comment entered 2022-09-21 13:13:34 by Kline, Bob (NIH/NCI) [C]
Comment entered 2022-09-27 16:14:40 by Osei-Poku, William (NIH/NCI) [C]

Please run this global in live mode on QA. Thanks!

Comment entered 2022-09-27 17:35:54 by Kline, Bob (NIH/NCI) [C]

Done.

2022-09-27 17:16:13.068 [INFO] Run completed.
   Docs examined    = 252
   Docs changed     = 241
   Versions changed = 522
   Could not lock   = 0
   Errors           = 0
   Time             = 0:24:25.215123
Specific versions saved:
  new cwd = 41
  new pub = 239
  new ver = 42
  old cwd = 69
Comment entered 2022-10-06 13:21:01 by Osei-Poku, William (NIH/NCI) [C]

Please run this global in test mode on QA again. Thanks!

Comment entered 2022-10-06 15:58:50 by Kline, Bob (NIH/NCI) [C]

Done.

2022-10-06 15:43:47.925 [INFO] Run completed.
   Docs examined    = 252
   Docs changed     = 0
   Versions changed = 720
   Could not lock   = 0
   Errors           = 0
   Time             = 0:14:36.846412

https://cdr-qa.cancer.gov/cgi-bin/cdr/ShowGlobalChangeTestResults.py?dir=2022-10-06_15-29-11

Comment entered 2022-10-20 11:00:02 by Kline, Bob (NIH/NCI) [C]

Global change implemented and run on lower tiers.

Comment entered 2022-11-01 14:44:34 by Osei-Poku, William (NIH/NCI) [C]

Would you be able to modify the global to change the data in the SourceTitle fields to the new page title "Targeted Therapy for Cancer - NCI" as part of this global? We enter this information manually when we first add the URLs to capture the page title. This information is later used by the URL check report to compare the page titles for changes. Since the URL is changing, the page title must also change to reflect the current page.

Comment entered 2022-11-02 07:36:42 by Kline, Bob (NIH/NCI) [C]

Run on DEV

2022-11-02 07:33:02.291 [INFO] Run completed.
{{   Docs examined    = 242}}
{{   Docs changed     = 0}}
{{   Versions changed = 703}}
{{   Could not lock   = 0}}
{{   Errors           = 0}}
{{   Time             = 0:13:24.987913}}

https://cdr-dev.cancer.gov/cgi-bin/cdr/ShowGlobalChangeTestResults.py?dir=2022-11-02_07-19-37

Comment entered 2022-11-02 09:43:06 by Osei-Poku, William (NIH/NCI) [C]

I just checked a few documents and so far, I have not seen changes to the SourceTitle data.

Comment entered 2022-11-02 09:59:36 by Kline, Bob (NIH/NCI) [C]

Ah, I didn't realize you were talking about a separate attribute. I thought you were just asking for the denormalized title to be changed in the linking element's text content. I'll modify the code to set that value back to what it was for the original global change, add code to change the other attribute, and run the job again.

Comment entered 2022-11-02 10:46:59 by Kline, Bob (NIH/NCI) [C]
Comment entered 2022-11-02 13:56:40 by Osei-Poku, William (NIH/NCI) [C]

I see that the anchor text is changed from "Targeted Cancer Therapies" to "Targeted Therapy to Treat Cancer"  but I don't see any instructions in the comments regarding that. I hope it is not Jira hiding comments from me 🙂. It is also possible that this is inferred from the original request. 

Comment entered 2022-11-02 14:04:49 by Osei-Poku, William (NIH/NCI) [C]

Also, for this test run, I don't seem to see that the SourceTitle data is changed.  Rather at least some of the anchor texts are changed to "Targeted Therapy for Cancer - NCI" if I am reading the diff report right. 

Comment entered 2022-11-02 14:32:34 by Kline, Bob (NIH/NCI) [C]

That's the title of the page you asked me to switch the link to, right?

Comment entered 2022-11-02 15:00:29 by Osei-Poku, William (NIH/NCI) [C]

1. There is a SourceTitle attribute on some of the linking elements that contains the old page title information (Targeted Cancer Therapies Fact Sheet - National Cancer Institute). This is what needs to change to the "Targeted Therapy for Cancer - NCI", if possible. This is for internal use (URL Check Report). 

  • <RelatedExternalRef SourceTitle="Targeted Cancer Therapies Fact Sheet - National Cancer Institute" UseWith="en" cdr:xref="https://www.cancer.gov/about-cancer/treatment/types/targeted-therapies/targeted-therapies-fact-sheet">Targeted Cancer Therapies</RelatedExternalRef> ? --------------------------— ^^^^^^^^^^^^^^^^

  • + <RelatedExternalRef SourceTitle="Targeted Cancer Therapies Fact Sheet - National Cancer Institute" UseWith="en" cdr:xref="https://www.cancer.gov/

2. The anchor text issue is a different question. I just want to make sure that is the anchor text we want in the documents since that will display on cancer.gov

Comment entered 2022-11-02 15:14:30 by Kline, Bob (NIH/NCI) [C]

Can you give me in one comment a complete statement of exactly the things you want this global change to do?

Comment entered 2022-11-02 16:14:28 by Osei-Poku, William (NIH/NCI) [C]

Sure. For the selected documents, for any linking element that has the SourceTitle attribute, if the attribute value is populated, replace it with "Targeted Therapy for Cancer - NCI". If the attribute value is not populated, please add the attribute value "Targeted Therapy for Cancer - NCI" (this is a new request). The anchor text should remain "Targeted Cancer Therapies". It should only change if it says, "Targeted Cancer Therapies Fact Sheet". In that case, it (anchor text) should change to "Targeted Cancer Therapies".

I didn't want to repeat the original request of changing the URLs here.

Comment entered 2022-11-02 18:01:21 by Kline, Bob (NIH/NCI) [C]
Comment entered 2022-11-03 09:41:50 by Osei-Poku, William (NIH/NCI) [C]

Please run in live-mode on DEV. Thanks!

Comment entered 2022-11-03 12:31:29 by Kline, Bob (NIH/NCI) [C]

Done.

Comment entered 2022-11-17 11:27:57 by Osei-Poku, William (NIH/NCI) [C]

Please run the global in test mode on QA. Thanks!

Comment entered 2022-11-17 12:06:07 by Kline, Bob (NIH/NCI) [C]
Comment entered 2022-11-17 15:09:10 by Osei-Poku, William (NIH/NCI) [C]

Please run in live mode on QA. Thanks!

Comment entered 2022-11-17 16:55:00 by Kline, Bob (NIH/NCI) [C]

Done.

Comment entered 2022-11-28 19:56:03 by Osei-Poku, William (NIH/NCI) [C]

Please run the global in test mode on PROD. Thanks!

Comment entered 2022-11-29 11:30:14 by Kline, Bob (NIH/NCI) [C]
Comment entered 2022-11-29 16:42:05 by Osei-Poku, William (NIH/NCI) [C]

Thanks! Please run the global in live mode on PROD.

Comment entered 2022-11-30 06:07:13 by Kline, Bob (NIH/NCI) [C]

JIRA's hiding William's most recent comment, so I can't post a threaded reply. The job has been run in live mode on the production server.

Comment entered 2022-12-07 10:21:38 by Osei-Poku, William (NIH/NCI) [C]

Verified on PROD. Thanks!

Attachments
File Name Posted User
horizontal.PNG 2022-06-22 18:44:13 Osei-Poku, William (NIH/NCI) [C]
image-2022-06-23-06-05-43-102.png 2022-06-23 06:05:44 Kline, Bob (NIH/NCI) [C]
ocecdr-5109.xlsx 2022-05-26 16:22:05 Kline, Bob (NIH/NCI) [C]
ocecdr-5109 - targeted therapies fact sheet_cn RJ.xlsx 2022-06-03 15:52:05 Juthe, Robin (NIH/NCI) [E]
targeted therapy_1.PNG 2022-11-02 13:52:44 Osei-Poku, William (NIH/NCI) [C]
targeted therapy_2.PNG 2022-11-02 14:03:39 Osei-Poku, William (NIH/NCI) [C]
targeted therapy.PNG 2022-11-02 09:42:19 Osei-Poku, William (NIH/NCI) [C]

Elapsed: 0:00:00.000686