From 6e42e50f704c832226b210ffce2c690268dbfe2e Mon Sep 17 00:00:00 2001 From: "taha.alam" Date: Tue, 17 Dec 2024 12:10:14 +0300 Subject: [PATCH] WD: resolve attribute changed --- .../soap/SOAP_service.dart | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/lib/core/service/patient_medical_file/soap/SOAP_service.dart b/lib/core/service/patient_medical_file/soap/SOAP_service.dart index a247473b..875cbc31 100644 --- a/lib/core/service/patient_medical_file/soap/SOAP_service.dart +++ b/lib/core/service/patient_medical_file/soap/SOAP_service.dart @@ -1325,27 +1325,11 @@ class SOAPService extends LookupService { onSuccess: (dynamic response, int statusCode) { if (response['ListDiagnosisResolve'] != null && response['ListDiagnosisResolve']['resultData'] != null && - (response['ListVisitWisePatientDiagnosis']['resultData'] as List) + (response['ListDiagnosisResolve']['resultData'] as List) .isNotEmpty) { success = true; return; } - if (response['ValidatinErrorsCSI'] != null) { - if (response['ValidatinErrorsCSI']['errors'] != null && - (response['ValidatinErrorsCSI']['errors'] as List).isNotEmpty) { - if (response['ValidatinErrorsCSI']['errors']['Validations'] != null && - (response['ValidatinErrorsCSI']['errors']['Validations'] as List) - .isNotEmpty) { - if ((response['ValidatinErrorsCSI']['errors']['Validations'] - as List) - .first!['Error'] != - null) - DrAppToastMsg.showErrorToast((response['ValidatinErrorsCSI'] - ['errors']['Validations'] as List) - .first!['Error']); - } - } - } success = false; }, onFailure: (String error, int statusCode) { success = false;