Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICD CDE #1049

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open

ICD CDE #1049

wants to merge 34 commits into from

Conversation

IrynaZherka
Copy link
Collaborator

No description provided.

Copy link
Contributor

@AlaikseiKatyshou AlaikseiKatyshou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestions:

  • remove commented parts of the code if it is no longer needed,
  • bring code to the codestyle.

@@ -677,7 +743,141 @@ WHERE icd_cde_source.source_code = grouped.source_code
AND icd_cde_source.source_code_description = grouped.source_code_description
AND icd_cde_source.source_vocabulary_id = grouped.source_vocabulary_id;

--6. Check every concept is represented in only one group
SELECT cde_groups.DetachConceptFromGroup('icd_cde_source', ARRAY['I85.0:ICD10CM']);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it would be better to do it in one select, with all the values ​​combined into one array?
SELECT cde_groups.DetachConceptFromGroup('icd_cde_source', ARRAY['M10.28:ICD10CM', 'M10.38:ICD10CM', ...,'P52.6:ICD10']);

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants