jhu-bids / TermHub

Web app and CLI tools for working with biomedical terminologies. https://github.com/orgs/jhu-bids/projects/9/views/7
https://bit.ly/termhub
GNU General Public License v3.0
11 stars 10 forks source link

Bug: Cset authoring: `isExcluded`, `includeDescendants` #938

Closed joeflack4 closed 3 days ago

joeflack4 commented 1 week ago

Overview

The details on this are fuzzy to me, but I think when a concept is added, we need some default values for these, and need to enable them to work correctly when activated/deactivated.

If you flag as excluded, and especially with includeDescendants, mark that as excluded, and all its descendants everywhere on the page if appears multiple times.

UI updates

Copied from:

Should start from expression items, and show included, mapped, excluded from there. For each set of concepts related to an expression item:

Related

Sigfried commented 4 days ago

Basic functionality now in place. Need tests and to consider the UI ideas in this issue.

Sigfried commented 4 days ago

Just did a successful face test: brought up a cset comparison (http://localhost:3000/cset-comparison?codeset_ids=438533155&codeset_ids=1000032560), created a new concept set, and confirmed that the new cset expansion was identical to the expansion of the cset version expanded with the most recent vocabulary.

Sigfried commented 3 days ago

Would be nice to add #939 so authoring view really reflects what expansion would look like; but people don't use includeMapped very much, so, it's pretty great that it shows effects of includeDescendants and isExcluded.

joeflack4 commented 3 days ago

Thanks Siggie!