The ultimate goal is to display a column for each search facet that's been applied.
We can move towards that before we create the curated facets themselves.
A step in that direction would be to allow multiple code-filters to be applied:
initial screen shows all datasets
button to "add filter"
dialog shows existing code search view with selection controls
"apply" filters the datasets:
codes within a filter are combined with or: the cube should have any observations matching one of the selected codes
the filters are combined with and: the cube should match at least one code from every filter
results table includes a column per filter that's been applied
column has header with the search term (or perhaps just an incrementing number for now if tracking state is tricky - given we're only proposing to do something like this as part of the entity recognition extension)
column cells show the matched codes (this might be worth discussing/ exploring in more detail or extracting to a new issue in it's own right)
The ultimate goal is to display a column for each search facet that's been applied.
We can move towards that before we create the curated facets themselves.
A step in that direction would be to allow multiple code-filters to be applied: