CDR Tickets

Issue Number 4667
Summary Update Cancer.gov Terminology Vendor Filter to change how links to Clinical Trials & NCI Thesaurus are handled.
Created 2019-09-17 17:30:54
Issue Type Improvement
Submitted By Pizzillo, Bryan (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2020-07-23 14:42:19
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.249910
Description

Issue

The term documents Cancer.gov receive for the drug dictionary have the following sentences added to each definition:

Check for <a class="navigation-dark-red" href="https://www.cancer.gov/about-cancer/treatment/clinical-trials/intervention/C26449\">active clinical trials</a> using this agent. (<a class="navigation-dark-red" href="https://ncit.nci.nih.gov/ncitbrowser/ConceptReport.jsp?dictionary=NCI%20Thesaurus&code=C26449\">NCI Thesaurus</a>)

This causes a number of issues:

  • Links are generated for 0 trials. We should not generate links for 0 trials.

  • For short definitions the text is appearing in the meta description of pages.

  • The text element within the Cancer.gov dictionary record does not contain HTML and thus it just has the text, "Check for active clinical trials using this agent. (NCI Thesaurus)" 

Request

If the CDR were to expose the NCT ID (C-code) as a data element on the record, the dictionary code could easily generate those two links. As it would be generating the links, the text would not appear in the metadata. Additionally, we would then have the flexibility to query the API to check if there are any Clinical Trials before rendering the active trials link.

I leave it to  and/or to identify an appropriate place to add the NCT ID in the XML. In the Cancer.gov dictionary service JSON structure for the API, there should be a `nctid` element as a sibling to the `id` element. e.g

{
  "id": "37783",
  "nctid": "C1681",
  "term": "alemtuzumab",
  "alias": [
    {
      "name": "anti-CD52 monoclonal antibody",
      "type": "Synonym"
    },
    ...SNIP...
  ],
  ...SNIP...
}
Comment entered 2020-05-01 16:05:15 by Kline, Bob (NIH/NCI) [C]

does this need to get folded into the structures on the wiki page?

Comment entered 2020-07-23 14:42:07 by Kline, Bob (NIH/NCI) [C]

I believe the requested nctid element has been replaced by the NCIConceptId element added to the JSON structure in as reflected in the drug dictionary ORM. If that's not right, , please feel free to reopen this ticket and provide clarification for what still needs to be done.

Elapsed: 0:00:00.001413