|
|
|
|
@ -169,6 +169,7 @@ class ClinicListService extends BaseService {
|
|
|
|
|
}, body: request);
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> getInPatientAdvancePaymentHistory(int projectID, int admissionNo, int admissionReqNo, context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
request = {"ProjectID": projectID, "AdmissionNo": admissionNo, "AdmissionReqNo": admissionReqNo};
|
|
|
|
|
@ -213,6 +214,7 @@ class ClinicListService extends BaseService {
|
|
|
|
|
}, body: request, isAllowAny: true);
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> submitBirthNotification(num motherMRN, int projectID, String fatherNameAR, String fatherNameEN, String babyNameAR, String babyNameEN, String contactNum, String idImage, context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
request = {
|
|
|
|
|
@ -236,8 +238,8 @@ class ClinicListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> insertInPatientOrder(GetAdmissionInfoResponseModel getAdmissionInfoResponseModel, int typeID, String patientName, String patientNameAR, String patientMobileNo, String comments,
|
|
|
|
|
context) async {
|
|
|
|
|
Future<Map> insertInPatientOrder(
|
|
|
|
|
GetAdmissionInfoResponseModel getAdmissionInfoResponseModel, int typeID, String patientName, String patientNameAR, String patientMobileNo, String comments, context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
request = {
|
|
|
|
|
"ProjectID": getAdmissionInfoResponseModel.projectID,
|
|
|
|
|
@ -262,9 +264,9 @@ class ClinicListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> getGeneralInstructions(int projectID, context) async {
|
|
|
|
|
Future<Map> getGeneralInstructions(int projectID, int languageID, context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
request = {"ProjectID": projectID};
|
|
|
|
|
request = {"ProjectID": projectID, "LanguageID": languageID};
|
|
|
|
|
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
|
|
|
|
|
@ -275,9 +277,10 @@ class ClinicListService extends BaseService {
|
|
|
|
|
}, body: request, isAllowAny: true);
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
Future<Map> getMedicalInstructions(int projectID, context) async {
|
|
|
|
|
|
|
|
|
|
Future<Map> getMedicalInstructions(int projectID, int languageID, context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
request = {"ProjectID": projectID};
|
|
|
|
|
request = {"ProjectID": projectID, "LanguageID": languageID};
|
|
|
|
|
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
|
|
|
|
|
@ -303,11 +306,9 @@ class ClinicListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> getBirthNotification(num motherMRN, context) async {
|
|
|
|
|
Future<Map> getBirthNotification(num motherMRN, int languageID, context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
request = {
|
|
|
|
|
"mothermrn": motherMRN,
|
|
|
|
|
};
|
|
|
|
|
request = {"mothermrn": motherMRN, "LanguageID": languageID};
|
|
|
|
|
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
|
|
|
|
|
@ -332,6 +333,7 @@ class ClinicListService extends BaseService {
|
|
|
|
|
}, body: request, isAllowAny: true);
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> getCurrentWeekIDAndDay(BuildContext context) async {
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
await baseAppClient.get(GET_CURRENT_WEEKID_WEEKDAY, isExternal: false, isRCService: false, onSuccess: (response, statusCode) async {
|
|
|
|
|
@ -413,6 +415,7 @@ class ClinicListService extends BaseService {
|
|
|
|
|
}, body: request, isAllowAny: true);
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future<Map> checkIfInPatientAPI(context) async {
|
|
|
|
|
Map<String, dynamic> request;
|
|
|
|
|
request = {
|
|
|
|
|
@ -429,7 +432,6 @@ class ClinicListService extends BaseService {
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Future<Map> getWeCareURL(int projectID) async {
|
|
|
|
|
Map<String, dynamic> request = {"ProjectID": projectID};
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
@ -557,5 +559,4 @@ class ClinicListService extends BaseService {
|
|
|
|
|
}, body: request, isAllowAny: true);
|
|
|
|
|
return Future.value(localRes);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|