|
|
|
|
@ -58,9 +58,8 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
|
|
|
|
|
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) {
|
|
|
|
|
|