CDR Tickets

Issue Number 5336
Summary Import Constipation, Diarrhea and Bowel Obstruction summaries from Drupal
Created 2024-09-18 17:19:30
Issue Type Task
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2024-10-04 15:49:52
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.464620
Description

Please import the Constipation, Diarrhea and Bowel Obstruction summaries (English and Spanish) from Drupal for processing into the CDR for PDQ content partners. 

The node ids are:

node/903708

node/903722

/node/1279176

Comment entered 2024-09-19 12:15:01 by Kline, Bob (NIH/NCI) [C]

The software choked on an unmapped structure. The Spanish version of the Bowel Obstruction and Cancer Treatment summary modified the last item in the bulleted list in the Treating a bowel obstruction section (Tratamiento de una obstrucción intestinal in the Spanish translation of the summary) by wrapping the text content of that list item inside a nested paragraph. In addition to causing the script to fail, this also has the side effect of inserting unwanted space between the last two bulleted items in the list.

If this discrepancy is eliminated the script failure will go away.

I recommend copying the text content of the list item into the clipboard, removing the list item and recreating it with the text pasted back from the clipboard.

Comment entered 2024-09-19 13:26:12 by Osei-Poku, William (NIH/NCI) [C]

This has been fixed. Please try again. Thanks!

Comment entered 2024-09-20 06:25:39 by Kline, Bob (NIH/NCI) [C]

Documents attached.

Comment entered 2024-10-03 10:48:58 by Osei-Poku, William (NIH/NCI) [C]

Verified. Thanks!

Comment entered 2024-10-03 13:32:36 by Osei-Poku, William (NIH/NCI) [C]

Reopening this ticket as I have a question about the Spanish URLs. They do not point to the cancer.gov/espanol. Can this be fixed in future imports?

<SummaryURL cdr:xref="https://www.cancer.gov/cancer/tratamiento/efectos-secundarios/estrenimiento">Estreñimiento relacionado con el tratamiento del cáncer</SummaryURL>

Comment entered 2024-10-04 13:14:47 by Kline, Bob (NIH/NCI) [C]

Scripts modified to incorporate new requirement.

https://github.com/NCIOCPL/cdr-tools/commit/b90832d

Comment entered 2024-10-04 15:48:55 by Osei-Poku, William (NIH/NCI) [C]

Thanks! Will verify on the next import.

Attachments
File Name Posted User
cdbo.zip 2024-09-20 06:24:48 Kline, Bob (NIH/NCI) [C]
image-2024-09-19-12-12-05-886.png 2024-09-19 12:12:06 Kline, Bob (NIH/NCI) [C]

Elapsed: 0:00:00.001713