HemoCubeFragment changes in device ratio and borderline metric
This commit is contained in:
@@ -1127,7 +1127,7 @@ class HemoCubeFragment : Fragment() {
|
||||
"Borderline. Sickle Cell Trait"
|
||||
}
|
||||
if (deviceRatioClass == "Positive for Sickle Cell. HPLC for Confirmation") {
|
||||
return if (borderlineMetric >= 1.34)
|
||||
return if (borderlineMetric >= 1.4)//1.34
|
||||
"Borderline. Sickle Cell Trait"
|
||||
else
|
||||
"Borderline. Sickle Cell Disease"
|
||||
@@ -1169,7 +1169,7 @@ class HemoCubeFragment : Fragment() {
|
||||
fun deviceRatioClassification(ratio: Double?): String {
|
||||
try {
|
||||
if (ratio != null) {
|
||||
if (ratio in 0.16..0.23) {
|
||||
if (ratio in 0.11..0.23) {
|
||||
// setSubtitleTextColor(R.color.green_2)
|
||||
return "Normal"
|
||||
}
|
||||
@@ -1177,9 +1177,9 @@ class HemoCubeFragment : Fragment() {
|
||||
return "Negative Borderline"
|
||||
if (ratio in 0.25..0.31)
|
||||
return "Sickle Cell Trait"
|
||||
if (ratio in 0.31..0.36)
|
||||
if (ratio in 0.31..0.39)//0.36
|
||||
return "Positive for Sickle Cell. HPLC for Confirmation"
|
||||
if (ratio in 0.36..0.7)
|
||||
if (ratio in 0.39..1.0)
|
||||
return "Sickle Cell Disease"
|
||||
} else {
|
||||
return "Invalid"
|
||||
|
||||
Reference in New Issue
Block a user