-
Notifications
You must be signed in to change notification settings - Fork 75
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
base: master
Are you sure you want to change the base?
ICD CDE #1049
Conversation
There was a problem hiding this 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.
ICD_CDE/ICD_CDE_source.sql
Outdated
@@ -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']); |
There was a problem hiding this comment.
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']);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
# Conflicts: # ICD_CDE/ICD_mapping_checks.sql
No description provided.