CDR Tickets

Issue Number 4350
Summary [Glossary] Links to Drug information summaries in Spanish Dictionary
Created 2017-12-13 10:26:33
Issue Type Improvement
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2018-04-27 14:28:42
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.218276
Description

The drug information summary links (Related Drug Summary Link) in the GTCs which display in the More information section of glossary terms on Cancer.gov are also displayed in the Spanish dictionary. Since they are links to only English content, would it be possible to suppress the display using an attribute like "UseWith" to prevent its display in

Here is an example.

https://www.cancer.gov/espanol/publicaciones/diccionario?cdrid=386203

Comment entered 2017-12-13 10:43:47 by Englisch, Volker (NIH/NCI) [C]

Since we don't have Spanish drug info summaries wouldn't it be sufficient to just suppress the element from Spanish glossary terms or should it be made clear that the link goes to a document in English?

Comment entered 2017-12-13 12:27:45 by Osei-Poku, William (NIH/NCI) [C]

That should work. But using the attribute will potentially make it possible to re-use the element in the future.

Comment entered 2018-02-16 07:33:04 by Kline, Bob (NIH/NCI) [C]

: please assign story points for this ticket.

Comment entered 2018-03-05 13:40:39 by Englisch, Volker (NIH/NCI) [C]

It appears that the GK code is assuming to add the link to both languages if the UseWith attribute doesn't exist. That's the default for the RelatedSummaryRef but that default shouldn't be applied for this RelatedDrugSummaryLink.
It may be easiest to add the UseWith="en" attribute for all drug summary links.

We need to identify if the post processing filters may need to be modified as well.

Comment entered 2018-03-14 12:43:22 by Englisch, Volker (NIH/NCI) [C]

In order to test my suggested approach we will need to update the DTD that is used by Gatekeeper.

Comment entered 2018-03-14 13:22:27 by Englisch, Volker (NIH/NCI) [C]

Oops! I forgot that the DTD change is release dependent, so I'll have to move the ticket back into hawking.

The following items need to be modified:

  • CDR616048: Vendor Filter: GlossaryTermName

  • pdqCG.dtd

  • pdq.dtd, if we'll include the new attribute "UseWith = 'en'" in the PDQ Partner XML output

  • GK DTD

  • GK GlossaryTerm XSL

Comment entered 2018-03-14 13:29:43 by Englisch, Volker (NIH/NCI) [C]

I've tested this approach successfully on DEV using 's example and discussed the approach with Blair.

Adding and to this ticket since it requires coordination with the WCMS team.

Also, this change will require all GlossaryTerms with RelatedDrugSummary elements to be reprocessed.

Comment entered 2018-03-14 15:23:24 by Englisch, Volker (NIH/NCI) [C]

The following files have been updated:

  • pdq.dtd [hawking fd28d79]

  • pdqCG.dtd [hawking fd28d79]

  • CDR0000616048.xml [hawking b4bdf7ac]

  • GK: pdq.dtd [hawking 3603231]

  • GK: GlossaryTerm.xsl [hawking 3603231]

The GlossaryTerms have been reprocessed on DEV for testing. There were 580 changes (on www-blue-dev.cancer.gov).

This is ready for review on DEV.

Comment entered 2018-03-14 16:13:24 by Kline, Bob (NIH/NCI) [C]

: You know that the git commit identifiers are only unique within a repository, and that the branch isn't necessary to identify the commit, right? In other words, you might want to replace the branch name with the repo name.

Comment entered 2018-03-14 16:25:14 by Englisch, Volker (NIH/NCI) [C]

You know that the git commit identifiers are only unique within a repository

I do now. :-)

The addition of the [branch hash] information is more for myself than anybody else. If I'm making changes on multiple release-independent tickets it serves as a link between the ticket and branch and as long as our file names are unique across the CDR repositories I won't have a problem finding my updates.

Comment entered 2018-03-14 16:30:54 by Kline, Bob (NIH/NCI) [C]

... as long as our file names are unique across the CDR repositories ...

Well, that's true a lot of the time, but not always. Try {{find my-repos name publishing.py}} for example. :)

Comment entered 2018-03-14 17:08:53 by Englisch, Volker (NIH/NCI) [C]

Still true for me:

$ find . -name publishing.py
./admin/Inetpub/wwwroot/cgi-bin/cdr/publishing.py
Comment entered 2018-03-14 17:14:36 by Kline, Bob (NIH/NCI) [C]

You don't have all the repositories then.

$ find . -name publishing.py
./lib/Python/cdrapi/publishing.py
./admin/Inetpub/wwwroot/cgi-bin/cdr/publishing.py
Comment entered 2018-03-14 17:34:26 by Kline, Bob (NIH/NCI) [C]

Here's a more comprehensive list. :-)

./client/XMetaL/Template/Cdr/ClinicalTrialSearchString.xml
./server/Schemas/ClinicalTrialSearchString.xml
./client/XMetaL/Template/Cdr/GlossaryTermConcept.xml
./server/Schemas/GlossaryTermConcept.xml
./client/XMetaL/Template/Cdr/GlossaryTermName.xml
./server/Schemas/GlossaryTermName.xml
./client/XMetaL/Template/Cdr/InScopeProtocol.xml
./server/Schemas/InScopeProtocol.xml
./client/XMetaL/Template/Cdr/Licensee.xml
./server/Schemas/Licensee.xml
./client/XMetaL/DLL/Makefile
./client/XMetaL/CdrClient/Makefile
./client/XMetaL/Tools/Makefile
./client/XMetaL/Template/Cdr/Media.xml
./server/Schemas/Media.xml
./client/XMetaL/Template/Cdr/OutOfScopeProtocol.xml
./server/Schemas/OutOfScopeProtocol.xml
./client/XMetaL/Template/Cdr/PDQBoardMemberInfo.xml
./server/Schemas/PDQBoardMemberInfo.xml
./lib/Python/cdrapi/README.md
./tools/DevTools/Utilities/README.md
./tools/Build/README.md
./client/XMetaL/Template/Cdr/ScientificProtocolInfo.xml
./server/Schemas/ScientificProtocolInfo.xml
./client/XMetaL/Template/Cdr/SupplementaryInfo.xml
./server/Schemas/SupplementaryInfo.xml
./client/XMetaL/Template/Cdr/TermSet.xml
./server/Schemas/TermSet.xml
./lib/Python/cdrapi/__init__.py
./scheduler/__init__.py
./scheduler/util/__init__.py
./scheduler/jobs/__init__.py
./scheduler/tasks/__init__.py
./scheduler/core/__init__.py
./scheduler/core/datastore/__init__.py
./scheduler/core/datastore/providers/__init__.py
./admin/Inetpub/wwwroot/cgi-bin/cdr/check-cdr-tier-settings.py
./publishing/gpmailers/cgi-bin/check-cdr-tier-settings.py
./client/XMetaL/DLL/ReleaseUMinDependency/Cdr.tlog/cl.command.1.tlog
./client/XMetaL/CdrClient/Release/CdrClient.tlog/cl.command.1.tlog
./admin/Inetpub/wwwroot/cgi-bin/cdr/fetch-tier-settings.py
./publishing/gpmailers/cgi-bin/fetch-tier-settings.py
./admin/Inetpub/wwwroot/cgi-bin/scheduler/static/js/views/logs/filter-view.js
./admin/Inetpub/wwwroot/cgi-bin/scheduler/static/js/views/executions/filter-view.js
./admin/Inetpub/wwwroot/cgi-bin/cdr/log-tail.py
./publishing/gpmailers/cgi-bin/log-tail.py
./lib/Python/cdrapi/publishing.py
./admin/Inetpub/wwwroot/cgi-bin/cdr/publishing.py
./client/XMetaL/DLL/resource.h
./client/XMetaL/CdrClient/resource.h
./client/XMetaL/Icons/Cdr/row1.bmp
./client/XMetaL/Icons/Cdr2/row1.bmp
./client/XMetaL/Icons/Cdr/row2.bmp
./client/XMetaL/Icons/Cdr2/row2.bmp
./client/XMetaL/Icons/Cdr/row3.bmp
./client/XMetaL/Icons/Cdr2/row3.bmp
./lib/Python/test/run-tests.py
./server/Filters/test/run-tests.py
./lib/Python/cdrapi/settings.py
./scheduler/settings.py
./admin/Inetpub/wwwroot/cgi-bin/scheduler/static/js/views/jobs/stats-view.js
./admin/Inetpub/wwwroot/cgi-bin/scheduler/static/js/views/executions/stats-view.js
./admin/Inetpub/wwwroot/cgi-bin/scheduler/static/js/views/jobs/table-view.js
./admin/Inetpub/wwwroot/cgi-bin/scheduler/static/js/views/logs/table-view.js
./admin/Inetpub/wwwroot/cgi-bin/scheduler/static/js/views/executions/table-view.js
./admin/Inetpub/wwwroot/web.config
./admin/Inetpub/wwwroot/cgi-bin/secure/web.config
./glossifier/cgi-bin/web.config
./server/api/web.config
Comment entered 2018-03-15 11:29:04 by Englisch, Volker (NIH/NCI) [C]

, this ticket has a WCMS dependency that's purely a XSLT filter change. No Blair-time needed.

Comment entered 2018-04-11 16:17:00 by Osei-Poku, William (NIH/NCI) [C]

Verified on QA. Thanks!

Comment entered 2018-04-27 09:49:15 by Learn, Blair (NIH/NCI) [C]

It appears related drug info summaries are now being suppressed for some set of English glossary terms.

For example, abiraterone acetate (CDRID 641969).

This can presently be seen on the DT environment at:
https://www-dt-qa.cancer.gov/publications/dictionaries/cancer-terms/def/abiraterone-acetate

vs. production:
https://www.cancer.gov/publications/dictionaries/cancer-terms/def/abiraterone-acetate

Comment entered 2018-04-27 10:27:21 by Englisch, Volker (NIH/NCI) [C]

That's not good. Let me take a look at the data.

Comment entered 2018-04-27 14:28:32 by Englisch, Volker (NIH/NCI) [C]

As discussed, the problem was that the glossaries had been reprocessed on Gatekeeper using an existing data set which did not include the new "UseWith='en'" attribute.

We updated the DTD and pushed a new data set from the CDR. The links are now restored on the English terms.

Comment entered 2018-05-31 12:55:39 by Osei-Poku, William (NIH/NCI) [C]

Verified. Thanks!

Elapsed: 0:00:00.001297