From 32461f03bbeee7d44a5ccc3130122775da5fab24 Mon Sep 17 00:00:00 2001 From: Mariya Date: Fri, 8 Dec 2023 23:50:28 +0530 Subject: [PATCH] OFFLINE FEATURE ADDED --- .../presentation/dashboard/HomeFragment.kt | 1 + app/src/main/res/values/strings.xml | 71 ++++++++++++++++--- 2 files changed, 61 insertions(+), 11 deletions(-) diff --git a/app/src/main/java/com/example/hpostesting/presentation/dashboard/HomeFragment.kt b/app/src/main/java/com/example/hpostesting/presentation/dashboard/HomeFragment.kt index c3a75e5..9b41ee5 100644 --- a/app/src/main/java/com/example/hpostesting/presentation/dashboard/HomeFragment.kt +++ b/app/src/main/java/com/example/hpostesting/presentation/dashboard/HomeFragment.kt @@ -34,6 +34,7 @@ import dagger.hilt.android.AndroidEntryPoint import `in`.sminnovations.hpostesting.R import `in`.sminnovations.hpostesting.databinding.FragmentHomeBinding import java.text.SimpleDateFormat +import java.util.Calendar import java.util.Date import java.util.Locale diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4ee8fe7..ec5b9d3 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -67,7 +67,6 @@ Step 1 : Place the cuvette containing blood sample mixed with kit solution. Step 2 : Press the button below to start the device reading values. - Login ID Password Login @@ -80,7 +79,6 @@ Age can\'t be empty Gender can\'t be empty Age should be valid - Year of birth can\'t be empty Invalid Year of Birth Mobile Number can\'t be empty @@ -113,7 +111,7 @@ Sickle Find Submit Device Diagnostics - Start Buffer + Start Start Sample New Kit New Buffer @@ -121,7 +119,7 @@ \*Result to be confirmed with laboratory test \*Result to be confirmed with laboratory test as age of the patient is less than 5 years Positive Borderline - Negative Borderline + Negative Borderline, Repeat Test Is Patient under any medication or treatment? Is Patient undergoing any blood transfusion? Scan Aadhaar\nCard @@ -147,7 +145,6 @@ sminnovations.in Navigation header Settings - Home Show Result Gallery @@ -158,6 +155,8 @@ Is Patient Married? (Yes/No) Category Blood Group + Add Blood Group + Digital Counselling Card Patient Medical Records Patient Address Details District @@ -183,13 +182,18 @@ User List User ID Aadhar ID - Internet not available, please enter the user ID manually - User ID should be 18 digits - Upload DB Registration - Do you want to upload the local DB Registration to the cloud? + Please enter the user ID and blood group manually + User ID should be 18 digits and please select the blood group + Upload DB Tests + Do you want to upload the local DB tests to the cloud? Upload Cancel Upload done successfully + Test Completed + Select Blood Group + All registered user are tested successfully + Incubate + Check Buffer Battery level is low than 40%, please charge the device to continue testing Test has been already conducted for this user Incubation has not completed 15 minutes @@ -209,6 +213,51 @@ Internet not available, test details stored locally Error uploading data, test details stored locally error while getting existing buffer - Select Blood Group - All registered user are tested successfully + Do you want to continue with existing buffer? + Kit result uploaded successfully + Kit result uploading failed, note it down manually + test is going on + test is going on, can\'t go back + error while performing classification + Test Results Uploaded Successfully + Test Results Upload Failed + LOG OUT + Do you want to LogOut the Application? + Cancelled: Unable to scan, Try Again!! + Kit number is updated, Please Select user before starting test + Please Select patient before starting test + Please enable location services + Fine location permission denied + Coarse location permission denied + You must grant permission to access all files to use the app + All permissions are required to use the app. + Device Not Connected. + Please enter a proper Login ID + Please enter a proper password + Wrong Password + Wrong UserID + Invalid Test. Problem with de-oxygenation + Error: Negative Abs. Retake Blank Reading + Error: Invalid Test. Improper buffer reading (high) + Error: Invalid Test. Improper buffer reading (low) + error while processing device data + Inconclusive. Repeat with test with lower volume of blood + Inconclusive. Very low Absorbance - Repeat test with Higher Blood Volume + Positive for Sickle Cell. HPLC for Confirmation + Something is wrong with the device, please disconnect and reconnect the device and test the user again + processing result + Data collected, Processing data + Sample Completed + Gathering data + Sample Started + Buffer Completed + Buffer Started + Start + Place Sample + Invalid + Error + Language updated successfully + Select your preferred language + App Language + OK \ No newline at end of file