tuva-health / tuva

Main repo including core data model, data marts, reference data, terminology, and the clinical concept library
https://thetuvaproject.com/
172 stars 41 forks source link

quality measure 0034 timeout fix #515

Closed bradmontierth closed 1 month ago

bradmontierth commented 1 month ago

Describe your changes

Please include a summary of any changes. replace OR in inner join with 2 separate inner join statements in CTEs replace BETWEEN with explicit >= <=

How has this been tested?

Please describe the tests you ran to verify your changes. Provide instructions or code to reproduce output. fixed timeout issue at client, runs in 1 minute.

Reviewer focus

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

Checklist before requesting a review

Package release checklist

(Optional) Gif of how this PR makes you feel

Loom link