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

Flagging claims with enrollment #509

Merged
merged 7 commits into from
Jun 24, 2024
Merged

Flagging claims with enrollment #509

merged 7 commits into from
Jun 24, 2024

Conversation

thutuva
Copy link
Member

@thutuva thutuva commented Jun 24, 2024

Describe your changes

Please include a summary of any changes.

  • Added model to flag claims that have corresponding enrollment during the same time period the service occurred
  • Added flag to core.medical_claims

How has this been tested?

Please describe the tests you ran to verify your changes. Provide instructions or code to reproduce output.

  • local dbt build
  • CI testing

Reviewer focus

Please summarize the specific items you’d like the reviewer(s) to look into.
Review the logic and confirm:

  1. Should we infer the claims start date with claim_start_date is missing? (and claim_end_date)
  2. Do we require the whole claim to occur during a valid period of enrollment or just the claim_end_date?

Checklist before requesting a review

  • I have added at least one Github label to this PR (bug, enhancement, breaking change,...)
  • My code follows style guidelines
  • (New models) YAML files are categorized by sub folder and models listed in alphabetical order
  • (New models) I have added a config to each new model to enable it for claims and/or clinical data
  • (New models) I have added the variable tuva_last_run to the final output
  • (Optional) I have recorded a Loom to explain this PR

Package release checklist

  • I have updated dbt docs
  • I have updated the version number in the dbt_project.yml

(Optional) Gif of how this PR makes you feel

Loom link

https://www.loom.com/share/258ac5998b6f46aba8ad98de3dc97e79?sid=98b4cc08-d827-43f4-9a8a-07011330ad56

@tom-tuva tom-tuva merged commit bc50016 into main Jun 24, 2024
5 checks passed
@tom-tuva tom-tuva deleted the claims_with_enrollment branch June 24, 2024 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants