-
Notifications
You must be signed in to change notification settings - Fork 72
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
Conversation
cf16e66
to
a0209a5
Compare
(event.statinInfo.cvdRisk?.level == CVDRiskLevel.LOW_HIGH || | ||
event.statinInfo.cvdRisk?.level == CVDRiskLevel.MEDIUM_HIGH) && | ||
event.statinInfo.isSmoker == MedicalHistoryAnswer.Unanswered && | ||
!model.hasShownSmokingStatusDialog |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Please update the CHANGELOG as well |
a0209a5
to
9d50169
Compare
f144e4a
to
83547ac
Compare
83547ac
to
bad987c
Compare
https://app.shortcut.com/simpledotorg/story/14643/show-smoking-dialog-if-risk-is-low-high-or-medium-high?team_id=1&iteration_ids=14465&iteration_ids=14489