Merge pull request 'Updates' (#291) from haroon_dev into master

Reviewed-on: https://34.17.182.140/Haroon6138/HMG_Patient_App_New/pulls/291
pull/292/head
Haroon6138 16 hours ago
commit eb0cf01eb3

@ -1152,7 +1152,7 @@
"areYouSureYouWantToCallAmbulance": "هل تود تأكيد طلب سيارة الإسعاف؟", "areYouSureYouWantToCallAmbulance": "هل تود تأكيد طلب سيارة الإسعاف؟",
"getDetailsOfNearestBranch": "الحصول على تفاصيل أقرب مركز طوارئ والاتجاهات إليه", "getDetailsOfNearestBranch": "الحصول على تفاصيل أقرب مركز طوارئ والاتجاهات إليه",
"areYouSureYouWantToCallRRT": "هل تريد استدعاء فريق الاستجابة السريعة؟", "areYouSureYouWantToCallRRT": "هل تريد استدعاء فريق الاستجابة السريعة؟",
"priorERCheckInToSkipLine": "سجّل وصولك قبل الحضور إلى قسم الطوارئ لتخطي الانتظار وتسهيل إجراءات الدفع.", "priorERCheckInToSkipLine": "سجّل وصولك قبل الحضور إلى قسم الطوارئ لتفادي الانتظار وتسهيل إجراءات الدفع.",
"areYouSureYouWantToMakeERCheckIn": "هل تريد إجراء تسجيل وصول الطوارئ؟", "areYouSureYouWantToMakeERCheckIn": "هل تريد إجراء تسجيل وصول الطوارئ؟",
"checkingYourERAppointmentStatus": "يرجى الانتظار…", "checkingYourERAppointmentStatus": "يرجى الانتظار…",
"transportOptions": "خيارات النقل", "transportOptions": "خيارات النقل",
@ -1682,8 +1682,8 @@
"liveChatServiceDescription": "هل تحتاج إلى مساعدة؟ تتيح لك خدمة الدردشة المباشرة لدينا التواصل مع فريق دعم الخبراء للإجابة على أي أسئلة لديك حول الميزات أو الإعدادات أو استكشاف الأخطاء وإصلاحها.", "liveChatServiceDescription": "هل تحتاج إلى مساعدة؟ تتيح لك خدمة الدردشة المباشرة لدينا التواصل مع فريق دعم الخبراء للإجابة على أي أسئلة لديك حول الميزات أو الإعدادات أو استكشاف الأخطاء وإصلاحها.",
"emergencyServiceHeader": "تسجيل الوصول إلى قسم الطوارئ، أسرع من أي وقت مضى. اتصل بالإسعاف / فريق الاستجابة السريعة على الفور", "emergencyServiceHeader": "تسجيل الوصول إلى قسم الطوارئ، أسرع من أي وقت مضى. اتصل بالإسعاف / فريق الاستجابة السريعة على الفور",
"emergencyServiceDescription": "هل تواجه حالة طبية طارئة؟ سيارات الإسعاف وفرق الاستجابة السريعة لدينا جاهزة على مدار الساعة. بالإضافة إلى ذلك، يمكنك تسجيل دخولك إلى قسم الطوارئ بسرعة لتلقي رعاية أسرع.", "emergencyServiceDescription": "هل تواجه حالة طبية طارئة؟ سيارات الإسعاف وفرق الاستجابة السريعة لدينا جاهزة على مدار الساعة. بالإضافة إلى ذلك، يمكنك تسجيل دخولك إلى قسم الطوارئ بسرعة لتلقي رعاية أسرع.",
"homeHealthCareServiceHeader": "صحتك، في أبهى صورها. رعاية فائقة الجودة، تصلك إلى عتبة دارك.", "homeHealthCareServiceHeader": "صحتك أولويتنا… رعاية طبية متكاملة تصلك إلى منزلك.",
"homeHealthCareServiceDescription": "نقدم لكم رعاية صحية عالية الجودة تصلكم إلى عتبة منزلكم. ممرضات ذوات خبرةممرضات ذوات خبرة يقدمون لكم الرعاية اللازمة.", "homeHealthCareServiceDescription": "فريق مؤهل يقدّم لك خدمة بجودة عالية.",
"profileOnlyText": "الملف الشخصي", "profileOnlyText": "الملف الشخصي",
"information": "معلومات الطبيب", "information": "معلومات الطبيب",
"noFavouriteDoctors": "ليس لديك أي قائمة مفضلة حتى الآن", "noFavouriteDoctors": "ليس لديك أي قائمة مفضلة حتى الآن",
@ -1826,7 +1826,7 @@
"selectFamilyFile": "اختيار ", "selectFamilyFile": "اختيار ",
"ancillaryOrdersListNew": "طلبات غير مكتملة", "ancillaryOrdersListNew": "طلبات غير مكتملة",
"medicalReportNew": "التقارير الطبية", "medicalReportNew": "التقارير الطبية",
"livecarePendingReuqestNew": "انتظار الطبيب" "livecarePendingReuqestNew": "انتظار الطبيب",
"medicinesAnalysis": "تحليل الأدوية", "medicinesAnalysis": "تحليل الأدوية",
"importantWarnings": "تحذيرات مهمة", "importantWarnings": "تحذيرات مهمة",
"medicineInteractions": "تفاعلات الأدوية", "medicineInteractions": "تفاعلات الأدوية",
@ -1837,5 +1837,6 @@
"storage": "التخزين", "storage": "التخزين",
"aiDisclaimerPrescription": "سيتم مشاركة بيانات نتائج الوصفات الطبية الخاصة بك بشكل آمن مع محلل الذكاء الاصطناعي لدينا لتحليلها. يساعد هذا في توفير رؤى صحية مخصصة. هل ترغب في المتابعة؟", "aiDisclaimerPrescription": "سيتم مشاركة بيانات نتائج الوصفات الطبية الخاصة بك بشكل آمن مع محلل الذكاء الاصطناعي لدينا لتحليلها. يساعد هذا في توفير رؤى صحية مخصصة. هل ترغب في المتابعة؟",
"generateAiAnalysisPrescription": "تحليل الذكاء الاصطناعي", "generateAiAnalysisPrescription": "تحليل الذكاء الاصطناعي",
"loadingAIAnalysisPrescription": "ٍتحليل الوصفات الطبية بواسطة الذكاء الاصطناعي، يرجى الانتظار..." "loadingAIAnalysisPrescription": "ٍتحليل الوصفات الطبية بواسطة الذكاء الاصطناعي، يرجى الانتظار...",
"thisAboveInfoPrescription": "تم تحليل الوصفة الطبية هذه بواسطة الذكاء الاصطناعي، وهي لا تُعدّ نصيحة طبية. استشر طبيبك المختص للتشخيص والعلاج."
} }

@ -1816,7 +1816,7 @@
"selectFamilyFile": "Select", "selectFamilyFile": "Select",
"ancillaryOrdersListNew": "Ancillary Orders List", "ancillaryOrdersListNew": "Ancillary Orders List",
"medicalReportNew": "Medical Report", "medicalReportNew": "Medical Report",
"livecarePendingReuqestNew": "Live Care Pending Request" "livecarePendingReuqestNew": "Live Care Pending Request",
"medicinesAnalysis": "Medicines Analysis", "medicinesAnalysis": "Medicines Analysis",
"importantWarnings": "Important Warnings", "importantWarnings": "Important Warnings",
"medicineInteractions": "Medicine Interactions", "medicineInteractions": "Medicine Interactions",
@ -1826,8 +1826,9 @@
"seriousWarnings": "Serious Warnings", "seriousWarnings": "Serious Warnings",
"storage": "Storage", "storage": "Storage",
"aiDisclaimerPrescription": "Your prescription data will be securely shared with our AI Analyzer for analysis. This helps provide personalized health insights. Do you want to proceed?", "aiDisclaimerPrescription": "Your prescription data will be securely shared with our AI Analyzer for analysis. This helps provide personalized health insights. Do you want to proceed?",
"generateAiAnalysisPrescription": "Generate AI analysis for this prescription", "generateAiAnalysisPrescription": "Generate AI analysis",
"loadingAIAnalysisPrescription": "Analysing your prescription, let the AI do the magic, This might take some time." "loadingAIAnalysisPrescription": "Analysing your prescription, let the AI do the magic, This might take some time.",
"thisAboveInfoPrescription": "This prescription was analyzed by AI, and it is not medical advice. Consult your healthcare provider for diagnosis and treatment."
} }

