Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ class IconDataset @Inject constructor(
),
Icon(
R.drawable.ncd_icon,
resources.getString(R.string.icon_title_non_communicable),
"NCD",
null,
DiseaseControlFragmentDirections.actionDiseaseControlFragmentToNcdFragment()
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1014,8 +1014,8 @@ GROUP BY b.benId
(t.benId IS NOT NULL AND b.tbsnFilled = 1
AND (t.bloodInSputum = 1 OR t.coughMoreThan2Weeks = 1 OR t.feverMoreThan2Weeks = 1
OR t.nightSweats = 1 OR t.lossOfWeight = 1 OR t.historyOfTb = 1)
AND (ts.benId IS NULL OR (IFNULL(ts.isConfirmed, 0) = 0 AND IFNULL(ts.isRecommendedForTpt, 0) = 0)))
OR (ts.benId IS NOT NULL AND IFNULL(ts.isConfirmed, 0) = 0 AND IFNULL(ts.isRecommendedForTpt, 0) = 0)
AND (ts.benId IS NULL
OR (ts.isTBConfirmed IS NULL AND ts.isRecommendedForTpt IS NULL)))
)
""" + BenListOrder.LIFO_B)
fun getTbScreeningList(villageId: Int): Flow<List<BenWithTbSuspectedCache>>
Expand Down
Loading