From 1587dddda44212ab6a75fe357cdef633d5e5c13d Mon Sep 17 00:00:00 2001 From: faizatflutter Date: Wed, 10 Jun 2026 12:13:09 +0300 Subject: [PATCH] completed the symmtoms checker suggestions from infermedica --- lib/core/api/api_client.dart | 2 +- lib/presentation/symptoms_checker/triage_screen.dart | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/core/api/api_client.dart b/lib/core/api/api_client.dart index a28d72b3..bf6ca95f 100644 --- a/lib/core/api/api_client.dart +++ b/lib/core/api/api_client.dart @@ -207,7 +207,7 @@ class ApiClientImp implements ApiClient { if (url == 'https://uat.hmgwebservices.com/Services/NHIC.svc/REST/GetPatientInfo') { url = "https://hmgwebservices.com/Services/NHIC.svc/REST/GetPatientInfo"; body['TokenID'] = "@dm!n"; - } + } // body['TokenID'] = "@dm!n"; // body['PatientID'] = 4774167; diff --git a/lib/presentation/symptoms_checker/triage_screen.dart b/lib/presentation/symptoms_checker/triage_screen.dart index 968bae3a..6cd4c51e 100644 --- a/lib/presentation/symptoms_checker/triage_screen.dart +++ b/lib/presentation/symptoms_checker/triage_screen.dart @@ -82,8 +82,7 @@ class _TriagePageState extends State { // Case 3: Probability >= 70% OR // Case 4: 30 or more questions answered // if (viewModel.shouldStopTriage || highestProbability >= 70.0 || viewModel.triageQuestionCount >= 30) { - // todo: reset to 30 again - if (highestProbability >= 70.0 || viewModel.triageQuestionCount >= 5 || viewModel.shouldStopTriage) { + if (highestProbability >= 70.0 || viewModel.triageQuestionCount >= 30 || viewModel.shouldStopTriage) { // Navigate to results/possible conditions screen context.navigateWithName(AppRoutes.possibleConditionsPage); return;