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

Inpatient Encounter Bug Fix #643

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Inpatient Encounter Bug Fix #643

merged 1 commit into from
Nov 1, 2024

Conversation

bradmontierth
Copy link
Contributor

@bradmontierth bradmontierth commented Oct 31, 2024

Describe your changes

Please include a summary of any changes.
-changing anchor event logic for inpatient encounters to use < instead of <=
-this was causing same day discharge and admits to be grouped together, regardless of the discharge disposition code.

How has this been tested?

Please describe the tests you ran to verify your changes. Provide instructions or code to reproduce output.
-cost drivers PBI dashboard
-ci testing

Reviewer focus

Please summarize the specific items you’d like the reviewer(s) to look into.

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

@bradmontierth bradmontierth changed the title not merging claims with same start and end date without discharge code Inpatient Encounter Bug Fix Oct 31, 2024
@tom-tuva tom-tuva merged commit 6aef611 into main Nov 1, 2024
8 checks passed
@tom-tuva tom-tuva deleted the inpatient_bug_fix branch November 1, 2024 18:26
@tom-tuva tom-tuva added the bug Something isn't working label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants