Initial Commit

merge-update-with-lab-changes
haroon amjad 9 months ago
parent c09170b506
commit e748712954

Binary file not shown.

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/utils.dart'; import 'package:hmg_patient_app/uitl/utils.dart';
class _Event { class _Event {
String? name; String? name;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; import 'package:hmg_patient_app/analytics/google-analytics.dart';
class AppNav{ class AppNav{
final name = 'app_nav'; final name = 'app_nav';

@ -1,9 +1,9 @@
import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart';
import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart';
import 'package:diplomaticquarterapp/models/Appointments/DentalChiefComplaintsModel.dart'; import 'package:hmg_patient_app/models/Appointments/DentalChiefComplaintsModel.dart';
import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart';
import 'package:diplomaticquarterapp/models/Clinics/ClinicListResponse.dart'; import 'package:hmg_patient_app/models/Clinics/ClinicListResponse.dart';
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:intl/intl.dart'; import 'package:intl/intl.dart';

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; import 'package:hmg_patient_app/analytics/google-analytics.dart';
class HamburgerMenu{ class HamburgerMenu{
final hamburger_menu = 'hamburger_menu'; final hamburger_menu = 'hamburger_menu';

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart';
import '../google-analytics.dart'; import '../google-analytics.dart';

@ -1,17 +1,17 @@
import 'package:diplomaticquarterapp/analytics/analytic-events.dart'; import 'package:hmg_patient_app/analytics/analytic-events.dart';
import 'package:diplomaticquarterapp/analytics/flows/advance_payments.dart'; import 'package:hmg_patient_app/analytics/flows/advance_payments.dart';
import 'package:diplomaticquarterapp/analytics/flows/appointments.dart'; import 'package:hmg_patient_app/analytics/flows/appointments.dart';
import 'package:diplomaticquarterapp/analytics/flows/error_tracking.dart'; import 'package:hmg_patient_app/analytics/flows/error_tracking.dart';
import 'package:diplomaticquarterapp/analytics/flows/hamburger_menu.dart'; import 'package:hmg_patient_app/analytics/flows/hamburger_menu.dart';
import 'package:diplomaticquarterapp/analytics/flows/live_care.dart'; import 'package:hmg_patient_app/analytics/flows/live_care.dart';
import 'package:diplomaticquarterapp/analytics/flows/login_registration.dart'; import 'package:hmg_patient_app/analytics/flows/login_registration.dart';
import 'package:diplomaticquarterapp/analytics/flows/offers_promotions.dart'; import 'package:hmg_patient_app/analytics/flows/offers_promotions.dart';
import 'package:diplomaticquarterapp/analytics/flows/todo_list.dart'; import 'package:hmg_patient_app/analytics/flows/todo_list.dart';
import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart';
import 'package:diplomaticquarterapp/routes.dart'; import 'package:hmg_patient_app/routes.dart';
import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; import 'package:hmg_patient_app/services/permission/permission_service.dart';
import 'package:diplomaticquarterapp/uitl/utils.dart'; import 'package:hmg_patient_app/uitl/utils.dart';
import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; import 'package:hmg_patient_app/widgets/transitions/fade_page.dart';
import 'package:firebase_analytics/firebase_analytics.dart'; import 'package:firebase_analytics/firebase_analytics.dart';
import 'package:firebase_analytics/observer.dart'; import 'package:firebase_analytics/observer.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';

@ -1,8 +1,8 @@
import 'dart:io'; import 'dart:io';
import 'package:amazon_payfort/amazon_payfort.dart'; import 'package:amazon_payfort/amazon_payfort.dart';
import 'package:diplomaticquarterapp/models/Request.dart'; import 'package:hmg_patient_app/models/Request.dart';
import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; import 'package:hmg_patient_app/uitl/app_shared_preferences.dart';
var MAX_SMALL_SCREEN = 660; var MAX_SMALL_SCREEN = 660;
final OPENTOK_API_KEY = '46209962'; final OPENTOK_API_KEY = '46209962';
@ -21,8 +21,8 @@ var PACKAGES_ORDERS = '/api/orders';
var PACKAGES_ORDER_HISTORY = '/api/orders/items'; var PACKAGES_ORDER_HISTORY = '/api/orders/items';
var PACKAGES_TAMARA_OPT = '/api/orders/paymentoptions/tamara'; var PACKAGES_TAMARA_OPT = '/api/orders/paymentoptions/tamara';
// var BASE_URL = 'http://10.50.100.198:2018/'; // var BASE_URL = 'http://10.50.100.198:2018/';
var BASE_URL = 'https://uat.hmgwebservices.com/'; // var BASE_URL = 'https://uat.hmgwebservices.com/';
// var BASE_URL = 'https://hmgwebservices.com/'; var BASE_URL = 'https://hmgwebservices.com/';
// var BASE_URL = 'http://10.201.204.103/'; // var BASE_URL = 'http://10.201.204.103/';
// var BASE_URL = 'https://orash.cloudsolutions.com.sa/'; // var BASE_URL = 'https://orash.cloudsolutions.com.sa/';
// var BASE_URL = 'https://vidauat.cloudsolutions.com.sa/'; // var BASE_URL = 'https://vidauat.cloudsolutions.com.sa/';
@ -701,10 +701,10 @@ var IS_DOCTOR_AVAILABLE_BY_CALENDAR_SCHEDULE = 'Services/OUTPs.svc/REST/HIS_IsDo
//PAYFORT //PAYFORT
var getPayFortProjectDetails = "Services/PayFort_Serv.svc/REST/GetPayFortProjectDetails"; var getPayFortProjectDetails = "Services/PayFort_Serv.svc/REST/GetPayFortProjectDetails";
var addPayFortApplePayResponse = "Services/PayFort_Serv.svc/REST/AddResponse"; var addPayFortApplePayResponse = "Services/PayFort_Serv.svc/REST/AddResponse";
// var payFortEnvironment = FortEnvironment.production; var payFortEnvironment = FortEnvironment.production;
// var applePayMerchantId = "merchant.com.hmgwebservices"; var applePayMerchantId = "merchant.com.hmgwebservices";
var payFortEnvironment = FortEnvironment.test; // var payFortEnvironment = FortEnvironment.test;
var applePayMerchantId = "merchant.com.hmgwebservices.uat"; // var applePayMerchantId = "merchant.com.hmgwebservices.uat";
class AppGlobal { class AppGlobal {
static var context; static var context;

@ -2141,15 +2141,6 @@ const Map localizedValues = {
"EROnlineCheckInTapOnCheckIn": {"en": "Tap on the check-in button within the app", "ar": "اضغط على زر تسجيل الدخول داخل التطبيق"}, "EROnlineCheckInTapOnCheckIn": {"en": "Tap on the check-in button within the app", "ar": "اضغط على زر تسجيل الدخول داخل التطبيق"},
"download": {"en": "Download", "ar": "تحميل"}, "download": {"en": "Download", "ar": "تحميل"},
"share": {"en": "Share", "ar": "يشارك"}, "share": {"en": "Share", "ar": "يشارك"},
"readMore": {"en": "Read More", "ar": "اقرأ أكثر"},
"showLess": {"en": "Show Less", "ar": "عرض أقل"},
"change": {"en": "Change", "ar": "فرق"},
"referenceRange": {"en": "Reference Range", "ar": "النطاق المرجعي"},
"criticalLow": {"en": "Critical Low", "ar": "النطاق المرجعي"},
"criticalHigh": {"en": "Critical High", "ar": "حرج مرتفع"},
"high": {"en": "High", "ar": "مرتفع"},
"normal": {"en": "Normal", "ar": "عادي"},
"low": {"en": "Low", "ar": "منخفض"},
"nearest": {"en": "Nearest", "ar": "الأقرب"}, "nearest": {"en": "Nearest", "ar": "الأقرب"},
"selectRegion": {"en": "Select Region", "ar": "اختر المنطقة"}, "selectRegion": {"en": "Select Region", "ar": "اختر المنطقة"},
"selectFacitlity": {"en": "Select Facility", "ar": "اختر المنشأة"}, "selectFacitlity": {"en": "Select Facility", "ar": "اختر المنشأة"},
@ -2336,5 +2327,4 @@ const Map localizedValues = {
"liveCareTermsConditions47": {"en": "Our Telehealth Services will be for specific medical specialties or follow-up or medication refill appointments.", "ar": "خدمات الرعاية الصحية عن بُعد الخاصة بنا سوف تكون لتخصصات طبية محددة أو لمواعيد المتابعة أو إعادة صرف الدواء. "}, "liveCareTermsConditions47": {"en": "Our Telehealth Services will be for specific medical specialties or follow-up or medication refill appointments.", "ar": "خدمات الرعاية الصحية عن بُعد الخاصة بنا سوف تكون لتخصصات طبية محددة أو لمواعيد المتابعة أو إعادة صرف الدواء. "},
"liveCareTermsConditions48": {"en": "If you have any complaints or concerns about the Application and or the Website, Our Services, or how we handle your personal information please contact us on: EServices.HMG@drsulaimanalhabib.com or call 011 525 9553", "ar": "إذا كانت لديك أي شكاوى أو مخاوف بشأن التطبيق و/أو موقع الويب أو خدماتنا أو كيفية تعاملنا مع معلوماتك الشخصية، فيرجى التواصل معنا على: EServices.HMG@drsulaimanalhabib.com أو الاتصال على الرقم: 9553 525 011"}, "liveCareTermsConditions48": {"en": "If you have any complaints or concerns about the Application and or the Website, Our Services, or how we handle your personal information please contact us on: EServices.HMG@drsulaimanalhabib.com or call 011 525 9553", "ar": "إذا كانت لديك أي شكاوى أو مخاوف بشأن التطبيق و/أو موقع الويب أو خدماتنا أو كيفية تعاملنا مع معلوماتك الشخصية، فيرجى التواصل معنا على: EServices.HMG@drsulaimanalhabib.com أو الاتصال على الرقم: 9553 525 011"},
"clickPrivacyPolicy": {"en": "Please click here to view the privacy policy", "ar": "الرجاء الضغط هنا لعرض سياسة الخصوصية"}, "clickPrivacyPolicy": {"en": "Please click here to view the privacy policy", "ar": "الرجاء الضغط هنا لعرض سياسة الخصوصية"},
"thisResult" : {"en": "This Result", "ar": "هذه النتيجة"},
}; };

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; import 'package:hmg_patient_app/uitl/translations_delegate_base.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
enum Ambulate { Wheelchair, Walker, Stretcher, None } enum Ambulate { Wheelchair, Walker, Stretcher, None }

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class ActivePrescriptionReport { class ActivePrescriptionReport {
dynamic address; dynamic address;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class List_BloodGroupDetailsModel { class List_BloodGroupDetailsModel {
int? iD; int? iD;
int? patientID; int? patientID;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class List_BabyInformationModel { class List_BabyInformationModel {
int? alertBy; int? alertBy;
int? babyID; int? babyID;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class GetPatientICProjectsModel { class GetPatientICProjectsModel {
int? id; int? id;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class PatientDoctorAppointment { class PatientDoctorAppointment {
String? setupID; String? setupID;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/core/enum/Ambulate.dart'; import 'package:hmg_patient_app/core/enum/Ambulate.dart';
import 'get_all_transportation_method_list_model.dart'; import 'get_all_transportation_method_list_model.dart';

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/core/model/er/get_all_transportation_method_list_model.dart'; import 'package:hmg_patient_app/core/model/er/get_all_transportation_method_list_model.dart';
class PatientER_RC { class PatientER_RC {
double? versionID; double? versionID;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart';
class TriageInformationRequest { class TriageInformationRequest {
double? versionID; double? versionID;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class AppoimentAllHistoryResultList { class AppoimentAllHistoryResultList {
String? setupID; String? setupID;

@ -1,5 +1,5 @@
import 'package:diplomaticquarterapp/generated/json/base/json_convert_content.dart'; import 'package:hmg_patient_app/generated/json/base/json_convert_content.dart';
import 'package:diplomaticquarterapp/generated/json/base/json_field.dart'; import 'package:hmg_patient_app/generated/json/base/json_field.dart';
class GeoZonesResponseModel extends JsonConvert<GeoZonesResponseModel> { class GeoZonesResponseModel extends JsonConvert<GeoZonesResponseModel> {
@JSONField(name: "GEOF_ID") @JSONField(name: "GEOF_ID")

@ -1,5 +1,5 @@
import 'package:diplomaticquarterapp/generated/json/base/json_convert_content.dart'; import 'package:hmg_patient_app/generated/json/base/json_convert_content.dart';
import 'package:diplomaticquarterapp/generated/json/base/json_field.dart'; import 'package:hmg_patient_app/generated/json/base/json_field.dart';
class LogGeoZoneResponseModel extends JsonConvert<LogGeoZoneResponseModel> { class LogGeoZoneResponseModel extends JsonConvert<LogGeoZoneResponseModel> {
@JSONField(name: "LanguageID") @JSONField(name: "LanguageID")

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/widgets/data_display/medical/LabResult/newUI/labWidgets.dart'; import 'package:hmg_patient_app/widgets/data_display/medical/LabResult/newUI/labWidgets.dart';
class LabResultList { class LabResultList {
String? filterName = ""; String? filterName = "";
String? description = ""; String? description = "";

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class PatientLabOrders { class PatientLabOrders {
int? actualDoctorRate; int? actualDoctorRate;

@ -1,5 +1,5 @@
import 'package:diplomaticquarterapp/core/model/blooddonation/get_all_cities.dart'; import 'package:hmg_patient_app/core/model/blooddonation/get_all_cities.dart';
import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart';
class AdvanceModel { class AdvanceModel {
String? fileNumber; String? fileNumber;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class BloodPressureResult { class BloodPressureResult {
int? patientID; int? patientID;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class WeekBloodPressureResultAverage { class WeekBloodPressureResultAverage {
int? dailySystolicePressureAverageResult; int? dailySystolicePressureAverageResult;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class YearBloodPressureResultAverage { class YearBloodPressureResultAverage {
int? monthSystolicePressureAverageResult; int? monthSystolicePressureAverageResult;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class DiabtecPatientResult { class DiabtecPatientResult {
String? chartMonth; String? chartMonth;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class WeekDiabtectResultAverage { class WeekDiabtectResultAverage {
dynamic dailyAverageResult; dynamic dailyAverageResult;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class YearDiabtecResultAverage { class YearDiabtecResultAverage {
dynamic monthAverageResult; dynamic monthAverageResult;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class WeekWeightMeasurementResultAverage { class WeekWeightMeasurementResultAverage {
dynamic dailyAverageResult; dynamic dailyAverageResult;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class WeightMeasurementResult { class WeightMeasurementResult {
int? patientID; int? patientID;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class YearWeightMeasurementResultAverage { class YearWeightMeasurementResultAverage {
dynamic monthAverageResult; dynamic monthAverageResult;

@ -1,5 +1,5 @@
import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart';
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
class PackagesCustomerRequestModel { class PackagesCustomerRequestModel {

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesResponseModel.dart'; import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesResponseModel.dart';
class PackagesCartItemsResponseModel { class PackagesCartItemsResponseModel {
int? _quantity; int? _quantity;

@ -1,5 +1,5 @@
import 'package:diplomaticquarterapp/generated/json/base/json_convert_content.dart'; import 'package:hmg_patient_app/generated/json/base/json_convert_content.dart';
import 'package:diplomaticquarterapp/generated/json/base/json_field.dart'; import 'package:hmg_patient_app/generated/json/base/json_field.dart';
class PackagesCategoriesResponseModel extends JsonConvert<PackagesCategoriesResponseModel> { class PackagesCategoriesResponseModel extends JsonConvert<PackagesCategoriesResponseModel> {
int? id; int? id;

@ -1,5 +1,5 @@
import 'package:diplomaticquarterapp/generated/json/base/json_convert_content.dart'; import 'package:hmg_patient_app/generated/json/base/json_convert_content.dart';
import 'package:diplomaticquarterapp/generated/json/base/json_field.dart'; import 'package:hmg_patient_app/generated/json/base/json_field.dart';
class PackagesResponseModel extends JsonConvert<PackagesResponseModel> { class PackagesResponseModel extends JsonConvert<PackagesResponseModel> {
int? id; int? id;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesCustomerResponseModel.dart'; import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesCustomerResponseModel.dart';
import 'PackagesCartItemsResponseModel.dart'; import 'PackagesCartItemsResponseModel.dart';

@ -1,5 +1,5 @@
import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart'; import 'package:hmg_patient_app/core/model/pharmacies/Addresses.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/BillingAddress.dart'; import 'package:hmg_patient_app/core/model/pharmacies/BillingAddress.dart';
class Customer { class Customer {
BillingAddress? billingAddress; BillingAddress? billingAddress;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/core/model/pharmacies/Specifications.dart'; import 'package:hmg_patient_app/core/model/pharmacies/Specifications.dart';
import 'PharmacyImageObject.dart'; import 'PharmacyImageObject.dart';
import 'Reviews.dart'; import 'Reviews.dart';

@ -1,5 +1,5 @@
import 'package:diplomaticquarterapp/core/model/pharmacies/Customer.dart'; import 'package:hmg_patient_app/core/model/pharmacies/Customer.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart';
class ShoppingCart { class ShoppingCart {
int? languageId; int? languageId;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCart.dart'; import 'package:hmg_patient_app/core/model/pharmacies/ShoppingCart.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
class ShoppingCartResponse { class ShoppingCartResponse {

@ -1,6 +1,6 @@
import 'package:diplomaticquarterapp/core/model/pharmacies/BillingAddress.dart'; import 'package:hmg_patient_app/core/model/pharmacies/BillingAddress.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/Customer.dart'; import 'package:hmg_patient_app/core/model/pharmacies/Customer.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCart.dart'; import 'package:hmg_patient_app/core/model/pharmacies/ShoppingCart.dart';
class OrderDetailModel { class OrderDetailModel {
String? id; String? id;

@ -1,6 +1,6 @@
import 'dart:convert'; import 'dart:convert';
import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyImageObject.dart'; import 'package:hmg_patient_app/core/model/pharmacies/PharmacyImageObject.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart';
List<OrderModel> orderModelFromJson(String str) => List<OrderModel>.from(json.decode(str).map((x) => OrderModel.fromJson(x))); List<OrderModel> orderModelFromJson(String str) => List<OrderModel>.from(json.decode(str).map((x) => OrderModel.fromJson(x)));

@ -1,6 +1,6 @@
import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart'; import 'package:hmg_patient_app/core/model/pharmacies/Addresses.dart';
import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart'; import 'package:hmg_patient_app/core/model/pharmacies/LacumAccountInformation.dart';
import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'ShippingOption.dart'; import 'ShippingOption.dart';

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class Prescriptions { class Prescriptions {
String? setupID; String? setupID;

@ -1,6 +1,6 @@
import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; import 'package:hmg_patient_app/core/viewModels/project_view_model.dart';
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; import 'package:hmg_patient_app/uitl/translations_delegate_base.dart';
class PrescriptionsOrder { class PrescriptionsOrder {
int? iD; int? iD;

@ -1,5 +1,5 @@
import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report.dart'; import 'package:hmg_patient_app/core/model/prescriptions/prescription_report.dart';
import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report_inp.dart'; import 'package:hmg_patient_app/core/model/prescriptions/prescription_report_inp.dart';
class RequestSendPrescriptionEmail { class RequestSendPrescriptionEmail {
String? appointmentDate; String? appointmentDate;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class FinalRadiology { class FinalRadiology {
String? setupID; String? setupID;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class Reports { class Reports {
int? status; int? status;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class SickLeave { class SickLeave {
String? setupID; String? setupID;

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class VitalSignResModel { class VitalSignResModel {
var transNo; var transNo;

@ -1,12 +1,12 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/insert_user_activity_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/insert_user_activity_request_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_detail_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_detail_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_detail_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_detail_request_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_progress_for_month_data_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_progress_for_month_data_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_progress_for_today_data_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_progress_for_today_data_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_progress_for_week_data_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_progress_for_week_data_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_progress_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_progress_request_model.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
class H2OService extends BaseService { class H2OService extends BaseService {
List<UserProgressForTodayDataModel> userProgressForTodayDataList = []; List<UserProgressForTodayDataModel> userProgressForTodayDataList = [];

@ -1,15 +1,15 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/enum/OrderService.dart'; import 'package:hmg_patient_app/core/enum/OrderService.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_get_items_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_get_items_request_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_get_items_response_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_get_items_response_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_insert_pres_order_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_insert_pres_order_request_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/get_cmc_service_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/get_cmc_service_request_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/get_cmc_service_response_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/get_cmc_service_response_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_hHC_all_pres_orders_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_hHC_all_pres_orders_request_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_request_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_response_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_response_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -1,7 +1,7 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/add_new_address_Request_Model.dart'; import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/add_new_address_Request_Model.dart';
import 'package:diplomaticquarterapp/uitl/utils.dart'; import 'package:hmg_patient_app/uitl/utils.dart';
import 'package:intl/intl.dart'; import 'package:intl/intl.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -1,12 +1,12 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/check_activation_code_for_e_referral_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/check_activation_code_for_e_referral_request_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/create_e_referral_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/create_e_referral_request_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/get_all_cities_response_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/get_all_cities_response_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/get_all_relationship_types_response_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/get_all_relationship_types_response_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/search_e_referral_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/search_e_referral_request_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/search_e_referral_response_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/search_e_referral_response_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/send_activation_code_for_e_referral_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/send_activation_code_for_e_referral_request_model.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
class EReferralService extends BaseService { class EReferralService extends BaseService {

@ -1,10 +1,10 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HealthCalculator/ClinicCategory.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HealthCalculator/ClinicCategory.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HealthCalculator/DiseasesByClinic.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HealthCalculator/DiseasesByClinic.dart';
import 'package:diplomaticquarterapp/core/model/health_calcolator/get_doctor_by_time_model.dart'; import 'package:hmg_patient_app/core/model/health_calcolator/get_doctor_by_time_model.dart';
import 'package:diplomaticquarterapp/core/model/health_calcolator/get_doctor_list_calcolation_model.dart'; import 'package:hmg_patient_app/core/model/health_calcolator/get_doctor_list_calcolation_model.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import '../../../../uitl/app_toast.dart'; import '../../../../uitl/app_toast.dart';

@ -1,15 +1,15 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/enum/OrderService.dart'; import 'package:hmg_patient_app/core/enum/OrderService.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_request_modle.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_request_modle.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_response_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_response_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_hHC_all_pres_orders_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_hHC_all_pres_orders_request_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_hhc_all_pres_orders_response_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_hhc_all_pres_orders_response_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_response_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_response_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart';
import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart';
import 'package:diplomaticquarterapp/main.dart'; import 'package:hmg_patient_app/main.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -1,6 +1,6 @@
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart';
import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; import 'package:hmg_patient_app/uitl/app_shared_preferences.dart';
class AuthenticatedUserObject { class AuthenticatedUserObject {
AuthenticatedUser user = AuthenticatedUser(); AuthenticatedUser user = AuthenticatedUser();

@ -1,5 +1,5 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
class PrescriptionDeliveryService extends BaseService { class PrescriptionDeliveryService extends BaseService {
Future insertDeliveryOrder({int? lineItemNo, double? latitude, double? longitude, int? appointmentNo, int? createdBy, int? dischargeID}) async { Future insertDeliveryOrder({int? lineItemNo, double? latitude, double? longitude, int? appointmentNo, int? createdBy, int? dischargeID}) async {

@ -1,7 +1,7 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:diplomaticquarterapp/models/anicllary-orders/ancillary_order_list_model.dart'; import 'package:hmg_patient_app/models/anicllary-orders/ancillary_order_list_model.dart';
import 'package:diplomaticquarterapp/models/anicllary-orders/ancillary_order_proc_model.dart'; import 'package:hmg_patient_app/models/anicllary-orders/ancillary_order_proc_model.dart';
class AncillaryOrdersService extends BaseService { class AncillaryOrdersService extends BaseService {
List<AncillaryOrdersListModel> _ancillaryLists =[]; List<AncillaryOrdersListModel> _ancillaryLists =[];

@ -1,8 +1,8 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/rate/appointment_details.dart'; import 'package:hmg_patient_app/core/model/rate/appointment_details.dart';
import 'package:diplomaticquarterapp/core/model/rate/appointment_rate.dart'; import 'package:hmg_patient_app/core/model/rate/appointment_rate.dart';
import 'package:diplomaticquarterapp/core/model/rate/appoitment_rated.dart'; import 'package:hmg_patient_app/core/model/rate/appoitment_rated.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
class AppointmentRateService extends BaseService { class AppointmentRateService extends BaseService {
List<AppoitmentRated> appointmentRatedList =[]; List<AppoitmentRated> appointmentRatedList =[];

@ -1,7 +1,7 @@
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/locator.dart'; import 'package:hmg_patient_app/locator.dart';
import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart';
import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; import 'package:hmg_patient_app/uitl/app_shared_preferences.dart';
import 'AuthenticatedUserObject.dart'; import 'AuthenticatedUserObject.dart';
import 'client/base_app_client.dart'; import 'client/base_app_client.dart';

@ -1,6 +1,6 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/blooddonation/blood_groub_details.dart'; import 'package:hmg_patient_app/core/model/blooddonation/blood_groub_details.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -1,5 +1,5 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/blooddonation/get_all_cities.dart'; import 'package:hmg_patient_app/core/model/blooddonation/get_all_cities.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -1,8 +1,8 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/childvaccines/add_newchild_model.dart'; import 'package:hmg_patient_app/core/model/childvaccines/add_newchild_model.dart';
import 'package:diplomaticquarterapp/core/model/childvaccines/create_new_user_model.dart'; import 'package:hmg_patient_app/core/model/childvaccines/create_new_user_model.dart';
import 'package:diplomaticquarterapp/core/model/childvaccines/user_information_model.dart'; import 'package:hmg_patient_app/core/model/childvaccines/user_information_model.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -1,8 +1,8 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/childvaccines/List_BabyInformationModel.dart'; import 'package:hmg_patient_app/core/model/childvaccines/List_BabyInformationModel.dart';
import 'package:diplomaticquarterapp/core/model/childvaccines/user_information_model.dart'; import 'package:hmg_patient_app/core/model/childvaccines/user_information_model.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -1,9 +1,9 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/childvaccines/add_newchild_model.dart'; import 'package:hmg_patient_app/core/model/childvaccines/add_newchild_model.dart';
import 'package:diplomaticquarterapp/core/model/childvaccines/create_new_user_model.dart'; import 'package:hmg_patient_app/core/model/childvaccines/create_new_user_model.dart';
import 'package:diplomaticquarterapp/core/model/childvaccines/delete_baby_model.dart'; import 'package:hmg_patient_app/core/model/childvaccines/delete_baby_model.dart';
import 'package:diplomaticquarterapp/core/model/childvaccines/user_information_model.dart'; import 'package:hmg_patient_app/core/model/childvaccines/user_information_model.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -1,5 +1,5 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/childvaccines/get_vacainations_itemsmodel.dart'; import 'package:hmg_patient_app/core/model/childvaccines/get_vacainations_itemsmodel.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -1,6 +1,6 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/childvaccines/user_information_model.dart'; import 'package:hmg_patient_app/core/model/childvaccines/user_information_model.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -1,7 +1,7 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/childvaccines/List_BabyInformationModel.dart'; import 'package:hmg_patient_app/core/model/childvaccines/List_BabyInformationModel.dart';
import 'package:diplomaticquarterapp/core/model/childvaccines/create_vaccination_table.dart'; import 'package:hmg_patient_app/core/model/childvaccines/create_vaccination_table.dart';
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -2,19 +2,19 @@ import 'dart:async';
import 'dart:convert'; import 'dart:convert';
import 'dart:io' show Platform; import 'dart:io' show Platform;
import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; import 'package:hmg_patient_app/analytics/google-analytics.dart';
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/service/medical/vital_sign_service.dart'; import 'package:hmg_patient_app/core/service/medical/vital_sign_service.dart';
import 'package:diplomaticquarterapp/core/service/packages_offers/PackagesOffersServices.dart'; import 'package:hmg_patient_app/core/service/packages_offers/PackagesOffersServices.dart';
import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; import 'package:hmg_patient_app/core/viewModels/project_view_model.dart';
import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart';
import 'package:diplomaticquarterapp/pages/appUpdatePage/app_update_page.dart'; import 'package:hmg_patient_app/pages/appUpdatePage/app_update_page.dart';
import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; import 'package:hmg_patient_app/services/authentication/auth_provider.dart';
import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; import 'package:hmg_patient_app/uitl/app_shared_preferences.dart';
import 'package:diplomaticquarterapp/uitl/navigation_service.dart'; import 'package:hmg_patient_app/uitl/navigation_service.dart';
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; import 'package:hmg_patient_app/uitl/translations_delegate_base.dart';
import 'package:diplomaticquarterapp/uitl/utils.dart'; import 'package:hmg_patient_app/uitl/utils.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:http/http.dart' as http; import 'package:http/http.dart' as http;
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
@ -187,8 +187,8 @@ class BaseAppClient {
// body['IdentificationNo'] = 1023854217; // body['IdentificationNo'] = 1023854217;
// body['MobileNo'] = "531940021"; //0560717232 // body['MobileNo'] = "531940021"; //0560717232
body['PatientID'] = 1231755; //4609100 // body['PatientID'] = 3628599; //4609100
body['TokenID'] = "@dm!n"; // body['TokenID'] = "@dm!n";
// Patient ID: 3027574 // Patient ID: 3027574
// Mobile no.: 0502303285 // Mobile no.: 0502303285

@ -1,6 +1,6 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/contactus/get_hmg_locations.dart'; import 'package:hmg_patient_app/core/model/contactus/get_hmg_locations.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -1,6 +1,6 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/contactus/get_patientI_cprojects.dart'; import 'package:hmg_patient_app/core/model/contactus/get_patientI_cprojects.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -1,4 +1,4 @@
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
class DashboardService extends BaseService { class DashboardService extends BaseService {

@ -1,9 +1,9 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/er/ErPatientShareModel.dart'; import 'package:hmg_patient_app/core/model/er/ErPatientShareModel.dart';
import 'package:diplomaticquarterapp/core/model/er/TriageQuestionsModel.dart'; import 'package:hmg_patient_app/core/model/er/TriageQuestionsModel.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; import 'package:hmg_patient_app/uitl/app_shared_preferences.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
class EdOnlineServices extends BaseService { class EdOnlineServices extends BaseService {

@ -1,10 +1,10 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/enum/OrderService.dart'; import 'package:hmg_patient_app/core/enum/OrderService.dart';
import 'package:diplomaticquarterapp/core/model/er/AmbulanceRequestOrdersModel.dart'; import 'package:hmg_patient_app/core/model/er/AmbulanceRequestOrdersModel.dart';
import 'package:diplomaticquarterapp/core/model/er/PatientAllPresOrders.dart'; import 'package:hmg_patient_app/core/model/er/PatientAllPresOrders.dart';
import 'package:diplomaticquarterapp/core/model/er/PatientER_RC.dart'; import 'package:hmg_patient_app/core/model/er/PatientER_RC.dart';
import 'package:diplomaticquarterapp/core/model/er/PickUpRequestPresOrder.dart'; import 'package:hmg_patient_app/core/model/er/PickUpRequestPresOrder.dart';
import 'package:diplomaticquarterapp/core/model/er/get_all_transportation_method_list_model.dart'; import 'package:hmg_patient_app/core/model/er/get_all_transportation_method_list_model.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -1,6 +1,6 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/er/projectavgerwaitingtime.dart'; import 'package:hmg_patient_app/core/model/er/projectavgerwaitingtime.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -1,12 +1,12 @@
import 'dart:io'; import 'dart:io';
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/feedback/COC_items.dart'; import 'package:hmg_patient_app/core/model/feedback/COC_items.dart';
import 'package:diplomaticquarterapp/core/model/feedback/request_insert_coc_item.dart'; import 'package:hmg_patient_app/core/model/feedback/request_insert_coc_item.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart';
import 'package:diplomaticquarterapp/uitl/utils.dart'; import 'package:hmg_patient_app/uitl/utils.dart';
class FeedbackService extends BaseService { class FeedbackService extends BaseService {
List<COCItem> cOCItemList =[]; List<COCItem> cOCItemList =[];

@ -1,13 +1,13 @@
import 'dart:convert'; import 'dart:convert';
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/geofencing/requests/GeoZonesRequestModel.dart'; import 'package:hmg_patient_app/core/model/geofencing/requests/GeoZonesRequestModel.dart';
import 'package:diplomaticquarterapp/core/model/geofencing/requests/LogGeoZoneRequestModel.dart'; import 'package:hmg_patient_app/core/model/geofencing/requests/LogGeoZoneRequestModel.dart';
import 'package:diplomaticquarterapp/core/model/geofencing/responses/GeoZonesResponseModel.dart'; import 'package:hmg_patient_app/core/model/geofencing/responses/GeoZonesResponseModel.dart';
import 'package:diplomaticquarterapp/core/model/geofencing/responses/LogGeoZoneResponseModel.dart'; import 'package:hmg_patient_app/core/model/geofencing/responses/LogGeoZoneResponseModel.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; import 'package:hmg_patient_app/uitl/app_shared_preferences.dart';
import 'package:flutter/foundation.dart'; import 'package:flutter/foundation.dart';
class GeofencingServices extends BaseService { class GeofencingServices extends BaseService {

@ -1,12 +1,12 @@
import 'dart:io'; import 'dart:io';
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; import 'package:hmg_patient_app/services/permission/permission_service.dart';
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; import 'package:hmg_patient_app/uitl/translations_delegate_base.dart';
import 'package:diplomaticquarterapp/uitl/utils.dart'; import 'package:hmg_patient_app/uitl/utils.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:geolocator/geolocator.dart'; import 'package:geolocator/geolocator.dart';

@ -1,17 +1,17 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/insurance/Insurance_card_details.dart'; import 'package:hmg_patient_app/core/model/insurance/Insurance_card_details.dart';
import 'package:diplomaticquarterapp/core/model/insurance/ReauestInsuranceApprovalModel.dart'; import 'package:hmg_patient_app/core/model/insurance/ReauestInsuranceApprovalModel.dart';
import 'package:diplomaticquarterapp/core/model/insurance/insuranceManualUpdateRequest.dart'; import 'package:hmg_patient_app/core/model/insurance/insuranceManualUpdateRequest.dart';
import 'package:diplomaticquarterapp/core/model/insurance/insurance_approval.dart'; import 'package:hmg_patient_app/core/model/insurance/insurance_approval.dart';
import 'package:diplomaticquarterapp/core/model/insurance/insurance_card.dart'; import 'package:hmg_patient_app/core/model/insurance/insurance_card.dart';
import 'package:diplomaticquarterapp/core/model/insurance/insurance_card_update_model.dart'; import 'package:hmg_patient_app/core/model/insurance/insurance_card_update_model.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart';
import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordsByStatusReq.dart'; import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordsByStatusReq.dart';
import 'package:diplomaticquarterapp/services/family_files/family_files_provider.dart'; import 'package:hmg_patient_app/services/family_files/family_files_provider.dart';
import 'package:diplomaticquarterapp/uitl/app_toast.dart'; import 'package:hmg_patient_app/uitl/app_toast.dart';
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; import 'package:hmg_patient_app/uitl/translations_delegate_base.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
class InsuranceCardService extends BaseService { class InsuranceCardService extends BaseService {

@ -1,6 +1,6 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/active_medications/ActivePrescriptionReport.dart'; import 'package:hmg_patient_app/core/model/active_medications/ActivePrescriptionReport.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
class ActiveMedicationsService extends BaseService{ class ActiveMedicationsService extends BaseService{

@ -1,6 +1,6 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/Allergy/Allergy.dart'; import 'package:hmg_patient_app/core/model/Allergy/Allergy.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
class AllergiesService extends BaseService { class AllergiesService extends BaseService {
List<Allergy> allergies =[]; List<Allergy> allergies =[];

@ -1,9 +1,9 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/my_trakers/blood_pressur/BloodPressureResult.dart'; import 'package:hmg_patient_app/core/model/my_trakers/blood_pressur/BloodPressureResult.dart';
import 'package:diplomaticquarterapp/core/model/my_trakers/blood_pressur/MonthBloodPressureResultAverage.dart'; import 'package:hmg_patient_app/core/model/my_trakers/blood_pressur/MonthBloodPressureResultAverage.dart';
import 'package:diplomaticquarterapp/core/model/my_trakers/blood_pressur/WeekBloodPressureResultAverage.dart'; import 'package:hmg_patient_app/core/model/my_trakers/blood_pressur/WeekBloodPressureResultAverage.dart';
import 'package:diplomaticquarterapp/core/model/my_trakers/blood_pressur/YearBloodPressureResultAverage.dart'; import 'package:hmg_patient_app/core/model/my_trakers/blood_pressur/YearBloodPressureResultAverage.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
class BloodPressureService extends BaseService { class BloodPressureService extends BaseService {
List<MonthBloodPressureResultAverage> monthDiabtectResultAverageList =[]; List<MonthBloodPressureResultAverage> monthDiabtectResultAverageList =[];

@ -1,9 +1,9 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart'; import 'package:hmg_patient_app/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart';
import 'package:diplomaticquarterapp/core/model/my_trakers/blood_sugar/MonthDiabtectResultAverage.dart'; import 'package:hmg_patient_app/core/model/my_trakers/blood_sugar/MonthDiabtectResultAverage.dart';
import 'package:diplomaticquarterapp/core/model/my_trakers/blood_sugar/WeekDiabtectResultAverage.dart'; import 'package:hmg_patient_app/core/model/my_trakers/blood_sugar/WeekDiabtectResultAverage.dart';
import 'package:diplomaticquarterapp/core/model/my_trakers/blood_sugar/YearDiabtecResultAverage.dart'; import 'package:hmg_patient_app/core/model/my_trakers/blood_sugar/YearDiabtecResultAverage.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
class BloodSugarService extends BaseService { class BloodSugarService extends BaseService {
List<MonthDiabtectResultAverage> monthDiabtectResultAverageList =[]; List<MonthDiabtectResultAverage> monthDiabtectResultAverageList =[];

@ -1,7 +1,7 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/eye/AppoimentAllHistoryResult.dart'; import 'package:hmg_patient_app/core/model/eye/AppoimentAllHistoryResult.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:diplomaticquarterapp/uitl/utils.dart'; import 'package:hmg_patient_app/uitl/utils.dart';
class EyeService extends BaseService { class EyeService extends BaseService {
List<AppoimentAllHistoryResultList> appoimentAllHistoryResultList = []; List<AppoimentAllHistoryResultList> appoimentAllHistoryResultList = [];

@ -1,6 +1,6 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/sick_leave/sick_leave.dart'; import 'package:hmg_patient_app/core/model/sick_leave/sick_leave.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
class PatientSickLeaveService extends BaseService { class PatientSickLeaveService extends BaseService {
List<SickLeave> sickLeaveList = []; List<SickLeave> sickLeaveList = [];

@ -1,9 +1,9 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/my_trakers/weight/MonthWeightMeasurementResultAverage.dart'; import 'package:hmg_patient_app/core/model/my_trakers/weight/MonthWeightMeasurementResultAverage.dart';
import 'package:diplomaticquarterapp/core/model/my_trakers/weight/WeekWeightMeasurementResultAverage.dart'; import 'package:hmg_patient_app/core/model/my_trakers/weight/WeekWeightMeasurementResultAverage.dart';
import 'package:diplomaticquarterapp/core/model/my_trakers/weight/WeightMeasurementResult.dart'; import 'package:hmg_patient_app/core/model/my_trakers/weight/WeightMeasurementResult.dart';
import 'package:diplomaticquarterapp/core/model/my_trakers/weight/YearWeightMeasurementResultAverage.dart'; import 'package:hmg_patient_app/core/model/my_trakers/weight/YearWeightMeasurementResultAverage.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
class WeightService extends BaseService { class WeightService extends BaseService {
///Average ///Average

@ -1,11 +1,11 @@
import 'dart:io'; import 'dart:io';
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/ask_doctor/AskDoctorReqTypes.dart'; import 'package:hmg_patient_app/core/model/ask_doctor/AskDoctorReqTypes.dart';
import 'package:diplomaticquarterapp/core/model/ask_doctor/DoctorResponse.dart'; import 'package:hmg_patient_app/core/model/ask_doctor/DoctorResponse.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart';
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
class AskDoctorService extends BaseService { class AskDoctorService extends BaseService {
List<AskDoctorReqTypes> askDoctorReqTypes =[]; List<AskDoctorReqTypes> askDoctorReqTypes =[];

@ -1,16 +1,16 @@
import 'dart:ui'; import 'dart:ui';
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/labs/LabOrderResult.dart'; import 'package:hmg_patient_app/core/model/labs/LabOrderResult.dart';
import 'package:diplomaticquarterapp/core/model/labs/lab_result.dart'; import 'package:hmg_patient_app/core/model/labs/lab_result.dart';
import 'package:diplomaticquarterapp/core/model/labs/patient_lab_orders.dart'; import 'package:hmg_patient_app/core/model/labs/patient_lab_orders.dart';
import 'package:diplomaticquarterapp/core/model/labs/patient_lab_special_result.dart'; import 'package:hmg_patient_app/core/model/labs/patient_lab_special_result.dart';
import 'package:diplomaticquarterapp/core/model/labs/request_patient_lab_special_result.dart'; import 'package:hmg_patient_app/core/model/labs/request_patient_lab_special_result.dart';
import 'package:diplomaticquarterapp/core/model/labs/request_send_lab_report_email.dart'; import 'package:hmg_patient_app/core/model/labs/request_send_lab_report_email.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart';
import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; import 'package:hmg_patient_app/uitl/date_uitl.dart';
import 'package:diplomaticquarterapp/widgets/data_display/medical/LabResult/lab_result_graph.dart'; import 'package:hmg_patient_app/widgets/data_display/medical/LabResult/lab_result_graph.dart';
class LabsService extends BaseService { class LabsService extends BaseService {
List<PatientLabOrders> patientLabOrdersList = []; List<PatientLabOrders> patientLabOrdersList = [];
@ -21,8 +21,7 @@ class LabsService extends BaseService {
hasError = false; hasError = false;
Map<String, dynamic> body = Map(); Map<String, dynamic> body = Map();
body['isDentalAllowedBackend'] = false; body['isDentalAllowedBackend'] = false;
await baseAppClient.post(GET_Patient_LAB_ORDERS, await baseAppClient.post(GET_Patient_LAB_ORDERS, onSuccess: (dynamic response, int statusCode) {
onSuccess: (dynamic response, int statusCode) {
patientLabOrdersList.clear(); patientLabOrdersList.clear();
response['ListPLO'].forEach((hospital) { response['ListPLO'].forEach((hospital) {
patientLabOrdersList.add(PatientLabOrders.fromJson(hospital)); patientLabOrdersList.add(PatientLabOrders.fromJson(hospital));
@ -33,21 +32,13 @@ class LabsService extends BaseService {
}, body: body); }, body: body);
} }
RequestPatientLabSpecialResult _requestPatientLabSpecialResult = RequestPatientLabSpecialResult _requestPatientLabSpecialResult = RequestPatientLabSpecialResult();
RequestPatientLabSpecialResult();
List<PatientLabSpecialResult> patientLabSpecialResult = []; List<PatientLabSpecialResult> patientLabSpecialResult = [];
List<LabResult> labResultList = []; List<LabResult> labResultList = [];
List<LabOrderResult> labOrdersResultsList = []; List<LabOrderResult> labOrdersResultsList = [];
Future getLaboratoryResult( Future getLaboratoryResult({String? projectID, int? clinicID, String? invoiceNo, String? invoiceType, String? orderNo, String? setupID, bool? isVidaPlus}) async {
{String? projectID,
int? clinicID,
String? invoiceNo,
String? invoiceType,
String? orderNo,
String? setupID,
bool? isVidaPlus}) async {
hasError = false; hasError = false;
_requestPatientLabSpecialResult.projectID = projectID; _requestPatientLabSpecialResult.projectID = projectID;
_requestPatientLabSpecialResult.clinicID = clinicID; _requestPatientLabSpecialResult.clinicID = clinicID;
@ -60,8 +51,7 @@ class LabsService extends BaseService {
_requestPatientLabSpecialResult.orderNo = orderNo; _requestPatientLabSpecialResult.orderNo = orderNo;
_requestPatientLabSpecialResult.setupID = setupID; _requestPatientLabSpecialResult.setupID = setupID;
await baseAppClient.post(GET_Patient_LAB_SPECIAL_RESULT, await baseAppClient.post(GET_Patient_LAB_SPECIAL_RESULT, onSuccess: (dynamic response, int statusCode) {
onSuccess: (dynamic response, int statusCode) {
patientLabSpecialResult.clear(); patientLabSpecialResult.clear();
response['ListPLSR'].forEach((hospital) { response['ListPLSR'].forEach((hospital) {
patientLabSpecialResult.add(PatientLabSpecialResult.fromJson(hospital)); patientLabSpecialResult.add(PatientLabSpecialResult.fromJson(hospital));
@ -72,8 +62,7 @@ class LabsService extends BaseService {
}, body: _requestPatientLabSpecialResult.toJson()); }, body: _requestPatientLabSpecialResult.toJson());
} }
Future getPatientLabResult( Future getPatientLabResult({PatientLabOrders? patientLabOrder, bool? isVidaPlus}) async {
{PatientLabOrders? patientLabOrder, bool? isVidaPlus}) async {
hasError = false; hasError = false;
Map<String, dynamic> body = Map(); Map<String, dynamic> body = Map();
body['InvoiceNo_VP'] = isVidaPlus! ? patientLabOrder!.invoiceNo : "0"; body['InvoiceNo_VP'] = isVidaPlus! ? patientLabOrder!.invoiceNo : "0";
@ -84,14 +73,11 @@ class LabsService extends BaseService {
body['SetupID'] = patientLabOrder.setupID; body['SetupID'] = patientLabOrder.setupID;
body['ProjectID'] = patientLabOrder.projectID; body['ProjectID'] = patientLabOrder.projectID;
body['ClinicID'] = patientLabOrder.clinicID; body['ClinicID'] = patientLabOrder.clinicID;
await baseAppClient.post(GET_Patient_LAB_RESULT, await baseAppClient.post(GET_Patient_LAB_RESULT, onSuccess: (dynamic response, int statusCode) {
onSuccess: (dynamic response, int statusCode) {
patientLabSpecialResult.clear(); patientLabSpecialResult.clear();
labResultList.clear(); labResultList.clear();
response['ListPLR'].forEach((lab) { response['ListPLR'].forEach((lab) {
labResultList.add( labResultList.add(LabResult.fromJson(lab));
LabResult.fromJson(lab),
);
}); });
}, onFailure: (String error, int statusCode) { }, onFailure: (String error, int statusCode) {
hasError = true; hasError = true;
@ -99,8 +85,7 @@ class LabsService extends BaseService {
}, body: body); }, body: body);
} }
Future generateCovidLabReport( Future generateCovidLabReport(LabResult covidLabResult, String isOutsideKSA) async {
LabResult covidLabResult, String isOutsideKSA) async {
hasError = false; hasError = false;
Map<String, dynamic> body = Map(); Map<String, dynamic> body = Map();
@ -117,8 +102,7 @@ class LabsService extends BaseService {
dynamic localRes; dynamic localRes;
await baseAppClient.post(SEND_COVID_LAB_RESULT_EMAIL, await baseAppClient.post(SEND_COVID_LAB_RESULT_EMAIL, onSuccess: (dynamic response, int statusCode) {
onSuccess: (dynamic response, int statusCode) {
localRes = response; localRes = response;
}, onFailure: (String error, int statusCode) { }, onFailure: (String error, int statusCode) {
hasError = true; hasError = true;
@ -135,8 +119,7 @@ class LabsService extends BaseService {
dynamic localRes; dynamic localRes;
await baseAppClient.post(COVID_PASSPORT_UPDATE, await baseAppClient.post(COVID_PASSPORT_UPDATE, onSuccess: (dynamic response, int statusCode) {
onSuccess: (dynamic response, int statusCode) {
localRes = response; localRes = response;
}, onFailure: (String error, int statusCode) { }, onFailure: (String error, int statusCode) {
hasError = true; hasError = true;
@ -145,14 +128,7 @@ class LabsService extends BaseService {
return Future.value(localRes); return Future.value(localRes);
} }
Future updateWorkplaceName( Future updateWorkplaceName(String workplaceName, String workplaceNameAR, String occupation, String occupationAR, int requestNumber, String setupID, int projectID) async {
String workplaceName,
String workplaceNameAR,
String occupation,
String occupationAR,
int requestNumber,
String setupID,
int projectID) async {
// Future updateWorkplaceName(String workplaceName, String workplaceNameAR, int requestNumber, String setupID, int projectID) async { // Future updateWorkplaceName(String workplaceName, String workplaceNameAR, int requestNumber, String setupID, int projectID) async {
hasError = false; hasError = false;
Map<String, dynamic> body = Map(); Map<String, dynamic> body = Map();
@ -169,8 +145,7 @@ class LabsService extends BaseService {
dynamic localRes; dynamic localRes;
await baseAppClient.post(UPDATE_WORKPLACE_NAME, await baseAppClient.post(UPDATE_WORKPLACE_NAME, onSuccess: (dynamic response, int statusCode) {
onSuccess: (dynamic response, int statusCode) {
localRes = response; localRes = response;
}, onFailure: (String error, int statusCode) { }, onFailure: (String error, int statusCode) {
hasError = true; hasError = true;
@ -185,8 +160,7 @@ class LabsService extends BaseService {
dynamic localRes; dynamic localRes;
await baseAppClient.post(GET_PATIENT_PASSPORT_NUMBER, await baseAppClient.post(GET_PATIENT_PASSPORT_NUMBER, onSuccess: (dynamic response, int statusCode) {
onSuccess: (dynamic response, int statusCode) {
localRes = response; localRes = response;
}, onFailure: (String error, int statusCode) { }, onFailure: (String error, int statusCode) {
hasError = true; hasError = true;
@ -204,8 +178,7 @@ class LabsService extends BaseService {
dynamic localRes; dynamic localRes;
await baseAppClient.post(GET_SICKLEAVE_STATUS_ADMISSION_NO, await baseAppClient.post(GET_SICKLEAVE_STATUS_ADMISSION_NO, onSuccess: (dynamic response, int statusCode) {
onSuccess: (dynamic response, int statusCode) {
localRes = response; localRes = response;
}, onFailure: (String error, int statusCode) { }, onFailure: (String error, int statusCode) {
hasError = true; hasError = true;
@ -214,10 +187,7 @@ class LabsService extends BaseService {
return Future.value(localRes); return Future.value(localRes);
} }
Future getPatientLabOrdersResults( Future getPatientLabOrdersResults({PatientLabOrders? patientLabOrder, String? procedure, bool isVidaPlus = false}) async {
{PatientLabOrders? patientLabOrder,
String? procedure,
bool isVidaPlus = false}) async {
hasError = false; hasError = false;
Map<String, dynamic> body = Map(); Map<String, dynamic> body = Map();
body['InvoiceNo_VP'] = isVidaPlus ? patientLabOrder!.invoiceNo : "0"; body['InvoiceNo_VP'] = isVidaPlus ? patientLabOrder!.invoiceNo : "0";
@ -230,8 +200,7 @@ class LabsService extends BaseService {
body['Procedure'] = procedure; body['Procedure'] = procedure;
body['Procedure'] = procedure; body['Procedure'] = procedure;
body['LanguageID'] = 1; body['LanguageID'] = 1;
await baseAppClient.post(GET_Patient_LAB_ORDERS_RESULT, await baseAppClient.post(GET_Patient_LAB_ORDERS_RESULT, onSuccess: (dynamic response, int statusCode) {
onSuccess: (dynamic response, int statusCode) {
labOrdersResultsList.clear(); labOrdersResultsList.clear();
response['ListPLR'].forEach((lab) { response['ListPLR'].forEach((lab) {
labOrdersResultsList.add(LabOrderResult.fromJson(lab)); labOrdersResultsList.add(LabOrderResult.fromJson(lab));
@ -243,31 +212,20 @@ class LabsService extends BaseService {
}, body: body); }, body: body);
} }
RequestSendLabReportEmail _requestSendLabReportEmail = RequestSendLabReportEmail _requestSendLabReportEmail = RequestSendLabReportEmail();
RequestSendLabReportEmail();
Future sendLabReportEmail( Future sendLabReportEmail({PatientLabOrders? patientLabOrder, AuthenticatedUser? userObj, bool isVidaPlus = false, bool isDownload = false, int languageID = 1}) async {
{PatientLabOrders? patientLabOrder,
AuthenticatedUser? userObj,
bool isVidaPlus = false,
bool isDownload = false,
int languageID = 1}) async {
_requestSendLabReportEmail.projectID = patientLabOrder!.projectID; _requestSendLabReportEmail.projectID = patientLabOrder!.projectID;
_requestSendLabReportEmail.invoiceNo = _requestSendLabReportEmail.invoiceNo = isVidaPlus ? "0" : patientLabOrder.invoiceNo;
isVidaPlus ? "0" : patientLabOrder.invoiceNo; _requestSendLabReportEmail.invoiceNoVP = isVidaPlus ? patientLabOrder.invoiceNo : "0";
_requestSendLabReportEmail.invoiceNoVP =
isVidaPlus ? patientLabOrder.invoiceNo : "0";
_requestSendLabReportEmail.invoiceType = patientLabOrder.invoiceType; _requestSendLabReportEmail.invoiceType = patientLabOrder.invoiceType;
_requestSendLabReportEmail.doctorName = patientLabOrder.doctorName; _requestSendLabReportEmail.doctorName = patientLabOrder.doctorName;
_requestSendLabReportEmail.clinicName = patientLabOrder.clinicDescription; _requestSendLabReportEmail.clinicName = patientLabOrder.clinicDescription;
_requestSendLabReportEmail.patientName = _requestSendLabReportEmail.patientName = userObj!.firstName! + " " + userObj.lastName!;
userObj!.firstName! + " " + userObj.lastName!; _requestSendLabReportEmail.patientIditificationNum = userObj.patientIdentificationNo;
_requestSendLabReportEmail.patientIditificationNum =
userObj.patientIdentificationNo;
_requestSendLabReportEmail.dateofBirth = userObj.dateofBirth; _requestSendLabReportEmail.dateofBirth = userObj.dateofBirth;
_requestSendLabReportEmail.to = userObj.emailAddress; _requestSendLabReportEmail.to = userObj.emailAddress;
_requestSendLabReportEmail.orderDate = _requestSendLabReportEmail.orderDate = '${patientLabOrder.orderDate!.year}-${patientLabOrder.orderDate!.month}-${patientLabOrder.orderDate!.day}';
'${patientLabOrder.orderDate!.year}-${patientLabOrder.orderDate!.month}-${patientLabOrder.orderDate!.day}';
_requestSendLabReportEmail.patientMobileNumber = userObj.mobileNumber; _requestSendLabReportEmail.patientMobileNumber = userObj.mobileNumber;
_requestSendLabReportEmail.projectName = patientLabOrder.projectName; _requestSendLabReportEmail.projectName = patientLabOrder.projectName;
_requestSendLabReportEmail.setupID = patientLabOrder.setupID; _requestSendLabReportEmail.setupID = patientLabOrder.setupID;
@ -278,13 +236,9 @@ class LabsService extends BaseService {
_requestSendLabReportEmail.languageID = languageID; _requestSendLabReportEmail.languageID = languageID;
// await baseAppClient.post(SEND_LAB_RESULT_EMAIL, onSuccess: (dynamic response, int statusCode) { // await baseAppClient.post(SEND_LAB_RESULT_EMAIL, onSuccess: (dynamic response, int statusCode) {
await baseAppClient await baseAppClient.post(isVidaPlus ? SEND_LAB_RESULT_EMAIL : SEND_LAB_RESULT_EMAIL_NEW, onSuccess: (dynamic response, int statusCode) {
.post(isVidaPlus ? SEND_LAB_RESULT_EMAIL : SEND_LAB_RESULT_EMAIL_NEW,
onSuccess: (dynamic response, int statusCode) {
if (isDownload) { if (isDownload) {
labReportPDF = isVidaPlus labReportPDF = isVidaPlus ? response['LabReportsPDFContent'] : response['PdfContent'];
? response['LabReportsPDFContent']
: response['PdfContent'];
} }
}, onFailure: (String error, int statusCode) { }, onFailure: (String error, int statusCode) {
hasError = true; hasError = true;

@ -1,10 +1,10 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/er/PatientER.dart'; import 'package:hmg_patient_app/core/model/er/PatientER.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart';
import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart';
import 'package:diplomaticquarterapp/pages/MyAppointments/models/DoctorScheduleResponse.dart'; import 'package:hmg_patient_app/pages/MyAppointments/models/DoctorScheduleResponse.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
class MedicalService extends BaseService { class MedicalService extends BaseService {

@ -1,18 +1,18 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/blooddonation/blood_groub_details.dart'; import 'package:hmg_patient_app/core/model/blooddonation/blood_groub_details.dart';
import 'package:diplomaticquarterapp/core/model/my_balance/AdvanceModel.dart'; import 'package:hmg_patient_app/core/model/my_balance/AdvanceModel.dart';
import 'package:diplomaticquarterapp/core/model/my_balance/patient_advance_balance_amount.dart'; import 'package:hmg_patient_app/core/model/my_balance/patient_advance_balance_amount.dart';
import 'package:diplomaticquarterapp/core/model/my_balance/patient_info.dart'; import 'package:hmg_patient_app/core/model/my_balance/patient_info.dart';
import 'package:diplomaticquarterapp/core/model/my_balance/patient_info_and_mobile_number.dart'; import 'package:hmg_patient_app/core/model/my_balance/patient_info_and_mobile_number.dart';
import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:diplomaticquarterapp/locator.dart'; import 'package:hmg_patient_app/locator.dart';
import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart';
import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordsByStatusReq.dart'; import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordsByStatusReq.dart';
import 'package:diplomaticquarterapp/services/family_files/family_files_provider.dart'; import 'package:hmg_patient_app/services/family_files/family_files_provider.dart';
import 'package:diplomaticquarterapp/uitl/app_toast.dart'; import 'package:hmg_patient_app/uitl/app_toast.dart';
class MyBalanceService extends BaseService { class MyBalanceService extends BaseService {
List<PatientAdvanceBalanceAmount> patientAdvanceBalanceAmountList =[]; List<PatientAdvanceBalanceAmount> patientAdvanceBalanceAmountList =[];

@ -1,11 +1,11 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/doctor/doctor_profile.dart'; import 'package:hmg_patient_app/core/model/doctor/doctor_profile.dart';
import 'package:diplomaticquarterapp/core/model/doctor/doctor_rating.dart'; import 'package:hmg_patient_app/core/model/doctor/doctor_rating.dart';
import 'package:diplomaticquarterapp/core/model/doctor/reques_patient_doctor_appointmentt.dart'; import 'package:hmg_patient_app/core/model/doctor/reques_patient_doctor_appointmentt.dart';
import 'package:diplomaticquarterapp/core/model/doctor/request_doctor_profile.dart'; import 'package:hmg_patient_app/core/model/doctor/request_doctor_profile.dart';
import 'package:diplomaticquarterapp/core/model/doctor/request_doctor_rating.dart'; import 'package:hmg_patient_app/core/model/doctor/request_doctor_rating.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart';
class MyDoctorService extends BaseService { class MyDoctorService extends BaseService {
List<DoctorList> patientDoctorAppointmentList =[]; List<DoctorList> patientDoctorAppointmentList =[];

@ -1,18 +1,18 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; import 'package:hmg_patient_app/config/shared_pref_kay.dart';
import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart';
import 'package:diplomaticquarterapp/core/model/prescriptions/Prescriptions.dart'; import 'package:hmg_patient_app/core/model/prescriptions/Prescriptions.dart';
import 'package:diplomaticquarterapp/core/model/prescriptions/perscription_pharmacy.dart'; import 'package:hmg_patient_app/core/model/prescriptions/perscription_pharmacy.dart';
import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_info_rc_model.dart'; import 'package:hmg_patient_app/core/model/prescriptions/prescription_info_rc_model.dart';
import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report.dart'; import 'package:hmg_patient_app/core/model/prescriptions/prescription_report.dart';
import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report_enh.dart'; import 'package:hmg_patient_app/core/model/prescriptions/prescription_report_enh.dart';
import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report_inp.dart'; import 'package:hmg_patient_app/core/model/prescriptions/prescription_report_inp.dart';
import 'package:diplomaticquarterapp/core/model/prescriptions/prescriptions_order.dart'; import 'package:hmg_patient_app/core/model/prescriptions/prescriptions_order.dart';
import 'package:diplomaticquarterapp/core/model/prescriptions/request_get_list_pharmacy_for_prescriptions.dart'; import 'package:hmg_patient_app/core/model/prescriptions/request_get_list_pharmacy_for_prescriptions.dart';
import 'package:diplomaticquarterapp/core/model/prescriptions/request_prescription_report.dart'; import 'package:hmg_patient_app/core/model/prescriptions/request_prescription_report.dart';
import 'package:diplomaticquarterapp/core/model/prescriptions/request_prescription_report_enh.dart'; import 'package:hmg_patient_app/core/model/prescriptions/request_prescription_report_enh.dart';
import 'package:diplomaticquarterapp/core/model/prescriptions/request_send_prescription_email.dart'; import 'package:hmg_patient_app/core/model/prescriptions/request_send_prescription_email.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
class PrescriptionsService extends BaseService { class PrescriptionsService extends BaseService {

@ -1,8 +1,8 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/radiology/final_radiology.dart'; import 'package:hmg_patient_app/core/model/radiology/final_radiology.dart';
import 'package:diplomaticquarterapp/core/model/radiology/request_send_rad_report_email.dart'; import 'package:hmg_patient_app/core/model/radiology/request_send_rad_report_email.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart';
class RadiologyService extends BaseService { class RadiologyService extends BaseService {
List<FinalRadiology> finalRadiologyList = []; List<FinalRadiology> finalRadiologyList = [];

@ -1,8 +1,8 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/reports/Reports.dart'; import 'package:hmg_patient_app/core/model/reports/Reports.dart';
import 'package:diplomaticquarterapp/core/model/reports/request_reports.dart'; import 'package:hmg_patient_app/core/model/reports/request_reports.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:diplomaticquarterapp/pages/feedback/appointment_history.dart'; import 'package:hmg_patient_app/pages/feedback/appointment_history.dart';
class ReportsMonthlyService extends BaseService { class ReportsMonthlyService extends BaseService {
List<Reports> reportsList =[]; List<Reports> reportsList =[];

@ -1,9 +1,9 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/reports/Reports.dart'; import 'package:hmg_patient_app/core/model/reports/Reports.dart';
import 'package:diplomaticquarterapp/core/model/reports/admission_for_medical_report.dart'; import 'package:hmg_patient_app/core/model/reports/admission_for_medical_report.dart';
import 'package:diplomaticquarterapp/core/model/reports/request_reports.dart'; import 'package:hmg_patient_app/core/model/reports/request_reports.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
import 'package:diplomaticquarterapp/pages/feedback/appointment_history.dart'; import 'package:hmg_patient_app/pages/feedback/appointment_history.dart';
class ReportsService extends BaseService { class ReportsService extends BaseService {
List<Reports> reportsList = []; List<Reports> reportsList = [];

@ -1,5 +1,5 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/vital_sign/vital_sign_res_model.dart'; import 'package:hmg_patient_app/core/model/vital_sign/vital_sign_res_model.dart';
import '../base_service.dart'; import '../base_service.dart';

@ -1,8 +1,8 @@
import 'package:diplomaticquarterapp/config/config.dart'; import 'package:hmg_patient_app/config/config.dart';
import 'package:diplomaticquarterapp/core/model/notifications/get_notifications_request_model.dart'; import 'package:hmg_patient_app/core/model/notifications/get_notifications_request_model.dart';
import 'package:diplomaticquarterapp/core/model/notifications/get_notifications_response_model.dart'; import 'package:hmg_patient_app/core/model/notifications/get_notifications_response_model.dart';
import 'package:diplomaticquarterapp/core/model/notifications/mark_message_as_read_request_model.dart'; import 'package:hmg_patient_app/core/model/notifications/mark_message_as_read_request_model.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart'; import 'package:hmg_patient_app/core/service/base_service.dart';
class NotificationService extends BaseService { class NotificationService extends BaseService {
List<GetNotificationsResponseModel> notificationsList =[]; List<GetNotificationsResponseModel> notificationsList =[];

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save