NCIOCPL / clinical-trials-search-print

Print service for clinical trial search
0 stars 1 forks source link

Update ct.gov link #94

Closed blairlearn closed 1 year ago

blairlearn commented 1 year ago

Issue description

The CT.Gov site has been updated to use a new URL structure, which breaks our redirection of trials not found in the Clinical Trials API.

Link such as https://clinicaltrials.gov/show/NCT04916002 no longer work. The structure is now https://clinicaltrials.gov/study/NCT04916002

ESTIMATE TBD

What's the expected change?

What's the current functionality?

What's the updated acceptance criteria?

Given search results for trial EA1181
And trial appears in the search results
When the search results print page is generated
Then the trial information box contains a link to http://clinicaltrials.gov/study/NCT04266249

Additional details / screenshot

Related Tickets

NCIOCPL/cgov-digital-platform-dynamic-services#35

blairlearn commented 1 year ago

Note to future selves.... Deploying this was back-burnered when ClinicalTrials.gov implemented a redirector the next day.