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

Add AllergyIntolerance support to core study #287

Merged
merged 7 commits into from
Aug 27, 2024
Merged

Add AllergyIntolerance support to core study #287

merged 7 commits into from
Aug 27, 2024

Conversation

mikix
Copy link
Contributor

@mikix mikix commented Aug 26, 2024

  • Adds core__allergyintolerance
  • Adds core__count_allergyintolerance_month

Fixes #285
A subset of #139

Checklist

  • Consider if documentation (like in docs/, or if you've changed the structure of a table) needs to be updated
  • Consider if tests should be added
  • Update template repo if there are changes to study configuration

@mikix mikix force-pushed the mikix/allergy branch 3 times, most recently from 28cd261 to e7f0779 Compare August 26, 2024 17:05
Copy link

github-actions bot commented Aug 26, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2020 2006 99% 90% 🟢

New Files

File Coverage Status
cumulus_library/studies/core/builder_allergyintolerance.py 100% 🟢
TOTAL 100% 🟢

Modified Files

File Coverage Status
cumulus_library/init.py 100% 🟢
cumulus_library/statistics/counts.py 100% 🟢
cumulus_library/statistics/statistics_templates/counts_templates.py 100% 🟢
cumulus_library/studies/core/count_core.py 100% 🟢
TOTAL 100% 🟢

updated for commit: 796ca83 by action🐍

- Adds core__allergyintolerance
- Adds core__count_allergyintolerance_month
@mikix mikix marked this pull request as ready for review August 26, 2024 18:00
@mikix
Copy link
Contributor Author

mikix commented Aug 27, 2024

OK, I just added a few commits, separated out for easier reviewing:

  • Have GitHub ignore *.bsv files when detecting language
  • Update the docs (and the PR template) around non-US-Core ("optional") fields in the docs - both removed fields referenced by US Core and added missing fields we use that aren't in US Core
  • Addressed other review comments
  • Switched the default AllergyIntolerance count to be by-patient and added test around that
  • Updated the completion tracking to require AllergyIntolerance too

Comment on lines +9 to +11
# Defined here for easy overriding by tests
DEFAULT_MIN_SUBJECT = 10

Copy link
Contributor

Choose a reason for hiding this comment

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

ooh, this is a very good idea

@dogversioning
Copy link
Contributor

OK, I just added a few commits, separated out for easier reviewing:

Took a scan, looks good

@mikix mikix merged commit c1d62ad into main Aug 27, 2024
3 checks passed
@mikix mikix deleted the mikix/allergy branch August 27, 2024 16:35
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.

Support for Allergy in CORE
3 participants