Updated ratios.
This commit is contained in:
@@ -57,24 +57,24 @@ class ResultCalculationWithMaxImpl : TestRightResultCalculation {
|
||||
val value = absorbanceAtWaveTwo / absorbanceAtWaveOne
|
||||
testRightCalculationData.ratioValue = value
|
||||
|
||||
if (value < 0.28 || value == 0.0) {
|
||||
if (value <= 0.29) {
|
||||
testRightCalculationData.ratioMinRange = 0.0
|
||||
testRightCalculationData.ratioMaxRange = 0.28
|
||||
testRightCalculationData.ratioMaxRange = 0.29
|
||||
return TestRightResultType.NORMAL
|
||||
} else if (value >= 0.28 && value < 0.33) {
|
||||
testRightCalculationData.ratioMinRange = 0.28
|
||||
testRightCalculationData.ratioMaxRange = 0.33
|
||||
} else if (value > 0.29 && value <= 0.32) {
|
||||
testRightCalculationData.ratioMinRange = 0.29
|
||||
testRightCalculationData.ratioMaxRange = 0.32
|
||||
return TestRightResultType.NEGATIVEBORDERLINE
|
||||
} else if (value >= 0.33 && value < 0.52) {
|
||||
testRightCalculationData.ratioMinRange = 0.33
|
||||
testRightCalculationData.ratioMaxRange = 0.52
|
||||
} else if (value > 0.32 && value <= 0.50) {
|
||||
testRightCalculationData.ratioMinRange = 0.32
|
||||
testRightCalculationData.ratioMaxRange = 0.50
|
||||
return TestRightResultType.SICKLECELLTRAIT
|
||||
} else if (value >= 0.52 && value < 0.57) {
|
||||
testRightCalculationData.ratioMinRange = 0.52
|
||||
testRightCalculationData.ratioMaxRange = 0.57
|
||||
} else if (value > 0.50 && value <= 0.55) {
|
||||
testRightCalculationData.ratioMinRange = 0.50
|
||||
testRightCalculationData.ratioMaxRange = 0.55
|
||||
return TestRightResultType.POSITIVEBORDERLINE
|
||||
}else if (value >= 0.57) {
|
||||
testRightCalculationData.ratioMinRange = 0.57
|
||||
}else if (value > 0.55) {
|
||||
testRightCalculationData.ratioMinRange = 0.55
|
||||
testRightCalculationData.ratioMaxRange = 999.0
|
||||
return TestRightResultType.SICKLECELLDISEASE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user