tuva-health / tuva

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

New Quality Measure: Medication Adherence for Diabetes #603

Closed utsavpaudel closed 1 month ago

utsavpaudel commented 1 month ago

Describe your changes

Implemented Quality Measure ADH-Diabetes: Medication Adherence for Diabetes according to the specification document.

How has this been tested?

Ran dbt build against Snowflake and BigQuery. Additionally, a validation document has been prepared to manually test models output in tuva_synthetic db

Reviewer focus

Since days_supply field is null across pharmacy_claim table in synthetic data, logic has been drafted with assumption that multiple refills of same prescription are not filled simultaneously, but around/after the end of existing fill. Please verify on real data.

Checklist before requesting a review

Package release checklist

(Optional) Gif of how this PR makes you feel

Loom link

github-actions[bot] commented 1 month ago

Workflow has finished with the following statuses:

github-actions[bot] commented 1 month ago

Workflow has finished with the following statuses:

github-actions[bot] commented 1 month ago

Workflow has finished with the following statuses:

github-actions[bot] commented 1 month ago

Workflow has finished with the following statuses:

thutuva commented 1 month ago

@utsavpaudel Thank you for making those changes. CI testing has passed so I will merge your PR into main. Great work!

CC @sarah-tuva