|
|
|
|
@ -1,29 +1,28 @@
|
|
|
|
|
import 'dart:io';
|
|
|
|
|
|
|
|
|
|
import 'package:diplomaticquarterapp/models/Request.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart';
|
|
|
|
|
import 'dart:io';
|
|
|
|
|
|
|
|
|
|
const MAX_SMALL_SCREEN = 660;
|
|
|
|
|
|
|
|
|
|
const BASE_URL = 'https://hmgweb.com/';
|
|
|
|
|
const BASE_URL = 'https://hmgwebservices.com/Services';
|
|
|
|
|
|
|
|
|
|
const GET_PROJECT = '/Lists.svc/REST/GetProject';
|
|
|
|
|
//const BASE_URL = 'https://uat.hmgweb.com/'; // UAT Environment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
///Doctor
|
|
|
|
|
const GET_MY_DOCTOR = '/Doctors.svc/REST/GetPatientDoctorAppointmentResult';
|
|
|
|
|
const GET_DOCTOR_PROFILE = '/Doctors.svc/REST/GetDocProfiles';
|
|
|
|
|
const GET_DOCTOR_RATING = '/Doctors.svc/REST/dr_GetAvgDoctorRating';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
///Prescriptions
|
|
|
|
|
const PRESCRIPTIONS = '/Patients.svc/REST/GetPrescriptionApptList';
|
|
|
|
|
const GET_PRESCRIPTIONS_ALL_ORDERS = '/Patients.svc/REST/PatientER_GetPatientAllPresOrders';
|
|
|
|
|
const GET_PRESCRIPTION_REPORT = '/Patients.svc/REST/INP_GetPrescriptionReport';
|
|
|
|
|
const SEND_PRESCRIPTION_EMAIL = '/Notifications.svc/REST/SendPrescriptionEmail';
|
|
|
|
|
const GET_PRESCRIPTIONS_ALL_ORDERS =
|
|
|
|
|
'/Patients.svc/REST/PatientER_GetPatientAllPresOrders';
|
|
|
|
|
const GET_PRESCRIPTION_REPORT = '/Patients.svc/REST/INP_GetPrescriptionReport';
|
|
|
|
|
const SEND_PRESCRIPTION_EMAIL = '/Notifications.svc/REST/SendPrescriptionEmail';
|
|
|
|
|
|
|
|
|
|
//const BASE_URL = 'https://hmgweb.com/'; // Production Environment
|
|
|
|
|
//const BASE_URL = 'https://uat.hmgweb.com/'; // UAT Environment
|
|
|
|
|
//const BASE_URL = 'https://hmgwebservices.com/Services'; // Production Environment
|
|
|
|
|
//const BASE_URL = 'https://uat.hmgwebservices.com/Services'; // UAT Environment
|
|
|
|
|
|
|
|
|
|
//URL to get clinic list
|
|
|
|
|
const GET_CLINICS_LIST_URL = "/lists.svc/REST/GetClinicCentralized";
|
|
|
|
|
@ -35,13 +34,16 @@ const GET_DOCTORS_LIST_URL = "/Doctors.svc/REST/SearchDoctorsByTime";
|
|
|
|
|
const GET_DOCTOR_FREE_SLOTS = "/Doctors.svc/REST/GetDoctorFreeSlots";
|
|
|
|
|
|
|
|
|
|
//URL to insert appointment
|
|
|
|
|
const INSERT_SPECIFIC_APPOINTMENT = "/Doctors.svc/REST/InsertSpecificAppointment";
|
|
|
|
|
const INSERT_SPECIFIC_APPOINTMENT =
|
|
|
|
|
"/Doctors.svc/REST/InsertSpecificAppointment";
|
|
|
|
|
|
|
|
|
|
//URL to get patient share
|
|
|
|
|
const GET_PATIENT_SHARE = "/Doctors.svc/REST/GetCheckinScreenAppointmentDetailsByAppointmentNO";
|
|
|
|
|
const GET_PATIENT_SHARE =
|
|
|
|
|
"/Doctors.svc/REST/GetCheckinScreenAppointmentDetailsByAppointmentNO";
|
|
|
|
|
|
|
|
|
|
//URL to get patient appointment history
|
|
|
|
|
const GET_PATIENT_APPOINTMENT_HISTORY = "/Doctors.svc/REST/PateintHasAppoimentHistory";
|
|
|
|
|
const GET_PATIENT_APPOINTMENT_HISTORY =
|
|
|
|
|
"/Doctors.svc/REST/PateintHasAppoimentHistory";
|
|
|
|
|
|
|
|
|
|
//URL to confirm appointment
|
|
|
|
|
const CONFIRM_APPOINTMENT = "/MobileNotifications.svc/REST/ConfirmAppointment";
|
|
|
|
|
@ -72,7 +74,6 @@ class AppGlobal {
|
|
|
|
|
request.generalid = 'Cs2020@2016\$2958';
|
|
|
|
|
request.VersionID = VERSION_ID; //5.3; //3.6;
|
|
|
|
|
request.Channel = CHANNEL; //3;
|
|
|
|
|
// request.LanguageID = await sharedPref.getString(APP_LANGUAGE);
|
|
|
|
|
request.IPAdress = IP_ADDRESS; //"10.20.10.20";
|
|
|
|
|
request.generalid = GENERAL_ID; //'Cs2020@2016\$2958';
|
|
|
|
|
request.PatientOutSA = 0;
|
|
|
|
|
@ -84,5 +85,3 @@ class AppGlobal {
|
|
|
|
|
return request;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|