Skip to content

adding cvd risk score to reporting_patient_prescriptions#5785

Open
aagrawalrtsl wants to merge 2 commits intomasterfrom
SIMPLEBACK_94_add_cvd_risk_score_drug_summary
Open

adding cvd risk score to reporting_patient_prescriptions#5785
aagrawalrtsl wants to merge 2 commits intomasterfrom
SIMPLEBACK_94_add_cvd_risk_score_drug_summary

Conversation

@aagrawalrtsl
Copy link
Contributor

Story card: SIMPLEBACK-94

Because

We needed cvd risk score added to the reporting_patient_prescriptions table which is needed for the statin report to run faster.

This addresses

Adding latest lower and upper range to the reporting_patient_prescriptions table.
Adding index on month_date and patient_id to make the merge join faster.
Data can be populated for the newly added columns asynchronously using full_partitioned_refresh task

Test instructions

N/A

@aagrawalrtsl aagrawalrtsl requested a review from a team March 17, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant