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

Quality Measure Evidence Value #409

Merged
merged 5 commits into from
Mar 6, 2024
Merged

Conversation

thutuva
Copy link
Member

@thutuva thutuva commented Mar 6, 2024

Describe your changes

Please include a summary of any changes.
An enhancement request came in to provide the last A1C for patients who have met the diabetes screening measures. To add this is an output:

  • quality_measures__int_nqf0059_numerator: query edited to output last a1c value in a column called evidence_value
  • quality_measures__int_nqf0059_long: query edited to include evidence_value from quality_measures__int_nqf0059_numerator
  • quality_measures__int_nqf2372_long: query edited to include evidence_value but it is set to NULL
  • quality_measures__int_nqf0034_long: query edited to include evidence_value but it is set to NULL
  • quality_measures__summary_long: no direct changes made to the model but it will output a evidence_value column

How has this been tested?

Please describe the tests you ran to verify your changes. Provide instructions or code to reproduce output.
dbt build --full0refresh was run and 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 updated the version number in dbt_project.yml file to reflect the release number of this PR
  • I have updated the docs files (by running dbt docs generate/serve and copying the necessary files into the docs folder)
  • I have commented my code as necessary
  • I have added at least one Github label to this PR
  • My code follows style guidelines
  • (Optional) I have recorded a Loom to explain this PR

(Optional) Gif of how this PR makes you feel

Loom link

https://www.loom.com/share/55e84aca42514149b9e5b42ba586d405?sid=270b4952-caca-47a7-88f0-f28208004e40

removed duplicative select of lab.result
sarah-tuva
sarah-tuva previously approved these changes Mar 6, 2024
@sarah-tuva sarah-tuva merged commit 19479df into main Mar 6, 2024
5 checks passed
@sarah-tuva sarah-tuva deleted the qm-evidence-value-enhacement branch March 6, 2024 22:18
deepsonshrestha pushed a commit to deepsonshrestha/tuva that referenced this pull request Mar 11, 2024
* quality measures updates; dbt doc updates

* quality measures updates; dbt doc updates

* Update ccsr__long_condition_category.sql

added back as_bool

* Update quality_measures__int_nqf0059_numerator.sql

removed duplicative select of lab.result

* removed duplicate select of lab result (i.e. evidence_value)
sarah-tuva added a commit that referenced this pull request Mar 13, 2024
* feat: updated the value seeds

* feat: created performance period and denominator for bp

* feat: excluded hospice and palliative patients

* docs: updated column level docs and specified schema

* feat: excluded institutional and snp patients

* feat: created fraility exclusion table with older patients flag

* feat: excluded patients with dementia having age below 80

* docs: updated the docs for controlling blood pressure

* feat: created exclusion for patients with advanced illness for patients younger than 81

* docs: updated docs and configured schema for advanced illness data model

* feat: combined all exclusions into a single table

* docs: updated docs and configured schema for exclusion table

* feat: created numerator for controlling blood pressure

* docs: updated docs

* feat: created long table and updated docs

* feat: changed to using ref

* fix: updated logic while joining bp ctes

* feat: created file for excluding custom observations and procedures

* docs: updated schema and docs

* feat: added to final exclusion table

* feat: updated the numerator logic and summary tables

* feat: excluded patients manual readings

* fix: filtered patients according to dates

* docs: updated the project version

* GitHub actions claim clinical enabled (#398)

* updated ci with clinical/claims vars; added dbt v1.7.3

* fixed spacing

* update job names

* changes to syntax

* troubleshooting

* troubleshooting

* troubleshooting

* troubleshooting

* Add as_bool to enabled configs

* updated github workflows

* corrected workflow syntax

* changed comman to build

* fixed syntax; added dbt v1.7.3 for testing

* updating ci to use dbt v 1.6.3

* testing chaining jobs

* chaining jobs

* fixed bq syntax

* changed query timeout; edited outside contributor workflow

* changed loading method of seeds that take over 30 sec

* added data types

* added length to data type

* edited dbt commands to optimize ci pipeline

* fixing job name in needs

* fixing needs statement

* fixed spacing

* edits to the jobs runs

---------

Co-authored-by: Eldon Jenkins <eldon@tuvahealth.com>

* Quality Measure Evidence Value (#409)

* quality measures updates; dbt doc updates

* quality measures updates; dbt doc updates

* Update ccsr__long_condition_category.sql

added back as_bool

* Update quality_measures__int_nqf0059_numerator.sql

removed duplicative select of lab.result

* removed duplicate select of lab result (i.e. evidence_value)

* fix: updated the logic for diastolic readings

* feat: added evidence result

* fix: addressed PR comments

* feat: updated the concept names

* fix: removed excess comma

* feat: added evidence value column in the summary long table

* docs: updated the schema.yml file for newly added evidence value across all measures

* feat: added |as bool for config tags

* fix: added new concept names

* Update models/quality_measures/quality_measures_models.yml

Co-authored-by: Sarah Morgan <sarah@tuvahealth.com>

---------

Co-authored-by: Deepson <deepson.shrestha@maitriservices.com>
Co-authored-by: thutuva <101137626+thutuva@users.noreply.github.com>
Co-authored-by: Eldon Jenkins <eldon@tuvahealth.com>
Co-authored-by: Sarah Morgan <sarah@tuvahealth.com>
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.

None yet

2 participants