|
|
|
|
@ -36,40 +36,29 @@ const GET_PRIVILEGE = 'Services/Patients.svc/REST/Service_Privilege';
|
|
|
|
|
const WIFI_CREDENTIALS = "Services/Patients.svc/Hmg_SMS_Get_By_ProjectID_And_PatientID";
|
|
|
|
|
|
|
|
|
|
///Doctor
|
|
|
|
|
const GET_MY_DOCTOR =
|
|
|
|
|
'Services/Doctors.svc/REST/GetPatientDoctorAppointmentResult';
|
|
|
|
|
const GET_MY_DOCTOR = 'Services/Doctors.svc/REST/GetPatientDoctorAppointmentResult';
|
|
|
|
|
const GET_DOCTOR_PROFILE = 'Services/Doctors.svc/REST/GetDocProfiles';
|
|
|
|
|
const GET_DOCTOR_RATING_NOTES =
|
|
|
|
|
'Services/Doctors.svc/REST/dr_GetNotesDoctorRating';
|
|
|
|
|
const GET_DOCTOR_RATING_DETAILS =
|
|
|
|
|
'Services/Doctors.svc/REST/dr_GetDoctorRatingDetails';
|
|
|
|
|
const GET_DOCTOR_RATING_NOTES = 'Services/Doctors.svc/REST/dr_GetNotesDoctorRating';
|
|
|
|
|
const GET_DOCTOR_RATING_DETAILS = 'Services/Doctors.svc/REST/dr_GetDoctorRatingDetails';
|
|
|
|
|
const GET_DOCTOR_RATING = 'Services/Doctors.svc/REST/dr_GetAvgDoctorRating';
|
|
|
|
|
|
|
|
|
|
///Prescriptions
|
|
|
|
|
const PRESCRIPTIONS = 'Services/Patients.svc/REST/GetPrescriptionApptList';
|
|
|
|
|
const GET_PRESCRIPTIONS_ALL_ORDERS =
|
|
|
|
|
'Services/Patients.svc/REST/PatientER_GetPatientAllPresOrders';
|
|
|
|
|
const GET_PRESCRIPTION_REPORT =
|
|
|
|
|
'Services/Patients.svc/REST/INP_GetPrescriptionReport';
|
|
|
|
|
const SEND_PRESCRIPTION_EMAIL =
|
|
|
|
|
'Services/Notifications.svc/REST/SendPrescriptionEmail';
|
|
|
|
|
const GET_PRESCRIPTION_REPORT_ENH =
|
|
|
|
|
'Services/Patients.svc/REST/GetPrescriptionReport_enh';
|
|
|
|
|
const GET_PRESCRIPTIONS_ALL_ORDERS = 'Services/Patients.svc/REST/PatientER_GetPatientAllPresOrders';
|
|
|
|
|
const GET_PRESCRIPTION_REPORT = 'Services/Patients.svc/REST/INP_GetPrescriptionReport';
|
|
|
|
|
const SEND_PRESCRIPTION_EMAIL = 'Services/Notifications.svc/REST/SendPrescriptionEmail';
|
|
|
|
|
const GET_PRESCRIPTION_REPORT_ENH = 'Services/Patients.svc/REST/GetPrescriptionReport_enh';
|
|
|
|
|
|
|
|
|
|
///Lab Order
|
|
|
|
|
const GET_Patient_LAB_ORDERS = 'Services/Patients.svc/REST/GetPatientLabOrders';
|
|
|
|
|
const GET_Patient_LAB_SPECIAL_RESULT = 'Services/Patients.svc/REST/GetPatientLabSpecialResults';
|
|
|
|
|
const SEND_LAB_RESULT_EMAIL =
|
|
|
|
|
'Services/Notifications.svc/REST/SendLabReportEmail';
|
|
|
|
|
const GET_Patient_LAB_RESULT =
|
|
|
|
|
'Services/Patients.svc/REST/GetPatientLabResults';
|
|
|
|
|
const GET_Patient_LAB_ORDERS_RESULT =
|
|
|
|
|
'Services/Patients.svc/REST/GetPatientLabOrdersResults';
|
|
|
|
|
const SEND_LAB_RESULT_EMAIL = 'Services/Notifications.svc/REST/SendLabReportEmail';
|
|
|
|
|
const GET_Patient_LAB_RESULT = 'Services/Patients.svc/REST/GetPatientLabResults';
|
|
|
|
|
const GET_Patient_LAB_ORDERS_RESULT = 'Services/Patients.svc/REST/GetPatientLabOrdersResults';
|
|
|
|
|
|
|
|
|
|
///
|
|
|
|
|
const GET_PATIENT_ORDERS = 'Services/Patients.svc/REST/GetPatientRadOrders';
|
|
|
|
|
const GET_PATIENT_LAB_ORDERS_BY_APPOINTMENT =
|
|
|
|
|
'Services/Patients.svc/REST/GetPatientLabResultsByAppointmentNo';
|
|
|
|
|
const GET_PATIENT_LAB_ORDERS_BY_APPOINTMENT = 'Services/Patients.svc/REST/GetPatientLabResultsByAppointmentNo';
|
|
|
|
|
|
|
|
|
|
const GET_PATIENT_ORDERS_DETAILS = 'Services/Patients.svc/REST/Rad_UpdatePatientRadOrdersToRead';
|
|
|
|
|
const GET_RAD_IMAGE_URL = 'Services/Patients.svc/Rest/GetRadImageURL';
|
|
|
|
|
@ -134,8 +123,7 @@ const GET_BLOOD_REQUEST = 'services/PatientVarification.svc/REST/BloodDonation_G
|
|
|
|
|
///Reports
|
|
|
|
|
const REPORTS = 'Services/Doctors.svc/REST/GetPatientMedicalReportStatusInfo';
|
|
|
|
|
const INSERT_REQUEST_FOR_MEDICAL_REPORT = 'Services/Doctors.svc/REST/InsertRequestForMedicalReport';
|
|
|
|
|
const SEND_MEDICAL_REPORT_EMAIL =
|
|
|
|
|
'Services/Notifications.svc/REST/SendMedicalReportEmail';
|
|
|
|
|
const SEND_MEDICAL_REPORT_EMAIL = 'Services/Notifications.svc/REST/SendMedicalReportEmail';
|
|
|
|
|
|
|
|
|
|
///Rate
|
|
|
|
|
const IS_LAST_APPOITMENT_RATED = 'Services/Doctors.svc/REST/IsLastAppoitmentRated';
|
|
|
|
|
@ -254,10 +242,8 @@ const GET_PAtIENTS_INSURANCE = "Services/Patients.svc/REST/Get_PatientInsuranceD
|
|
|
|
|
const GET_PAtIENTS_INSURANCE_UPDATED = "Services/Patients.svc/REST/PatientER_GetPatientInsuranceCardUpdateHistory";
|
|
|
|
|
|
|
|
|
|
const INSURANCE_DETAILS = "Services/Patients.svc/REST/Get_InsuranceCheckList";
|
|
|
|
|
const GET_PATIENT_INSURANCE_DETAILS =
|
|
|
|
|
"Services/Patients.svc/REST/PatientER_GetPatientInsuranceDetails";
|
|
|
|
|
const UPLOAD_INSURANCE_CARD =
|
|
|
|
|
'Services/Patients.svc/REST/PatientER_PatientInfoForInsuranceCardUpdate';
|
|
|
|
|
const GET_PATIENT_INSURANCE_DETAILS = "Services/Patients.svc/REST/PatientER_GetPatientInsuranceDetails";
|
|
|
|
|
const UPLOAD_INSURANCE_CARD = 'Services/Patients.svc/REST/PatientER_PatientInfoForInsuranceCardUpdate';
|
|
|
|
|
|
|
|
|
|
const GET_VACCINES = "Services/Patients.svc/REST/GetDoneVaccinesByPatientID";
|
|
|
|
|
const GET_VACCINES_EMAIL = "Services/Notifications.svc/REST/SendVaccinesEmail";
|
|
|
|
|
@ -302,10 +288,10 @@ const SEND_AVERAGE_BLOOD_WEIGHT_REPORT = 'Services/Notifications.svc/REST/SendAv
|
|
|
|
|
const SEND_AVERAGE_BLOOD_PRESSURE_REPORT = 'Services/Notifications.svc/REST/SendAverageBloodPressureReport';
|
|
|
|
|
const UPDATE_DIABETIC_RESULT = 'Services/Patients.svc/REST/Patient_UpdateDiabeticResult';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const GET_WEIGHT_PRESSURE_RESULT_AVERAGE = 'Services/Patients.svc/REST/Patient_GetWeightMeasurementResultAverage';
|
|
|
|
|
const GET_WEIGHT_PRESSURE_RESULT = 'Services/Patients.svc/REST/Patient_GetWeightMeasurementResult';
|
|
|
|
|
const ADD_WEIGHT_PRESSURE_RESULT = 'Services/Patients.svc/REST/Patient_AddWeightMeasurementResult';
|
|
|
|
|
|
|
|
|
|
const UPDATE_WEIGHT_PRESSURE_RESULT = 'Services/Patients.svc/REST/Patient_UpdateWeightMeasurementResult';
|
|
|
|
|
const DEACTIVATE_WEIGHT_PRESSURE_RESULT = 'services/Patients.svc/REST/Patient_DeactivateWeightMeasurementStatus';
|
|
|
|
|
|
|
|
|
|
@ -342,7 +328,9 @@ const GET_PHARMACY_BANNER = "epharmacy/api/promotionbanners";
|
|
|
|
|
const GET_PHARMACY_TOP_MANUFACTURER = "epharmacy/api/topmanufacturer";
|
|
|
|
|
const GET_PHARMACY_BEST_SELLER_PRODUCT = "epharmacy/api/bestsellerproducts";
|
|
|
|
|
const GET_PHARMACY_PRODUCTs_BY_IDS = "epharmacy/api/productsbyids/";
|
|
|
|
|
const GET_PHARMACY_PRODUCTs_BY_SKU = "epharmacy/api/productbysku/";
|
|
|
|
|
const GET_CUSTOMERS_ADDRESSES = "epharmacy/api/Customers/";
|
|
|
|
|
const SUBSCRIBE_PRODUCT = "epharmacy/api/subscribe?";
|
|
|
|
|
const GET_ORDER = "orders?";
|
|
|
|
|
const GET_ORDER_DETAILS = "orders/";
|
|
|
|
|
const ADD_CUSTOMER_ADDRESS = "epharmacy/api/addcustomeraddress";
|
|
|
|
|
@ -354,23 +342,15 @@ const WRITE_REVIEW = "Content-Type" + "text/plain; charset=utf-8";
|
|
|
|
|
const GET_SHOPPING_CART = "epharmacy/api/shopping_cart_items/";
|
|
|
|
|
const GET_SHIPPING_OPTIONS = "epharmacy/api/get_shipping_option/";
|
|
|
|
|
const DELETE_SHOPPING_CART = "epharmacy/api/delete_shopping_cart_items/";
|
|
|
|
|
const DELETE_SHOPPING_CART_ALL =
|
|
|
|
|
"epharmacy/api/delete_shopping_cart_item_by_customer/";
|
|
|
|
|
const DELETE_SHOPPING_CART_ALL = "epharmacy/api/delete_shopping_cart_item_by_customer/";
|
|
|
|
|
const ORDER_SHOPPING_CART = "epharmacy/api/orders";
|
|
|
|
|
const GET_LACUM_ACCOUNT_INFORMATION =
|
|
|
|
|
"Services/Patients.svc/REST/GetLakumAccountInformation";
|
|
|
|
|
const GET_LACUM_GROUP_INFORMATION =
|
|
|
|
|
"Services/Patients.svc/REST/GetlakumInQueryInfoGrouping";
|
|
|
|
|
const LACUM_ACCOUNT_ACTIVATE =
|
|
|
|
|
"Services/Patients.svc/REST/LakumAccountActivation";
|
|
|
|
|
const LACUM_ACCOUNT_DEACTIVATE =
|
|
|
|
|
"Services/Patients.svc/REST/LakumAccountDeactivation";
|
|
|
|
|
const CREATE_LAKUM_ACCOUNT =
|
|
|
|
|
"Services/Patients.svc/REST/PHR_CreateLakumAccount";
|
|
|
|
|
const TRANSFER_YAHALA_LOYALITY_POINTS =
|
|
|
|
|
"Services/Patients.svc/REST/TransferYaHalaLoyaltyPoints";
|
|
|
|
|
const LAKUM_GET_USER_TERMS_AND_CONDITIONS =
|
|
|
|
|
"Services/ERP.svc/REST/GetUserTermsAndConditionsForEPharmcy";
|
|
|
|
|
const GET_LACUM_ACCOUNT_INFORMATION = "Services/Patients.svc/REST/GetLakumAccountInformation";
|
|
|
|
|
const GET_LACUM_GROUP_INFORMATION = "Services/Patients.svc/REST/GetlakumInQueryInfoGrouping";
|
|
|
|
|
const LACUM_ACCOUNT_ACTIVATE = "Services/Patients.svc/REST/LakumAccountActivation";
|
|
|
|
|
const LACUM_ACCOUNT_DEACTIVATE = "Services/Patients.svc/REST/LakumAccountDeactivation";
|
|
|
|
|
const CREATE_LAKUM_ACCOUNT = "Services/Patients.svc/REST/PHR_CreateLakumAccount";
|
|
|
|
|
const TRANSFER_YAHALA_LOYALITY_POINTS = "Services/Patients.svc/REST/TransferYaHalaLoyaltyPoints";
|
|
|
|
|
const LAKUM_GET_USER_TERMS_AND_CONDITIONS = "Services/ERP.svc/REST/GetUserTermsAndConditionsForEPharmcy";
|
|
|
|
|
const PRESCRIPTION = 'Services/Patients.svc/REST/GetPrescriptionApptList';
|
|
|
|
|
|
|
|
|
|
// Home Health Care
|
|
|
|
|
@ -380,14 +360,10 @@ const PATIENT_ER_UPDATE_PRES_ORDER = "Services/Patients.svc/REST/PatientER_Updat
|
|
|
|
|
const GET_ORDER_DETAIL_BY_ID = "Services/Patients.svc/REST/PatientER_HHC_GetTransactionsForOrder";
|
|
|
|
|
const GET_CMC_ORDER_DETAIL_BY_ID = "Services/Patients.svc/REST/PatientER_CMC_GetTransactionsForOrder";
|
|
|
|
|
const GET_CHECK_UP_ITEMS = "Services/Patients.svc/REST/GetCheckUpItems";
|
|
|
|
|
const PUSH_NOTIFICATION_GET_ALL_NOTIFICATIONS =
|
|
|
|
|
'Services/MobileNotifications.svc/REST/PushNotification_GetAllNotifications';
|
|
|
|
|
const PUSH_NOTIFICATION_SET_MESSAGES_FROM_POOL_AS_READ =
|
|
|
|
|
'Services/MobileNotifications.svc/REST/PushNotification_SetMessagesFromPoolAsRead';
|
|
|
|
|
const GET_PATIENT_ALL_PRES_ORD =
|
|
|
|
|
'Services/Patients.svc/REST/PatientER_GetPatientAllPresOrders';
|
|
|
|
|
const PATIENT_ER_INSERT_PRES_ORDER =
|
|
|
|
|
'Services/Patients.svc/REST/PatientER_InsertPresOrder';
|
|
|
|
|
const PUSH_NOTIFICATION_GET_ALL_NOTIFICATIONS = 'Services/MobileNotifications.svc/REST/PushNotification_GetAllNotifications';
|
|
|
|
|
const PUSH_NOTIFICATION_SET_MESSAGES_FROM_POOL_AS_READ = 'Services/MobileNotifications.svc/REST/PushNotification_SetMessagesFromPoolAsRead';
|
|
|
|
|
const GET_PATIENT_ALL_PRES_ORD = 'Services/Patients.svc/REST/PatientER_GetPatientAllPresOrders';
|
|
|
|
|
const PATIENT_ER_INSERT_PRES_ORDER = 'Services/Patients.svc/REST/PatientER_InsertPresOrder';
|
|
|
|
|
const PHARMACY_MAKE_REVIEW = 'epharmacy/api/insertreviews';
|
|
|
|
|
const BLOOD_DONATION_REGISTER_BLOOD_TYPE = 'Services/PatientVarification.svc/REST/BloodDonation_RegisterBloodType';
|
|
|
|
|
const ADD_USER_AGREEMENT_FOR_BLOOD_DONATION = 'Services/PatientVarification.svc/REST/AddUserAgreementForBloodDonation';
|
|
|
|
|
@ -404,29 +380,22 @@ const GET_SPECIFICATION = "productspecification/";
|
|
|
|
|
const GET_BRAND_ITEMS = "products?ManufacturerId=";
|
|
|
|
|
|
|
|
|
|
// External API
|
|
|
|
|
const ADD_ADDRESS_INFO =
|
|
|
|
|
"https://mdlaboratories.com/exacartapi/api/addcustomeraddress";
|
|
|
|
|
const GET_CUSTOMER_ADDRESSES =
|
|
|
|
|
"https://mdlaboratories.com/exacartapi/api/Customers/";
|
|
|
|
|
const GET_CUSTOMER_INFO =
|
|
|
|
|
"https://mdlaboratories.com/exacartapi/api/VerifyCustomer";
|
|
|
|
|
const ADD_ADDRESS_INFO = "https://mdlaboratories.com/exacartapi/api/addcustomeraddress";
|
|
|
|
|
const GET_CUSTOMER_ADDRESSES = "https://mdlaboratories.com/exacartapi/api/Customers/";
|
|
|
|
|
const GET_CUSTOMER_INFO = "https://mdlaboratories.com/exacartapi/api/VerifyCustomer";
|
|
|
|
|
|
|
|
|
|
//Pharmacy
|
|
|
|
|
|
|
|
|
|
const GET_PHARMACY_CATEGORISE =
|
|
|
|
|
'epharmacy/api/categories?fields=id,name,namen,description,image,localized_names,display_order,parent_category_id,is_leaf&parent_id=0';
|
|
|
|
|
const GET_PHARMACY_CATEGORISE = 'epharmacy/api/categories?fields=id,name,namen,description,image,localized_names,display_order,parent_category_id,is_leaf&parent_id=0';
|
|
|
|
|
const GET_OFFERS_CATEGORISE = 'epharmacy/api/discountcategories';
|
|
|
|
|
const GET_OFFERS_PRODUCTS = 'epharmacy/api/offerproducts/';
|
|
|
|
|
const GET_CATEGORISE_PARENT =
|
|
|
|
|
'epharmacy/api/categories?fields=id,name,namen,description,image,localized_names,display_order,parent_category_id,is_leaf&parent_id=';
|
|
|
|
|
const GET_CATEGORISE_PARENT = 'epharmacy/api/categories?fields=id,name,namen,description,image,localized_names,display_order,parent_category_id,is_leaf&parent_id=';
|
|
|
|
|
const GET_PARENT_PRODUCTS = 'epharmacy/api/products?categoryid=';
|
|
|
|
|
const GET_SUB_CATEGORISE =
|
|
|
|
|
'epharmacy/api/categories?fields=id,name,namen,description,image,localized_names,display_order,parent_category_id,is_leaf&parent_id=';
|
|
|
|
|
const GET_SUB_CATEGORISE = 'epharmacy/api/categories?fields=id,name,namen,description,image,localized_names,display_order,parent_category_id,is_leaf&parent_id=';
|
|
|
|
|
const GET_SUB_PRODUCTS = 'epharmacy/api/products?categoryid=';
|
|
|
|
|
const GET_FINAL_PRODUCTS =
|
|
|
|
|
'epharmacy/api/products?fields=id,reviews,discount_ids,name,namen,localized_names,display_order,short_description,full_description,full_descriptionn,sku,order_minimum_quantity,order_maximum_quantity,price,old_price,images,is_rx,rx_message,rx_messagen,discount_name,discount_namen,approved_rating_sum,approved_total_reviews,allow_back_in_stock_subscriptions,stock_quantity,stock_availability,stock_availabilityn,discount_percentage&CategoryId=';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const TIMER_MIN = 10;
|
|
|
|
|
|
|
|
|
|
const GOOGLE_API_KEY = "AIzaSyCmevVlr2Bh-c8W1VUzo8gt8JRY7n5PANw";
|
|
|
|
|
|