app version 130.1, without borderline classification and buffer limit
This commit is contained in:
@@ -20,8 +20,8 @@ android {
|
|||||||
applicationId "in.sminnovations.hpostesting.server"
|
applicationId "in.sminnovations.hpostesting.server"
|
||||||
minSdk 21
|
minSdk 21
|
||||||
targetSdk 34
|
targetSdk 34
|
||||||
versionCode 130
|
versionCode 131
|
||||||
versionName "2.1.130"
|
versionName "2.1.130.1"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -145,7 +145,9 @@ class KitScanActivity : AppCompatActivity(), IDcsSdkApiDelegate {
|
|||||||
val time = timeDifference(sharedPreference.getString(Constants.KIT_TIME, "").toString())
|
val time = timeDifference(sharedPreference.getString(Constants.KIT_TIME, "").toString())
|
||||||
val kitNum = sharedPreference.getString(Constants.KIT_NUMBER, "").toString()
|
val kitNum = sharedPreference.getString(Constants.KIT_NUMBER, "").toString()
|
||||||
// Toast.makeText(this@KitScanActivity,"Test MAx time"+ time+"-Test count-"+kitNum,Toast.LENGTH_SHORT).show()
|
// Toast.makeText(this@KitScanActivity,"Test MAx time"+ time+"-Test count-"+kitNum,Toast.LENGTH_SHORT).show()
|
||||||
|
if (sharedPreference.getString(Constants.USER_ID, "").toString() == "ADMIN") {
|
||||||
|
moveToNext()
|
||||||
|
}else{
|
||||||
if (DataHolder.sampleReadCounter <= maxTest && kitNum != "" && time < Constants.MAX_KIT_TIME) {
|
if (DataHolder.sampleReadCounter <= maxTest && kitNum != "" && time < Constants.MAX_KIT_TIME) {
|
||||||
moveToNext()
|
moveToNext()
|
||||||
} else {
|
} else {
|
||||||
@@ -160,6 +162,7 @@ class KitScanActivity : AppCompatActivity(), IDcsSdkApiDelegate {
|
|||||||
apply()
|
apply()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// if (checkHemoCubeKitData()) {
|
// if (checkHemoCubeKitData()) {
|
||||||
// DataHolder.selectedTest!!.kitSerial =
|
// DataHolder.selectedTest!!.kitSerial =
|
||||||
|
|||||||
@@ -1468,7 +1468,7 @@ class HemoCubeFragment : Fragment() {
|
|||||||
if (deviceRatio != null && borderlineMetric != null) {
|
if (deviceRatio != null && borderlineMetric != null) {
|
||||||
if(cuvetteSize == "10mm"){
|
if(cuvetteSize == "10mm"){
|
||||||
if (deviceRatioClass == "Negative Borderline") {
|
if (deviceRatioClass == "Negative Borderline") {
|
||||||
if (borderlineMetric < negativeBoderLine10mm1){//1.34
|
if (borderlineMetric < negativeBoderLine10mm1){//2.0
|
||||||
return "Sickle Cell Trait"
|
return "Sickle Cell Trait"
|
||||||
}else if(borderlineMetric > negativeBoderLine10mm1){
|
}else if(borderlineMetric > negativeBoderLine10mm1){
|
||||||
return "Normal"
|
return "Normal"
|
||||||
@@ -1477,7 +1477,7 @@ class HemoCubeFragment : Fragment() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (deviceRatioClass == "Positive for Sickle Cell. HPLC for Confirmation") {
|
if (deviceRatioClass == "Positive for Sickle Cell. HPLC for Confirmation") {
|
||||||
if (borderlineMetric < positiveBoderLine10mm1){//1.34
|
if (borderlineMetric < positiveBoderLine10mm1){//1.3
|
||||||
return "Sickle Cell Disease"
|
return "Sickle Cell Disease"
|
||||||
}else if(borderlineMetric > positiveBoderLine10mm1){
|
}else if(borderlineMetric > positiveBoderLine10mm1){
|
||||||
return "Sickle Cell Trait"
|
return "Sickle Cell Trait"
|
||||||
|
|||||||
Reference in New Issue
Block a user