Open anthonysena opened 3 years ago
This is also related to a separate issue, but it sounds like that when we open a concept set expression, we need to perform some sort of data-synchronization with the vocabulary. The problem is, what do we do with mismatches (ie, you move to a vocabulary where the concepts in your concept set expression are gone or renamed)? I think it should be an opt-in operation where the user can refresh their concepts in their concept set expression with the chosen vocabulary.
Expected behavior
Concepts displayed in a concept set expression are resolved against the vocabulary daimon.
Actual behavior
Concepts are displayed based on their definition in the cohort expression JSON which may differ from the concept's name in the vocabulary.
Steps to reproduce behavior
Context
Since cohort definitions may be created programmatically outside of ATLAS, we need some mechanism to make sure that the concept set names stored in the JSON are ignored in favor of the concept id's name in the vocabulary.