Commit bf02150
authored
fix(Dr. Rai Reports): Allow ContactOverduePatientsIndicator for regions with data (#5695)
**Story card:**
[sc-16738](https://app.shortcut.com/simpledotorg/story/16738)
## Because
With regions which do not have dashboard data for `overdue_patients` and
/ or `contactable_overdue_patients`, the contact overdue patients
indicator breaks. Rightly so, because the data is missing.
## This addresses
Modifying the indicator to be unavailable when there is on data.
## Test instructions
suite tests1 parent a9eacce commit bf02150
File tree
2 files changed
+27
-1
lines changed- app/models/dr_rai
- spec/models/dr_rai
2 files changed
+27
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
4 | 30 | | |
5 | 31 | | |
6 | 32 | | |
| |||
0 commit comments