griffithlab / civic-client

Web client for CIViC: Clinical Interpretations of Variants in Cancer
MIT License
50 stars 28 forks source link

Conditional Advanced Search #1012

Open acoffman opened 5 years ago

acoffman commented 5 years ago

We ran into this with searching ASCO abstracts vs PubMed records and will run into it again when implementing advanced search of suggested changes (ie: changes to Genes will have different available fields to search than changes to Variants).

We need to be able to change the searchable fields based on a selected "type."

arpaddanos commented 5 years ago

Yes, it would be good to be able to search for EIDs and have source type as an option, as we now have ASCO evidence items added to CIViC.

susannasiebert commented 5 years ago

Adding ASCO ID as a search field is pretty straightforward even in the current system. The current PubMed ID selection already only returns PubMed items. Would we also want to add source type as a separate search field so that it would return all ASCO-based vs PubMed-based evidence items?