Updates #291

Merged
Haroon6138 merged 1 commits from haroon_dev into master 21 hours ago

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

@ -1816,7 +1816,7 @@
"selectFamilyFile": "Select",
"ancillaryOrdersListNew": "Ancillary Orders List",
"medicalReportNew": "Medical Report",
"livecarePendingReuqestNew": "Live Care Pending Request"
"livecarePendingReuqestNew": "Live Care Pending Request",
"medicinesAnalysis": "Medicines Analysis",
"importantWarnings": "Important Warnings",
"medicineInteractions": "Medicine Interactions",
@ -1826,8 +1826,9 @@
"seriousWarnings": "Serious Warnings",
"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?",
"generateAiAnalysisPrescription": "Generate AI analysis for this prescription",
"loadingAIAnalysisPrescription": "Analysing your prescription, let the AI do the magic, This might take some time."
"generateAiAnalysisPrescription": "Generate AI analysis",
"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 {
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

@ -1819,5 +1819,17 @@ abstract class LocaleKeys {
static const ancillaryOrdersListNew = 'ancillaryOrdersListNew';
static const medicalReportNew = 'medicalReportNew';
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),
SizedBox(width: 8.w),
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)
@ -301,6 +301,7 @@ class _PrescriptionAiAnalysisDetailedPageState extends State<PrescriptionAiAnaly
// // title.toText14(isBold: true, color: AppColors.blackColor),
// ],
// ),
title.toText14(isBold: true, color: AppColors.blackColor),
SizedBox(height: 4.h),
content.toText14(color: AppColors.textColorLight, height: 1.5, weight: FontWeight.w400),
],

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

Loading…
Cancel
Save