|  |  | @ -3,132 +3,20 @@ class ApiConsts { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   static bool isDevelopment = true; |  |  |  |   static bool isDevelopment = true; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   // static String baseUrlBackend = 'http://ec2-13-51-36-142.eu-north-1.compute.amazonaws.com:8082/api/'; // Backend API URL UAT |  |  |  |   // static String baseUrl = 'https://uat.hmgwebservices.com/'; // HIS API URL UAT | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   // static String baseUrlBackend = 'http://207.127.99.20:82/api/'; // Backend API URL PROD |  |  |  |   static String baseUrl = 'https://hmgwebservices.com/'; // HIS API URL PROD | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   static String baseUrlBackend = 'https://api-mob.meena-health.com/api/'; // Backend API URL PROD |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String checkIfUserExists = 'UserRegistrationHIS/phone'; |  |  |  |   static String SELECT_DEVICE_IMEI = 'Services/Patients.svc/REST/Patient_SELECTDeviceIMEIbyIMEI'; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   static String checkIfUserExistsMultiple = 'UserRegistrationHIS/phone/multiple'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String checkIfUserExistsByMRN = 'UserRegistrationHIS/mrn/phone'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String checkIfUserLastLoggedIn = 'UserRegistrationHIS/device-token'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String updateUserLastLogIn = 'UserRegistrationHIS/save-device-token'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getStories = 'Stories'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String saveAppointmentDetailsInBackend = 'UserAppointment'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getPatientAppointmentHistory = 'UserAppointment/my-appointments'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String updateAppointmentDetailsInBackend = 'UserAppointment/update/'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String submitDoctorReview = 'DoctorReview/submit-review'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getUserDataFromYakeenByIqama = 'Yakeen/by-iqama'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getUserDataFromYakeenByNin = 'Yakeen/by-nin'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String sendVerificationCode = 'UserLogin/otp-request'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String checkVerificationCode = 'UserLogin/otp-verify'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String registerNewPatient = 'UserRegistrationHIS/save/patient'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getPatientVitalSignsHistory = 'Vitals/my-vitals'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getPatientLabReports = 'LabsOrder/my-orders'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getPatientRadReports = 'RadiologyOrder/my-orders'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getPatientPrescriptionsReports = 'Prescription/my-prescriptions'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String updatePatientStoryViewedAPI = 'Stories/view'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getClinicsList = 'Clinics'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getDoctorsList = 'Doctors'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String checkAppVersion = 'AppVersion/check-version'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getPatientLabOrdersAndResults = 'LabsOrder/my-order-result'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String updatePatientProfile = 'Users/profile-update'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getPatientVitalSignsFromHIS = 'getpatientvital'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getDoctorReviewsByDoctorID = 'DoctorReview/'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   // static String baseUrl = 'http://158.101.230.106:5016/phi/'; // HIS API URL UAT |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String baseUrl = 'http://158.101.232.32:5016/phi/'; // HIS API URL PROD |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   //Doctor Search |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String doctorSearch = 'doctor/search'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   //Get Patient Data |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getPatientData = 'patientdata/getpatientsdata'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   //Get Free Slots |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getFreeSlots = 'doctor/timeslot'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   //Create Appointment |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String createAppointment = 'patient/appointment/create'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   //Cancel Appointment |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String cancelAppointment = 'patient/appointment/create'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   //Create Deposit |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String createDeposit = 'patient/PatientDeposits'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   //Update Patient Photo |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String updatePatientPhoto = 'patientphoto'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   // get Patient Insurance Details |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getPatientInsuranceDetails = "http://158.101.232.32:5021/getpolicydetails"; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   // get Patient Insurance Details |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getDoctorSessionsByAppointments = "http://158.101.232.32:5016/phi/doctor/getdoctorsessionbyappointment"; // Prod |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   // static String getDoctorSessionsByAppointments = "http://158.101.230.106:5016/phi/doctor/getdoctorsessionbyappointment"; // UAT |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   //get Organization List |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getOrganizationsList = 'organisationsearch'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   //get Departments List |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getDepartmentsList = 'getdepartmentsearch'; |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String VERSION_ID = "1.6"; |  |  |  |   static String VERSION_ID = "1.6"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   // Nabed APIs |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String nabedBaseUrl = "https://portal.nabed.net/api/"; // Live |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String nabedAuthenticationURL = "auth/jwt-token"; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String nabedGetPatientData = "educate/external/content/icd?page="; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   // SANED URLs |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String sanedLoginPassword = "Aa123456@"; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String sanedSource = "Meena Mobile App"; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String baseUrlSaned = 'https://staging.sanedhealth.com/'; // SANED API URL STAGING |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   // static String baseUrlSaned = 'https://hc.sanedhealth.com/'; // SANED API URL PRODUCTION |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String sanedAPIVersion = 'mn_hc/'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   // static String sanedWebSocketURL = 'wss://locationapi.sanedhealth.com/ws?apikey=st_zuhDm9xSyI'; // UAT SANED WEBSOCKET URL |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String sanedWebSocketURL = 'wss://locationapiprod.sanedhealth.com/ws?apikey=st_A1xVs5qA7z'; // PRODUCTION WEBSOCKET URL |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getSanedAuthToken = 'api/external/login'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getSanedProductCategories = 'get_product_categories'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getProductPackages = 'get/product/packages'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getPackageDetails = 'get/package/details'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String checkPatientByNationalitySaned = 'check_patient_by_nationality'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String signupPatient = 'api/signup'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getPatientCartDetails = 'shop/cart'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String addPackageToCart = 'shop/cart/update'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String updateCartItems = 'shop/cart/update_json'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getPatientLocationList = 'get_patient_location_list'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String updatePatientLocationList = 'update_patient_location'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getAvailableSlots = 'get/category/slot'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String createHHCAppointment = 'api/create/appointment'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String cancelHHCAppointment = 'cancel_appointment'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getBlackOutDates = 'get/blackout/dates'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   // static String createConfirmHHCAppointment = 'api/create/appointment'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static String getPatientHHCAppointmentHistory = 'get_patient_medical_history/appointment'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   static setBackendURLs() { |  |  |  |   static setBackendURLs() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     if (isDevelopment) { |  |  |  |     if (isDevelopment) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       baseUrlSaned = 'https://staging.sanedhealth.com/'; |  |  |  |       baseUrl = "https://uat.hmgwebservices.com/"; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       sanedWebSocketURL = "wss://locationapi.sanedhealth.com/ws?apikey=st_zuhDm9xSyI"; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       baseUrlBackend = "http://ec2-13-51-36-142.eu-north-1.compute.amazonaws.com:8082/api/"; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       baseUrl = "http://158.101.230.106:5016/phi/"; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       getDoctorSessionsByAppointments = "http://158.101.230.106:5016/phi/doctor/getdoctorsessionbyappointment"; |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     } else { |  |  |  |     } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |       baseUrlSaned = 'https://hc.sanedhealth.com/'; |  |  |  |       baseUrl = "https://hmgwebservices.com/"; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       sanedWebSocketURL = "wss://locationapiprod.sanedhealth.com/ws?apikey=st_A1xVs5qA7z"; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       baseUrlBackend = "https://api-mob.meena-health.com/api/"; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       baseUrl = "http://158.101.232.32:5016/phi/"; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       getDoctorSessionsByAppointments = "http://158.101.232.32:5016/phi/doctor/getdoctorsessionbyappointment"; |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | // Login |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | // static String baseUrlLogin = 'https://keycloak.dev.evxtest.monster/realms/'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | // static String getLoginToken = 'my_city_uat/protocol/openid-connect/token'; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | class SharedPrefsConsts { |  |  |  | class SharedPrefsConsts { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |