CDR Tickets

Issue Number 4971
Summary [Gene Name Display] Allow for italicized gene names in DefinitionText (GTC doc) and Caption (Media doc) elements
Created 2021-04-19 10:30:29
Issue Type Improvement
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2021-05-18 11:38:04
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.289153
Description

We decided to allow for italicized gene names in DefinitionText after the Glossary API had been implemented. OCECDR-4559. Could you please look into this for Newton?

Comment entered 2021-05-03 20:15:16 by Englisch, Volker (NIH/NCI) [C]

I modified the following filter but I'm currently unable to test the modifications due to the scheduler not running:

  • CDR800355: Index Glossary Dictionary

Comment entered 2021-05-04 17:17:44 by Englisch, Volker (NIH/NCI) [C]

I've updated a glossary term and included a GeneName element.  The result of the marked-up text can be seen in this screenshot.

 

Comment entered 2021-05-06 16:38:04 by Englisch, Volker (NIH/NCI) [C]

These changes were already implemented as part of OCECDR-4928.

No additional filter changes were necessary.

Comment entered 2021-05-06 16:39:55 by Englisch, Volker (NIH/NCI) [C]

, if you go ahead and markup a few glossaries (gene name, scientific name, strong, italics are all part of this change) I can go ahead and publish those and then refresh the DEV glossary dictionary.

Comment entered 2021-05-07 13:01:28 by Osei-Poku, William (NIH/NCI) [C]

Hi  These two are ready for publishing on DEV. 

CDR0000045851

CDR0000046539

Comment entered 2021-05-07 17:23:46 by Englisch, Volker (NIH/NCI) [C]

I'm attaching the output for the two published glossary terms coming from the DEV glossary API:

 

 

 

Comment entered 2021-05-10 18:16:19 by Osei-Poku, William (NIH/NCI) [C]

When you have time please run PP for the following terms and attach the screenshots - 776823 and 802877.

Comment entered 2021-05-10 19:49:55 by Englisch, Volker (NIH/NCI) [C]

Here are the screenshots for the two terms:

 

CALR gene - before

CALR gene - after

CDK6 gene - before

CDK6 gene - after

Comment entered 2021-05-13 09:41:39 by Osei-Poku, William (NIH/NCI) [C]

Thanks, Volker. When you have time, please generate PP for the following terms: 561237,561325, 721259 and 721252

Comment entered 2021-05-13 12:55:48 by Englisch, Volker (NIH/NCI) [C]

Which screenshots do you need?  English, Spanish, or both?

Comment entered 2021-05-13 13:09:29 by Osei-Poku, William (NIH/NCI) [C]

The screenshots for the Spanish content.

Comment entered 2021-05-13 14:37:51 by Englisch, Volker (NIH/NCI) [C]

I don't see any changes for 2 of the 4 Spanish terms.  Hope that's expected.

 

Comment entered 2021-05-14 10:04:24 by Osei-Poku, William (NIH/NCI) [C]

  don't see any changes for 2 of the 4 Spanish terms.  Hope that's expected.

 

This is because the tags are in the Replacement Text in the GTN.  Please see - 721252.

Comment entered 2021-05-14 10:57:42 by Englisch, Volker (NIH/NCI) [C]

So, is the problem that you're not allowed to include a PlaceHolder element in the definition of the GTC or that the GeneName tag in the GTN document isn't carried over to the definition?

Comment entered 2021-05-14 12:07:22 by Osei-Poku, William (NIH/NCI) [C]

This is not a typical use. The reason for this case is that, there are multiple terms linking to the same definition and the the text that needs to be italicized must not  display in one of them. The only logical way is to use the Placeholder/Replacement team feature.

Comment entered 2021-05-14 12:32:03 by Englisch, Volker (NIH/NCI) [C]

Thanks for the info, .  I will take a look once I'm done with the media report to see how big of an effort these changes would be.

Comment entered 2021-05-17 18:12:48 by Englisch, Volker (NIH/NCI) [C]

This is not a typical use. The reason for this case is that, there are multiple terms linking to the same definition and the the text that needs to be italicized must not  display in one of them.

This sounds to me that you have two different replacements, one being "ALK" and one being "<emphasis>ALK</emphasis>" but you want to handle these with one replacement text element.  Wouldn't it make more sense to use two different replacements in this situation?

Would you be able to provide an example of this situation?

Comment entered 2021-05-18 11:36:28 by Englisch, Volker (NIH/NCI) [C]

I've modified the filters to process GeneName and ScientificName element used inside the ReplacementText elements.  The following filters have been modified:

  • CDR0000616048.xml - Vendor Filter: GlossaryTermName

  • CDR0000800355.xml - Index Glossary Dictionary

This is ready for review on DEV.

Comment entered 2021-05-18 11:37:42 by Englisch, Volker (NIH/NCI) [C]

Here is the screenshot for the Spanish definition of ALK gene:

Comment entered 2021-05-18 13:43:43 by Osei-Poku, William (NIH/NCI) [C]
Comment entered 2021-05-19 10:37:32 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

Comment entered 2021-05-25 15:44:00 by Osei-Poku, William (NIH/NCI) [C]

Hi Volker  I assume we repeat the same process as we did on DEV? That is, marking up the documents and providing you with the IDs for the screenshots?

Comment entered 2021-05-25 16:08:34 by Englisch, Volker (NIH/NCI) [C]

Yep, that works for me if seeing the screenshots gives you enough information.

Comment entered 2021-05-26 10:07:29 by Juthe, Robin (NIH/NCI) [E]

I just added gene name tags within the definition of BRCA1 (GTN is CDR46047) if you want to use that as an example for testing in the glossary.

Comment entered 2021-05-26 13:22:27 by Englisch, Volker (NIH/NCI) [C]

I have published that glossary and confirmed that everything is working correctly but I'm currently unable to make any changes to the QA server because of a Drupal release that's being applied and tested today on QA.  I will provide the screenshots when that's possible again.

Comment entered 2021-06-01 16:58:29 by Englisch, Volker (NIH/NCI) [C]

Running diff reports on QA shows that there is an issue with the substitution of the Spanish PlaceHolder for the vendor term output.

I reopened the ticket to fix it.

Comment entered 2021-06-02 16:07:32 by Englisch, Volker (NIH/NCI) [C]

The following filter has been updated to fix the display of the missing replacement text.

The differences that still exist are either marked-up text (GeneName, ScientificName, etc.) or MedialLinks (audio) that have been added.  I did not find any other changes which I did not expect for the 150 documents showing differences.

Comment entered 2021-06-02 17:16:27 by Englisch, Volker (NIH/NCI) [C]

Here is the screenshot for BRCA1 from QA:

Comment entered 2021-06-02 20:34:09 by Osei-Poku, William (NIH/NCI) [C]

Do you want us to retest this on DEV?

Comment entered 2021-06-03 12:36:06 by Englisch, Volker (NIH/NCI) [C]

The change has been installed on QA in order to rerun the diff reports, so you can test this on QA.

Comment entered 2021-06-04 09:27:59 by Osei-Poku, William (NIH/NCI) [C]

Please generate PP screenshots for the following docs. 

721252
561237
561325
804621
346515
721252

Comment entered 2021-06-05 00:42:19 by Englisch, Volker (NIH/NCI) [C]

, you are asking for PP screenshots for those documents but none of the previous screenshots came from the PP report.  Instead, I created those from the Cancer.gov DEV site.   In order to copy apples with apples the screenshots should come from the Cancer.gov QA/TEST site.

This is especially true since the PP report for glossaries will not show these marked up elements.  It would require a code changes to the PP report to display these changes here as well.

Comment entered 2021-06-07 10:21:00 by Osei-Poku, William (NIH/NCI) [C]


, you are asking for PP screenshots for those documents but none of the previous screenshots came from the PP report.  Instead, I created those from the Cancer.gov DEV site.   In order to copy apples with apples the screenshots should come from the Cancer.gov QA/TEST site.

Sure. Please generate the screenshots from the Cancer.gov test site.


This is especially true since the PP report for glossaries will not show these marked up elements.  It would require a code changes to the PP report to display these changes here as well.

I didn't realize that was the case. Ultimately we would want to be able to view the changes in PP.

Comment entered 2021-06-07 13:31:57 by Englisch, Volker (NIH/NCI) [C]

Here are the screenshots from QA of those 5 documents (one was a duplicate).

ALK gene

BCR-ABL fusion gene

BRAF gene

amivantamab

Adriamycin

Comment entered 2021-06-08 15:05:34 by Osei-Poku, William (NIH/NCI) [C]

For  721259 and 721252 could you please provide the screenshots of the Spanish terms?

Comment entered 2021-06-08 16:37:52 by Englisch, Volker (NIH/NCI) [C]

Comment entered 2021-06-08 17:36:31 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

Comment entered 2021-06-16 10:29:20 by Osei-Poku, William (NIH/NCI) [C]

Verified on PROD/Cancer.gov. I will create a ticket to modify PP to display these changes.

Attachments
File Name Posted User
Screen Shot 2021-05-04 at 5.14.12 PM.png 2021-05-04 17:16:25 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-05-07 at 5.18.15 PM.png 2021-05-07 17:21:43 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-05-07 at 5.18.39 PM.png 2021-05-07 17:20:58 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-05-10 at 7.40.52 PM.png 2021-05-10 19:47:58 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-05-10 at 7.41.26 PM.png 2021-05-10 19:46:33 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-05-10 at 7.43.49 PM.png 2021-05-10 19:47:06 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-05-10 at 7.44.20 PM.png 2021-05-10 19:48:40 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-05-13 at 2.28.22 PM.png 2021-05-13 14:32:52 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-05-13 at 2.28.22 PM-1.png 2021-05-13 14:36:18 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-05-13 at 2.29.04 PM.png 2021-05-13 14:32:52 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-05-13 at 2.29.04 PM-1.png 2021-05-13 14:35:32 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-05-13 at 2.30.03 PM.png 2021-05-13 14:32:52 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-05-13 at 2.30.03 PM-1.png 2021-05-13 14:34:02 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-05-13 at 2.30.45 PM.png 2021-05-13 14:32:52 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-05-13 at 2.30.45 PM-1.png 2021-05-13 14:37:01 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-05-18 at 11.22.05 AM.png 2021-05-18 11:37:15 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-06-02 at 5.06.59 PM.png 2021-06-02 17:16:00 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-06-07 at 1.19.09 PM.png 2021-06-07 13:29:00 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-06-07 at 1.20.09 PM.png 2021-06-07 13:29:44 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-06-07 at 1.20.35 PM.png 2021-06-07 13:30:21 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-06-07 at 1.21.03 PM.png 2021-06-07 13:30:50 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-06-07 at 1.21.30 PM.png 2021-06-07 13:31:14 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-06-08 at 16.32.47.png 2021-06-08 16:37:14 Englisch, Volker (NIH/NCI) [C]
Screen Shot 2021-06-08 at 16.35.42.png 2021-06-08 16:36:37 Englisch, Volker (NIH/NCI) [C]

Elapsed: 0:00:00.001890