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

diabetes eye exam should pull from normalized codes also #514

Closed tuvaforrest closed 1 month ago

tuvaforrest commented 1 month ago

https://github.com/tuva-health/tuva/blob/c8520db3441f707d7abc7ded513b18f28cdffd7c/models/quality_measures/intermediate/cbe0055_diabetes_eye_exam/quality_measures__int_cbe0055__denominator.sql#L143

for diabetes eye exam denominator inclusion criteria at least, tuva is only looking at source code/source code type. we should be coalescing normalized code and source code.

sarah-tuva commented 1 month ago

Hi @utsavpaudel, do you think this is a bug you can fix in the same PR you're working on for the age bug?

utsavpaudel commented 1 month ago

Sure @sarah-tuva, I'll review other measures as well for similar changes and create a common PR. Thanks @tuvaforrest for noticing.