diff --git a/lib/screens/patients/patient_search_screen.dart b/lib/screens/patients/patient_search_screen.dart index 2c0963cd..d00aabdb 100644 --- a/lib/screens/patients/patient_search_screen.dart +++ b/lib/screens/patients/patient_search_screen.dart @@ -58,9 +58,8 @@ class _PatientSearchScreenState extends State { PatientOutSA: false); void _validateInputs() async { -print("============== _selectedType============"+ _selectedType); - if(_selectedType!='3') - { +//print("============== _selectedType============"+ _selectedType); + try { //==================== @@ -102,15 +101,7 @@ print("============== _selectedType============"+ _selectedType); } catch (err) { handelCatchErrorCase(err); } - } - else - { - Navigator.of(context).pushNamed(PATIENTS_REFERRED, arguments: { - "patientSearchForm": _patientSearchFormValues, - "selectedType": _selectedType - }); - - } + } handelCatchErrorCase(err) {