Skip to content

adding cvd risk score to reporting_patient_prescriptions#5785

Merged
aagrawalrtsl merged 2 commits intomasterfrom
SIMPLEBACK_94_add_cvd_risk_score_drug_summary
Mar 25, 2026
Merged

adding cvd risk score to reporting_patient_prescriptions#5785
aagrawalrtsl merged 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
@aagrawalrtsl aagrawalrtsl force-pushed the SIMPLEBACK_94_add_cvd_risk_score_drug_summary branch from 0c8681c to d930ed5 Compare March 25, 2026 09:27
@aagrawalrtsl aagrawalrtsl merged commit ed8acbc into master Mar 25, 2026
1 check passed
@aagrawalrtsl aagrawalrtsl deleted the SIMPLEBACK_94_add_cvd_risk_score_drug_summary branch March 25, 2026 09:34
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.

2 participants