NCIOCPL / clinical-trials-listing-api

API for Clinical Trial (Dynamic) Listing Pages
2 stars 2 forks source link

Modify pretty-url look up to return overridden listing info for a EVS value-set pretty-url #25

Closed blairlearn closed 3 years ago

blairlearn commented 3 years ago

Issue description

When a pretty URL lookup matches a ListingInfo document from an EVS value-set, the ListingInformation Controller's GetByPrettyUrlName method should check to see if there is an override for that document's exact set of C-Codes. If an override is found, the method should return the overriding ListingInfo document instead.

For example, the value set with c-code C7510 has a label of "Malignant Thyroid Gland Neoplasm", giving it a pretty URL name of malignant-thyroid-gland-neoplasm. There is a matching override, with label "Thyroid Cancer Clinical Trials" and pretty-url name thyroid-cancer.

A lookup for malignant-thyroid-gland-neoplasm should then return the ListingInfo for thyroid-cancer.

ESTIMATE TBD

What's the expected change?

What's the current functionality?

What's the updated acceptance criteria?

Additional details / screenshot

Related Tickets

blairlearn commented 3 years ago

Obsoleted due to requirements and design change.