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

Show smoking status dialog when cvd risk is LOW-HIGH or MEDIUM-HIGH #5229

Merged
merged 4 commits into from
Feb 3, 2025

Conversation

@siddh1004 siddh1004 force-pushed the siddharth-agarwal/sc-14643 branch 2 times, most recently from cf16e66 to a0209a5 Compare January 31, 2025 12:51
@siddh1004 siddh1004 marked this pull request as ready for review January 31, 2025 12:51
@simple-services simple-services requested review from a team and msasikanth and removed request for a team January 31, 2025 12:52
@github-actions github-actions bot enabled auto-merge (squash) January 31, 2025 12:52
(event.statinInfo.cvdRisk?.level == CVDRiskLevel.LOW_HIGH ||
event.statinInfo.cvdRisk?.level == CVDRiskLevel.MEDIUM_HIGH) &&
event.statinInfo.isSmoker == MedicalHistoryAnswer.Unanswered &&
!model.hasShownSmokingStatusDialog
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this works, and we can leave this for now. The underlying problem still exists. The statin info is being reloaded every time patient info changes. So, the LoadStatinPrescriptionCheckInfo effect gets triggered every time.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for flagging this out. I will create a story and move to backlog.

@msasikanth
Copy link
Contributor

Please update the CHANGELOG as well

@siddh1004 siddh1004 force-pushed the siddharth-agarwal/sc-14643 branch from a0209a5 to 9d50169 Compare February 3, 2025 07:24
@siddh1004 siddh1004 requested a review from msasikanth February 3, 2025 07:28
@siddh1004 siddh1004 force-pushed the siddharth-agarwal/sc-14643 branch from f144e4a to 83547ac Compare February 3, 2025 07:32
@siddh1004 siddh1004 force-pushed the siddharth-agarwal/sc-14643 branch from 83547ac to bad987c Compare February 3, 2025 07:48
@github-actions github-actions bot merged commit 6dfdc29 into master Feb 3, 2025
9 checks passed
@github-actions github-actions bot deleted the siddharth-agarwal/sc-14643 branch February 3, 2025 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants