NCIOCPL / clinical-trials-search-app

Clinical Trial Search Front-end
1 stars 6 forks source link

Update CT.gov URLs #613

Closed sarinapadilla closed 1 year ago

sarinapadilla commented 1 year ago

Issue description

clinicaltrials.gov has launched their new site, and the URLs for clinical trials are now https://clinicaltrials.gov/study/<NCTID>. In the process, they did not put any redirects in place. So the old https://clinicaltrials.gov/show/<NCTID> urls return 404s.

The app needs links to be updated in three places:

ESTIMATE TBD

What's the expected change?

What's the current functionality?

What's the updated acceptance criteria?

Scenario: Trial description page ClinicalTrials.gov ID link points to CT.gov/study/<NCTID>
Given a user is viewing https://www.cancer.gov/about-cancer/treatment/clinical-trials/search/v?id=NCI-2014-01507&loc=0&rl=1
When the user clicks on the ClinicalTrials.gov ID link
Then the link takes them to https://clinicaltrials.gov/study/NCT02201992
Scenario: Trial results page "See ClinicalTrials.gov" link points to CT.gov/study/<NCTID>
Given a user is viewing https://www.cancer.gov/about-cancer/treatment/clinical-trials/search/r?loc=0&pn=750&rl=1
When the user clicks on the See ClinicalTrials.gov link
Then the link takes them to https://clinicaltrials.gov/study/NCT02201992