|
|
@ -604,7 +604,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
return Future.value(localRes);
|
|
|
|
return Future.value(localRes);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Future<Map> getPatientAppointmentHistory(bool isActiveAppointment, BuildContext context, {bool isForCOC = false}) async {
|
|
|
|
Future<Map> getPatientAppointmentHistory(bool isActiveAppointment, int languageID, BuildContext context, {bool isForCOC = false}) async {
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
|
|
|
|
|
|
|
if (await this.sharedPref.getObject(USER_PROFILE) != null) {
|
|
|
|
if (await this.sharedPref.getObject(USER_PROFILE) != null) {
|
|
|
@ -626,7 +626,8 @@ class DoctorsListService extends BaseService {
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
"IsComingFromCOC": isForCOC,
|
|
|
|
"IsComingFromCOC": isForCOC,
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
"PatientType": authUser.patientType,
|
|
|
|
|
|
|
|
"LanguageID": languageID
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
dynamic localRes;
|
|
|
|
dynamic localRes;
|
|
|
@ -1162,7 +1163,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
return Future.value(localRes);
|
|
|
|
return Future.value(localRes);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Future<Map> getPatientRadOrders(String appoNo, BuildContext context) async {
|
|
|
|
Future<Map> getPatientRadOrders(String appoNo, int languageID, BuildContext context) async {
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
if (await this.sharedPref.getObject(USER_PROFILE) != null) {
|
|
|
|
if (await this.sharedPref.getObject(USER_PROFILE) != null) {
|
|
|
|
var data = AuthenticatedUser.fromJson(await this.sharedPref.getObject(USER_PROFILE));
|
|
|
|
var data = AuthenticatedUser.fromJson(await this.sharedPref.getObject(USER_PROFILE));
|
|
|
@ -1182,6 +1183,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
"DeviceTypeID": req.DeviceTypeID,
|
|
|
|
"DeviceTypeID": req.DeviceTypeID,
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
|
|
|
"LanguageID": languageID,
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -1194,7 +1196,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
return Future.value(localRes);
|
|
|
|
return Future.value(localRes);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Future<Map> getPatientLabOrdersByAppoNo(dynamic appoNo, dynamic projID, dynamic clinicID, BuildContext context) async {
|
|
|
|
Future<Map> getPatientLabOrdersByAppoNo(dynamic appoNo, dynamic projID, dynamic clinicID, int languageID, BuildContext context) async {
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
if (await this.sharedPref.getObject(USER_PROFILE) != null) {
|
|
|
|
if (await this.sharedPref.getObject(USER_PROFILE) != null) {
|
|
|
|
var data = AuthenticatedUser.fromJson(await this.sharedPref.getObject(USER_PROFILE));
|
|
|
|
var data = AuthenticatedUser.fromJson(await this.sharedPref.getObject(USER_PROFILE));
|
|
|
@ -1216,6 +1218,7 @@ class DoctorsListService extends BaseService {
|
|
|
|
"DeviceTypeID": req.DeviceTypeID,
|
|
|
|
"DeviceTypeID": req.DeviceTypeID,
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
"PatientID": authUser.patientID,
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
"PatientTypeID": authUser.patientType,
|
|
|
|
|
|
|
|
"LanguageID": languageID,
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
"PatientType": authUser.patientType
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|