|
|
@ -153,20 +153,6 @@ class ClinicListService extends BaseService {
|
|
|
|
return Future.value(localRes);
|
|
|
|
return Future.value(localRes);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Future<Map> getProjectsList(context) async {
|
|
|
|
|
|
|
|
Map<String, dynamic> request = {};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
request = {"LanguageID": languageID};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
await baseAppClient.post(GET_PROJECTS_LIST, onSuccess: (response, statusCode) async {
|
|
|
|
|
|
|
|
localRes = response;
|
|
|
|
|
|
|
|
}, onFailure: (String error, int statusCode) {
|
|
|
|
|
|
|
|
throw error;
|
|
|
|
|
|
|
|
}, body: request);
|
|
|
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Future<Map> getChiefComplaintsList(int clinicID, int projectID, int languageID, BuildContext context, {doctorId}) async {
|
|
|
|
Future<Map> getChiefComplaintsList(int clinicID, int projectID, int languageID, BuildContext context, {doctorId}) async {
|
|
|
|
//Utils.showProgressDialog(context);
|
|
|
|
//Utils.showProgressDialog(context);
|
|
|
@ -260,13 +246,7 @@ class ClinicListService extends BaseService {
|
|
|
|
}, body: request);
|
|
|
|
}, body: request);
|
|
|
|
return Future.value(localRes);
|
|
|
|
return Future.value(localRes);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
await baseAppClient.post(GET_NATIONALITY, onSuccess: (response, statusCode) async {
|
|
|
|
|
|
|
|
localRes = response;
|
|
|
|
|
|
|
|
}, onFailure: (String error, int statusCode) {
|
|
|
|
|
|
|
|
throw error;
|
|
|
|
|
|
|
|
}, body: request);
|
|
|
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Future<Map> insertInPatientOrder(
|
|
|
|
Future<Map> insertInPatientOrder(
|
|
|
|
GetAdmissionInfoResponseModel getAdmissionInfoResponseModel, int typeID, String patientName, String patientNameAR, String patientMobileNo, String comments, context) async {
|
|
|
|
GetAdmissionInfoResponseModel getAdmissionInfoResponseModel, int typeID, String patientName, String patientNameAR, String patientMobileNo, String comments, context) async {
|
|
|
|