|
|
|
|
@ -14,6 +14,7 @@ import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.da
|
|
|
|
|
import 'package:diplomaticquarterapp/models/Request.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/models/anicllary-orders/ancillary_orders_proc_list.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/models/apple_pay_request.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/pages/final_products_page.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/date_uitl.dart';
|
|
|
|
|
@ -174,7 +175,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> getDoctorsRating(int docID, context) async {
|
|
|
|
|
Future<Map> getDoctorsRating(int docID,int languageID, context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
|
|
|
|
|
Request req = appGlobal.getPublicRequest();
|
|
|
|
|
@ -191,6 +192,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"PatientID": 0,
|
|
|
|
|
"License": true,
|
|
|
|
|
"IsRegistered": true,
|
|
|
|
|
"LanguageID": languageID,
|
|
|
|
|
"isDentalAllowedBackend": false
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -224,7 +226,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
return Future.value(images);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> getDoctorsRatingDetails(int docID, context) async {
|
|
|
|
|
Future<Map> getDoctorsRatingDetails(int docID,int languageID, context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
|
|
|
|
|
Request req = appGlobal.getPublicRequest();
|
|
|
|
|
@ -241,6 +243,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"PatientID": 0,
|
|
|
|
|
"License": true,
|
|
|
|
|
"IsRegistered": true,
|
|
|
|
|
"LanguageID": languageID,
|
|
|
|
|
"isDentalAllowedBackend": false
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -273,6 +276,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"PatientOutSA": authProvider.isLogin ? authUser.outSA : 0,
|
|
|
|
|
"SessionID": null,
|
|
|
|
|
"isDentalAllowedBackend": false,
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
"DeviceTypeID": 1
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -316,6 +320,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"PatientOutSA": authUser.outSA,
|
|
|
|
|
"SessionID": null,
|
|
|
|
|
"isDentalAllowedBackend": false,
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
"DeviceTypeID": 1
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -329,7 +334,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> insertAppointment(int docID, int clinicID, int projectID, String selectedTime, String selectedDate, int initialSlotDuration, BuildContext context,
|
|
|
|
|
Future<Map> insertAppointment(int docID, int clinicID, int projectID, String selectedTime, String selectedDate, int initialSlotDuration, int languageID, BuildContext context,
|
|
|
|
|
[String procedureID, num testTypeEnum, num testProcedureEnum, ProjectViewModel projectViewModel]) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
|
|
|
|
|
@ -392,7 +397,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> insertLiveCareScheduleAppointment(int docID, int clinicID, int projectID, int serviceID, String selectedTime, String selectedDate, BuildContext context) async {
|
|
|
|
|
Future<Map> insertLiveCareScheduleAppointment(int docID, int clinicID, int projectID, int serviceID, String selectedTime, String selectedDate, int languageID, BuildContext context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
|
|
|
|
|
if (await this.sharedPref.getObject(USER_PROFILE) != null) {
|
|
|
|
|
@ -482,14 +487,14 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> setOnlineCheckInForAppointment(String appoID, int projectID, BuildContext context) async {
|
|
|
|
|
Future<Map> setOnlineCheckInForAppointment(String appoID, int projectID, int languageID, BuildContext context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
|
|
|
|
|
if (await this.sharedPref.getObject(USER_PROFILE) != null) {
|
|
|
|
|
var data = AuthenticatedUser.fromJson(await this.sharedPref.getObject(USER_PROFILE));
|
|
|
|
|
authUser = data;
|
|
|
|
|
}
|
|
|
|
|
request = {"ProjectID": projectID, "AppointmentNo": appoID};
|
|
|
|
|
request = {"ProjectID": projectID, "AppointmentNo": appoID, "LanguageID": languageID};
|
|
|
|
|
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
|
|
|
|
|
@ -501,7 +506,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> getLiveCareAppointmentPatientShare(String appoID, int clinicID, int projectID, BuildContext context) async {
|
|
|
|
|
Future<Map> getLiveCareAppointmentPatientShare(String appoID, int clinicID, int projectID, int languageID, BuildContext context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
|
|
|
|
|
if (await this.sharedPref.getObject(USER_PROFILE) != null) {
|
|
|
|
|
@ -527,6 +532,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"DeviceTypeID": req.DeviceTypeID,
|
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
"LanguageID": languageID,
|
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -562,7 +568,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> getOBGyneDoctorsList(int projectID, String setupID, BuildContext context) async {
|
|
|
|
|
Future<Map> getOBGyneDoctorsList(int projectID, String setupID, int languageID, BuildContext context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
|
|
|
|
|
if (await this.sharedPref.getObject(USER_PROFILE) != null) {
|
|
|
|
|
@ -579,6 +585,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"DeviceTypeID": req.DeviceTypeID,
|
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
"LanguageID": languageID,
|
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -697,6 +704,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"DeviceTypeID": req.DeviceTypeID,
|
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -710,7 +718,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> insertVIDARequest(int appoNo, int clinicID, int projectID, int serviceID, int docID, String appoDate, String clientRequestID, BuildContext context) async {
|
|
|
|
|
Future<Map> insertVIDARequest(int appoNo, int clinicID, int projectID, int serviceID, int docID, String appoDate, String clientRequestID, int languageID, BuildContext context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
|
|
|
|
|
if (await this.sharedPref.getObject(USER_PROFILE) != null) {
|
|
|
|
|
@ -751,6 +759,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
"PatientType": authUser.patientType,
|
|
|
|
|
"VoipToken": await sharedPref.getString(ONESIGNAL_APNS_TOKEN),
|
|
|
|
|
"LanguageID": languageID,
|
|
|
|
|
"IsVoip": Platform.isIOS ? true : false
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -796,6 +805,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"DeviceTypeID": req.DeviceTypeID,
|
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -834,6 +844,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"DeviceTypeID": req.DeviceTypeID,
|
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -909,6 +920,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"DeviceTypeID": req.DeviceTypeID,
|
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
|
};
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
@ -955,6 +967,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"DeviceTypeID": req.DeviceTypeID,
|
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
|
};
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
@ -998,6 +1011,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"PatientType": authUser.patientType,
|
|
|
|
|
"DeviceToken": await sharedPref.getString(PUSH_TOKEN),
|
|
|
|
|
"VoipToken": await sharedPref.getString(ONESIGNAL_APNS_TOKEN),
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
"IsVoip": Platform.isIOS ? true : false
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -1034,6 +1048,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
request = {
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
"RequestAncillaryOrderInvoice": [
|
|
|
|
|
{"MemberID": 102, "ProjectID": projectID, "AppointmentNo": appointmentID, "OrderNo": orderNo, "AncillaryOrderInvoiceProcList": selectedProcListAPI}
|
|
|
|
|
],
|
|
|
|
|
@ -1234,7 +1249,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> getPatientPrescriptionReports(AppoitmentAllHistoryResultList appo, BuildContext context) async {
|
|
|
|
|
Future<Map> getPatientPrescriptionReports(AppoitmentAllHistoryResultList appo, int languageID, BuildContext context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
if (await this.sharedPref.getObject(USER_PROFILE) != null) {
|
|
|
|
|
var data = AuthenticatedUser.fromJson(await this.sharedPref.getObject(USER_PROFILE));
|
|
|
|
|
@ -1258,6 +1273,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"DeviceTypeID": req.DeviceTypeID,
|
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
"LanguageID": languageID,
|
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -1270,7 +1286,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> sendPrescriptionEmail(String appoDate, String setupId, dynamic prescriptionReportEnhList, BuildContext context) async {
|
|
|
|
|
Future<Map> sendPrescriptionEmail(String appoDate, String setupId, int languageID, dynamic prescriptionReportEnhList, BuildContext context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
if (await this.sharedPref.getObject(USER_PROFILE) != null) {
|
|
|
|
|
var data = AuthenticatedUser.fromJson(await this.sharedPref.getObject(USER_PROFILE));
|
|
|
|
|
@ -1297,6 +1313,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"DeviceTypeID": req.DeviceTypeID,
|
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
"LanguageID": authUser.patientType,
|
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -1340,6 +1357,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"isDentalAllowedBackend": false,
|
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
|
};
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
@ -1378,7 +1396,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"PaymentMethod": paymentMethodName,
|
|
|
|
|
"VersionID": req.VersionID,
|
|
|
|
|
"Channel": req.Channel,
|
|
|
|
|
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
"IPAdress": req.IPAdress,
|
|
|
|
|
"generalid": req.generalid,
|
|
|
|
|
"PatientOutSA": authUser.outSA,
|
|
|
|
|
@ -1414,6 +1432,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"generalid": req.generalid,
|
|
|
|
|
"PatientOutSA": authUser.outSA,
|
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
"ERAdvanceAmount": {
|
|
|
|
|
"ProjectId": projectID,
|
|
|
|
|
"PatientId": authUser.patientID,
|
|
|
|
|
@ -1454,6 +1473,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"generalid": req.generalid,
|
|
|
|
|
"PatientOutSA": authUser.outSA,
|
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
"EROnlineCheckinPaymentDetails": {
|
|
|
|
|
"CheckinDate": DateUtil.convertDateToString(DateTime.now()),
|
|
|
|
|
"ExpectedArrivalTime": DateUtil.convertDateToString(DateTime.now()),
|
|
|
|
|
@ -1516,7 +1536,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
Future<Map> sendCheckinNfcRequest(int appointmentNo, String nfcCode, int projectId, int checkInBy, BuildContext context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
|
|
|
|
|
request = {"AppointmentNo": appointmentNo, "NFC_Code": nfcCode, "ProjectID": projectId, "CheckinBy": checkInBy};
|
|
|
|
|
request = {"AppointmentNo": appointmentNo, "NFC_Code": nfcCode, "ProjectID": projectId, "CheckinBy": checkInBy, "LanguageID": 1};
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
await baseAppClient.post(SEND_CHECK_IN_NFC_REQUEST, onSuccess: (response, statusCode) async {
|
|
|
|
|
localRes = response;
|
|
|
|
|
@ -1531,6 +1551,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
|
|
|
|
|
request = {
|
|
|
|
|
"ProjectID": projectID,
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
};
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
await baseAppClient.post(HAS_DENTAL_PLAN, onSuccess: (response, statusCode) async {
|
|
|
|
|
@ -1592,12 +1613,13 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> getLaserBodyPartsList(int laserCategoryID, int projectID) async {
|
|
|
|
|
Future<Map> getLaserBodyPartsList(int laserCategoryID, int projectID, int languageID) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
|
|
|
|
|
request = {
|
|
|
|
|
"LaserCategoryID": laserCategoryID,
|
|
|
|
|
"ProjectID": projectID,
|
|
|
|
|
"LanguageID": languageID,
|
|
|
|
|
};
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
await baseAppClient.post(LASER_BODY_PARTS, onSuccess: (response, statusCode) async {
|
|
|
|
|
@ -1608,11 +1630,12 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> insertCovidQuestionnaire(List qa, int projectID, int testTypeEnum, int testProcedureEnum) async {
|
|
|
|
|
Future<Map> insertCovidQuestionnaire(List qa, int projectID, int testTypeEnum, int languageID, int testProcedureEnum) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
|
|
|
|
|
request = {
|
|
|
|
|
"ProjectID": projectID,
|
|
|
|
|
"LanguageID": languageID,
|
|
|
|
|
"IsForTravel": qa[0]['ans'].toString(),
|
|
|
|
|
"IsComingOutSA": qa[1]['ans'].toString(),
|
|
|
|
|
"IsFeverCurrently": qa[2]['ans'].toString(),
|
|
|
|
|
@ -1655,11 +1678,12 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> updateObGyneAppointment(int episodeID, int appointmentNo, int orderNo, String procedureId, int lineItemNo, int uniqueRowID) async {
|
|
|
|
|
Future<Map> updateObGyneAppointment(int episodeID, int appointmentNo, int orderNo, String procedureId, int lineItemNo, int uniqueRowID, int languageID) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
|
|
|
|
|
request = {
|
|
|
|
|
"EpisodeID": episodeID,
|
|
|
|
|
"LanguageID": languageID,
|
|
|
|
|
"AppointmentNo": appointmentNo,
|
|
|
|
|
"OrderNo": orderNo,
|
|
|
|
|
"ProcedureId": procedureId,
|
|
|
|
|
@ -1678,10 +1702,10 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> getRRTProcedures(int projectID) async {
|
|
|
|
|
Future<Map> getRRTProcedures(int projectID, int languageID) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
|
|
|
|
|
request = {"ProjectID": projectID};
|
|
|
|
|
request = {"ProjectID": projectID, "LanguageID": languageID};
|
|
|
|
|
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
await baseAppClient.post(GET_RRT_PROCEDURE_LIST, onSuccess: (response, statusCode) async {
|
|
|
|
|
@ -1699,6 +1723,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"ClientRequestID": clientRequestID,
|
|
|
|
|
"Status": status,
|
|
|
|
|
"FortID": tamaraOrderID, // Tamara order ID
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
"Installments_Number": selectedInstallments
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -1714,7 +1739,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
|
|
|
|
|
Future<Map> markAppointmentForTamara(int projectID, String appoNo) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
request = {"ProjectID": projectID, "AppointmentNo": appoNo};
|
|
|
|
|
request = {"ProjectID": projectID, "AppointmentNo": appoNo, "LanguageID": 1};
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
await baseAppClient.post(MARK_APPOINTMENT_TAMARA_STATUS, onSuccess: (response, statusCode) async {
|
|
|
|
|
localRes = response;
|
|
|
|
|
@ -1727,7 +1752,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
|
|
|
|
|
Future<Map> autoGenerateInvoiceTamara(int projectID, String appoNo, String mobileNo) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
request = {"ProjectID": projectID, "AppointmentNo": appoNo, "MobileNo": mobileNo, "UserID": 102};
|
|
|
|
|
request = {"ProjectID": projectID, "AppointmentNo": appoNo, "MobileNo": mobileNo, "UserID": 102, "LanguageID": 1};
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
await baseAppClient.post(AUTO_GENERATE_INVOICE_TAMARA, onSuccess: (response, statusCode) async {
|
|
|
|
|
localRes = response;
|
|
|
|
|
@ -1740,7 +1765,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
|
|
|
|
|
Future<Map> checkPatientNphiesEligibility(int projectID) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
request = {"ProjectID": projectID};
|
|
|
|
|
request = {"ProjectID": projectID, "LanguageID": 1};
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
await baseAppClient.post(CHECK_PATIENT_NPHIES_ELIGIBILITY, onSuccess: (response, statusCode) async {
|
|
|
|
|
localRes = response;
|
|
|
|
|
@ -1753,7 +1778,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
|
|
|
|
|
Future<Map> convertPatientToCash(int projectID) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
request = {"ProjectID": projectID};
|
|
|
|
|
request = {"ProjectID": projectID, "LanguageID": 1};
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
await baseAppClient.post(CONVERT_PATIENT_TO_CASH, onSuccess: (response, statusCode) async {
|
|
|
|
|
localRes = response;
|
|
|
|
|
@ -1797,6 +1822,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
|
"PatientOutSA": authProvider.isLogin ? authUser.outSA : 0,
|
|
|
|
|
"SessionID": null,
|
|
|
|
|
"isDentalAllowedBackend": false,
|
|
|
|
|
"LanguageID": 1,
|
|
|
|
|
"DeviceTypeID": 1
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|