Update in no. of tests in a run + Updates in ratio.
This commit is contained in:
@@ -25,5 +25,5 @@ object Constants {
|
||||
const val ERROR_NORMAL = 400
|
||||
const val ERROR_CRITICAL = 401
|
||||
|
||||
const val NO_OF_TIMES_TO_RUN_SAMPLE = 3
|
||||
const val NO_OF_TIMES_TO_RUN_SAMPLE = 1
|
||||
}
|
||||
@@ -57,16 +57,16 @@ class ResultCalculationWithMaxImpl : TestRightResultCalculation {
|
||||
val value = absorbanceAtWaveTwo / absorbanceAtWaveOne
|
||||
testRightCalculationData.ratioValue = value
|
||||
|
||||
if (value < 0.30 || value == 0.0) {
|
||||
if (value < 0.28 || value == 0.0) {
|
||||
testRightCalculationData.ratioMinRange = 0.0
|
||||
testRightCalculationData.ratioMaxRange = 0.30
|
||||
testRightCalculationData.ratioMaxRange = 0.28
|
||||
return TestRightResultType.NORMAL
|
||||
} else if (value >= 0.30 && value < 0.31) {
|
||||
testRightCalculationData.ratioMinRange = 0.30
|
||||
testRightCalculationData.ratioMaxRange = 0.31
|
||||
} else if (value >= 0.28 && value < 0.285) {
|
||||
testRightCalculationData.ratioMinRange = 0.28
|
||||
testRightCalculationData.ratioMaxRange = 0.285
|
||||
return TestRightResultType.UNDEFINED
|
||||
} else if (value >= 0.31 && value < 0.52) {
|
||||
testRightCalculationData.ratioMinRange = 0.31
|
||||
} else if (value >= 0.285 && value < 0.52) {
|
||||
testRightCalculationData.ratioMinRange = 0.285
|
||||
testRightCalculationData.ratioMaxRange = 0.52
|
||||
return TestRightResultType.SICKLECELLTRAIT
|
||||
} else if (value >= 0.52 && value < 0.525) {
|
||||
|
||||
Reference in New Issue
Block a user