Open gowthamrao opened 6 months ago
In Circe 2.0 this information will probably be removed from the concept set (as it doesn't impact anything about generating cohort queries) and instead it will be a secondary lookup to resolve the referenced concepts separately.
Sorry, didn't meant o close. There may be something we can do in the 2.x line of WebAPI to 'reload' referenced concepts in a concept set.
Thank you for reopening. Yes, the ask is to update what the UI displays. With UI displaying (in this case) wrong information, the user has no way of knowing if their cohort definition would be impacted.
In this context - Atlas UI would propagate the illusion that the cohort definition is not impacted by vocabulary change.
The ask is for a button that ensures the content of chosen vocabulary version is shown instead of what was in cohort json.
Expected behavior
Atlas updates concept id based on referenced vocabulary
Actual behavior
Atlas keep concept id metadata in cohort json. it does not know that vocabulary has changed a previously standard concept id to non standard
Steps to reproduce behavior
Build a concept set using json below, you will see below
now import the following concept ids in a webApi that has February 2024 version vocabulary. A lot of vocabulary changes occurred in 2024 with many previously standard conceptIds becoming non standard. Also many conceptIds changed from previously condition domain to measurement domain.
They are now NOT standard (in screenshot below i am intentionally showing the same conceptId twice . Here the non standard information is appended during the import step above to the original concept set expression). Note the current metadata for each conceptId is different from what was previously stored in cohort json.