@ -4,7 +4,7 @@ import 'package:hmg_patient_app_new/core/enums.dart';
class ApiConsts { class ApiConsts {
static const maxSmallScreen = 660; static const maxSmallScreen = 660;
static AppEnvironmentTypeEnum appEnvironmentType = AppEnvironmentTypeEnum.uat; static AppEnvironmentTypeEnum appEnvironmentType = AppEnvironmentTypeEnum.prod;
// static String baseUrl = 'https://uat.hmgwebservices.com/'; // HIS API URL UAT // static String baseUrl = 'https://uat.hmgwebservices.com/'; // HIS API URL UAT

@ -1819,5 +1819,17 @@ abstract class LocaleKeys {
static const ancillaryOrdersListNew = 'ancillaryOrdersListNew'; static const ancillaryOrdersListNew = 'ancillaryOrdersListNew';
static const medicalReportNew = 'medicalReportNew'; static const medicalReportNew = 'medicalReportNew';
static const livecarePendingReuqestNew = 'livecarePendingReuqestNew'; static const livecarePendingReuqestNew = 'livecarePendingReuqestNew';
static const medicinesAnalysis = 'medicinesAnalysis';
static const importantWarnings = 'importantWarnings';
static const medicineInteractions = 'medicineInteractions';
static const followUpNeeded = 'followUpNeeded';
static const benefit = 'benefit';
static const commonSideEffects = 'commonSideEffects';
static const seriousWarnings = 'seriousWarnings';
static const storage = 'storage';
static const aiDisclaimerPrescription = 'aiDisclaimerPrescription';
static const generateAiAnalysisPrescription = 'generateAiAnalysisPrescription';
static const loadingAIAnalysisPrescription = 'loadingAIAnalysisPrescription';
static const thisAboveInfoPrescription = 'thisAboveInfoPrescription';
} }

@ -212,7 +212,7 @@ class _PrescriptionAiAnalysisDetailedPageState extends State<PrescriptionAiAnaly
Icon(Icons.info_outline, color: AppColors.greyTextColor, size: 20.r), Icon(Icons.info_outline, color: AppColors.greyTextColor, size: 20.r),
SizedBox(width: 8.w), SizedBox(width: 8.w),
Expanded( Expanded(
child: ("${LocaleKeys.disclaimer.tr()}:${LocaleKeys.thisAboveInfo.tr()}").toText12(color: AppColors.greyTextColor, fontWeight: FontWeight.w400), child: ("${LocaleKeys.disclaimer.tr()}: ${LocaleKeys.thisAboveInfoPrescription.tr()}").toText12(color: AppColors.greyTextColor, fontWeight: FontWeight.w400),
), ),
], ],
).paddingSymmetrical(16.w, 16.h) ).paddingSymmetrical(16.w, 16.h)
@ -301,6 +301,7 @@ class _PrescriptionAiAnalysisDetailedPageState extends State<PrescriptionAiAnaly
// // title.toText14(isBold: true, color: AppColors.blackColor), // // title.toText14(isBold: true, color: AppColors.blackColor),
// ], // ],
// ), // ),
title.toText14(isBold: true, color: AppColors.blackColor),
SizedBox(height: 4.h), SizedBox(height: 4.h),
content.toText14(color: AppColors.textColorLight, height: 1.5, weight: FontWeight.w400), content.toText14(color: AppColors.textColorLight, height: 1.5, weight: FontWeight.w400),
], ],

@ -318,7 +318,7 @@ class _PrescriptionDetailPageState extends State<PrescriptionDetailPage> {
prescriptionsViewModel.getPrescriptionAiAnalysis( prescriptionsViewModel.getPrescriptionAiAnalysis(
prescriptions: prescriptionsViewModel.prescriptionDetailsList, prescriptions: prescriptionsViewModel.prescriptionDetailsList,
langId: getIt.get<AppState>().getLanguageID(), langId: getIt.get<AppState>().getLanguageID(),
loadingText: LocaleKeys.loadingAIAnalysis.tr(context: context), loadingText: LocaleKeys.loadingAIAnalysisPrescription.tr(context: context),
onNavigate: (data) { onNavigate: (data) {
// Navigate to prescription AI analysis detailed page // Navigate to prescription AI analysis detailed page
Navigator.push( Navigator.push(

Loading…
Cancel
Save