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

added safe cast for obs+lab result eval #632

Merged
merged 2 commits into from
Oct 24, 2024
Merged

added safe cast for obs+lab result eval #632

merged 2 commits into from
Oct 24, 2024

Conversation

tuvaforrest
Copy link
Contributor

Describe your changes

added a safe cast on the result column for labs and observations. For BP readings, the results column is being evaluated < <integer>, which throws an error if result is text, such as not given

How has this been tested?

Run in client env

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

@thutuva thutuva merged commit f27e632 into main Oct 24, 2024
10 checks passed
@thutuva thutuva deleted the qm-safe-cast branch October 24, 2024 15:40
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.

2 participants