Open Sigfried opened 2 years ago
Very good idea.
@stephanieshong, you asked me to wait on this work until Push enclave_wrangler code so Siggie can work is done. Is there anything I can do to help?
I do not think you need to do this elaborate check prior to uploading since there is already a UI tool within the enclave to do this analysis. And it would very difficult to decide without a clinician looking at the expressionItem which descendant should be included or not. This is usually a clinician's review step with the clinical knowledge.
Final metadata check is done from the UI, currently user cannot make a draft version a non-draft version.
From my perspective, if we have a bunch of quality control checks we can run prior to uploading, that's not a bad idea in theory. From what I was thinking that Siggie meant, it would be easy to check if a new version we're uploading is exactly the same as an old version; wouldn't need a clinician to check; the script would just check the codes or any other fields we think are critical to check, and make sure that they're not exactly the same.
Yes. The point of this is just to make it so you can use this tool to add concept sets and not have to worry if you already added it; the software will figure it out for you. If you did already add it, it will tell you that and you're done. If not, you're probably trying to add a new version on purpose -- but, perhaps you didn't even know that a concept set with that name existed, so you can check and make sure you're not clobbering something you shouldn't... etc. So, as Joe said, this is all prior to looking at the clinical terminology issues.
The following condition only applies to the enclave versions. Certain use cases that will be important to consider:
I'm not sure what the current behavior is, but we need our software to do something reasonable if we try to add the same cset twice, if we add a different cset with the same name, or if we add a genuinely new version of an existing existing cset.
Should probably: