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?
When there is an exact match override for the c-codes in the listing information from an EVS value-set, the overriding data should be returned instead of the value-set's.
What's the current functionality?
Look up returns the listing information for the exact pretty-url requested.
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 overridingListingInfo
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 namethyroid-cancer
.A lookup for
malignant-thyroid-gland-neoplasm
should then return the ListingInfo forthyroid-cancer
.What's the expected change?
What's the current functionality?
What's the updated acceptance criteria?
Additional details / screenshot
Related Tickets