While testing in production, we encountered a patient who was getting a Monitoring recommendation indicating they had not achieved their goal but not getting any of the Non-Medicinal recommendations. After digging into their record, I found that their most recent BP set had met their overall goal, but when you considered their average over the previous 2 years, it was above 140/90 qualifying for HTN Stage 2 and resulting in recommendation 14.a in the monitoring workflow. 14.a should flow to NonPharma, so some of the logic needs to change when determining whether the goal has been "met". The goal should only be met if their most recent is below their goal AND their average over the last 2 years does not qualify for HTN Stage 2.
While testing in production, we encountered a patient who was getting a Monitoring recommendation indicating they had not achieved their goal but not getting any of the Non-Medicinal recommendations. After digging into their record, I found that their most recent BP set had met their overall goal, but when you considered their average over the previous 2 years, it was above 140/90 qualifying for HTN Stage 2 and resulting in recommendation 14.a in the monitoring workflow. 14.a should flow to NonPharma, so some of the logic needs to change when determining whether the goal has been "met". The goal should only be met if their most recent is below their goal AND their average over the last 2 years does not qualify for HTN Stage 2.