refine borderline

This commit is contained in:
Pritimay Sarkar
2024-02-17 09:09:45 +05:30
parent f2d6916aa6
commit e64aa27f8a
3 changed files with 14 additions and 7 deletions

View File

@@ -960,15 +960,15 @@ class HemoCubeFragment : Fragment() {
fun deviceRatioClassification(ratio: Double?): String {
try {
if (ratio != null) {
if (ratio in 0.016..0.22) {
if (ratio in 0.16..0.22) {
// setSubtitleTextColor(R.color.green_2)
return "Normal"
}
if (ratio in 0.22..0.24)
if (ratio in 0.23..0.25)
return "Negative Borderline"
if (ratio in 0.24..0.31)
if (ratio in 0.25..0.31)
return "Sickle Cell Trait"
if (ratio in 0.31..0.37)
if (ratio in 0.31..0.36)
return "Positive for Sickle Cell. HPLC for Confirmation"
if (ratio in 0.37..0.56)
return "Sickle Cell Disease"