diff --git a/assets/images/svg/birth_notification_icon.svg b/assets/images/svg/birth_notification_icon.svg
new file mode 100644
index 00000000..44abd453
--- /dev/null
+++ b/assets/images/svg/birth_notification_icon.svg
@@ -0,0 +1,4 @@
+
diff --git a/assets/images/svg/discharge_medication_icon.svg b/assets/images/svg/discharge_medication_icon.svg
new file mode 100644
index 00000000..b1d734f4
--- /dev/null
+++ b/assets/images/svg/discharge_medication_icon.svg
@@ -0,0 +1,5 @@
+
diff --git a/assets/images/svg/general_consent_icon.svg b/assets/images/svg/general_consent_icon.svg
new file mode 100644
index 00000000..ba6dce00
--- /dev/null
+++ b/assets/images/svg/general_consent_icon.svg
@@ -0,0 +1,4 @@
+
diff --git a/assets/images/svg/general_instructions_icon.svg b/assets/images/svg/general_instructions_icon.svg
new file mode 100644
index 00000000..1f561f38
--- /dev/null
+++ b/assets/images/svg/general_instructions_icon.svg
@@ -0,0 +1,5 @@
+
diff --git a/assets/images/svg/inpatient_advance_payment_icon.svg b/assets/images/svg/inpatient_advance_payment_icon.svg
new file mode 100644
index 00000000..8b877b0a
--- /dev/null
+++ b/assets/images/svg/inpatient_advance_payment_icon.svg
@@ -0,0 +1,5 @@
+
diff --git a/assets/images/svg/meal_plan_icon.svg b/assets/images/svg/meal_plan_icon.svg
new file mode 100644
index 00000000..1b670ea7
--- /dev/null
+++ b/assets/images/svg/meal_plan_icon.svg
@@ -0,0 +1,4 @@
+
diff --git a/assets/images/svg/patient_relation_office_icon.svg b/assets/images/svg/patient_relation_office_icon.svg
new file mode 100644
index 00000000..70dfd350
--- /dev/null
+++ b/assets/images/svg/patient_relation_office_icon.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/langs/ar-SA.json b/assets/langs/ar-SA.json
index 0f437ebb..7eee9a7e 100644
--- a/assets/langs/ar-SA.json
+++ b/assets/langs/ar-SA.json
@@ -2041,5 +2041,14 @@
"acknowledgementConsent": "الإقرارات: ",
"generalConsent14": "لقد قرأت وفهمت وأوافق على الشروط والأحكام المبينة أعلاه وأوافق على الإلتزام بالمتطلبات المذكورة تجاه المستشفى ، لقد قرأت التفاصيل المبينة في نموذج التسجيل الخاص بي وأقر بأنها صحيحة. أنا الموقع ادناه أقر بأنه أتيحت لي الفرصة لطرح الأسئلة والتحفظات بشأن هذه الموافقة، وتلقيت إجابات مرضية على جميع إستفساراتي.",
"patientNameLbl": "اسم المريض: ",
- "copyLinkTxt": "يمكنك إتمام الدفع بنفسك، أو نسخ رابط الدفع أدناه وإرساله إلى شخص آخر ليقوم بالدفع نيابةً عنك."
+ "copyLinkTxt": "يمكنك إتمام الدفع بنفسك، أو نسخ رابط الدفع أدناه وإرساله إلى شخص آخر ليقوم بالدفع نيابةً عنك.",
+
+ "generalConsentSubtitle": "الاطلاع على نموذج الموافقة العامة واتخاذ إجراء بشأنه",
+ "generalInstructionSubtitle": "اطلع على التعليمات العامة التي أوصت بها المستشفى بخصوص إجراءات دخولك.",
+ "medicalInstructionsSubtitle": "اطلع على التعليمات الطبية التي أوصى بها طبيبك بخصوص دخولك المستشفى.",
+ "mealPlanSubtitle": "اطلع على الوجبات المتاحة واطلبها أثناء فترة تنويمك وإقامتك في الحبيب.",
+ "birthNotificationSubtitle": "قدِّم تفاصيل إشعار الولادة الخاصة بمولودك لاستكمال سجلات المستشفى.",
+ "advancePaymentSubtitle": "عرض طلب القبول الخاص بك وسداد الرسوم مسبقاً",
+ "dischargeMedicationSubtitle": "اطلب الأدوية التي وصفها لك الطبيب عند خروجك من المستشفى.",
+ "patientRelationOfficeSubtitle": "يرجى التواصل مع مكتب علاقات المرضى للحصول على أي مساعدة أثناء إجراءات الدخول والإقامة في الحبيب."
}
diff --git a/assets/langs/en-US.json b/assets/langs/en-US.json
index c1547dd2..a8f041a5 100644
--- a/assets/langs/en-US.json
+++ b/assets/langs/en-US.json
@@ -2031,7 +2031,16 @@
"acknowledgementConsent": "ACKNOWLEDGEMENTS: ",
"generalConsent14": "I, the undersigned, acknowledge that I have been provided with a copy of the Patients' Bill of Right and Responsibilities and the admission staff has explained to me Patients' Bill of Right and Responsibilities.",
"patientNameLbl": "Patient Name: ",
- "copyLinkTxt": "You can pay yourself or you can copy the payment link from below & send it to someone who can pay on your behalf."
+ "copyLinkTxt": "You can pay yourself or you can copy the payment link from below & send it to someone who can pay on your behalf.",
+
+ "generalConsentSubtitle": "View & take action on the general consent form",
+ "generalInstructionSubtitle": "View general instructions advised by the hospital for your admission",
+ "medicalInstructionsSubtitle": "View medical instructions advised by your doctor for your admission",
+ "mealPlanSubtitle": "View & order meals available during your admission & stay in HMG",
+ "birthNotificationSubtitle": "Provide birth notification details for your newborn baby to complete the hospital records",
+ "advancePaymentSubtitle": "View & make advance payment for your admission request",
+ "dischargeMedicationSubtitle": "Request medications prescribed by your doctor for your discharge",
+ "patientRelationOfficeSubtitle": "Contact the patient relation office for any assistance during your admission & stay in HMG"
}
diff --git a/lib/core/app_assets.dart b/lib/core/app_assets.dart
index aba22eb3..48414dcd 100644
--- a/lib/core/app_assets.dart
+++ b/lib/core/app_assets.dart
@@ -400,6 +400,16 @@ class AppAssets {
static const String descriptionIcon = '$svgBasePath/description_icon.svg';
static const String selectImageIcon = '$svgBasePath/select_image_icon.svg';
+ // InPatient Services Icons
+ static const String generalConsentIcon = '$svgBasePath/general_consent_icon.svg';
+ static const String generalInstructionsIcon = '$svgBasePath/general_instructions_icon.svg';
+ static const String mealPlanIcon = '$svgBasePath/meal_plan_icon.svg';
+ static const String birthNotificationIcon = '$svgBasePath/birth_notification_icon.svg';
+ static const String inpatientAdvancePaymentIcon = '$svgBasePath/inpatient_advance_payment_icon.svg';
+ static const String dischargeMedicationIcon = '$svgBasePath/discharge_medication_icon.svg';
+ static const String patientRelationOfficeIcon = '$svgBasePath/patient_relation_office_icon.svg';
+
+
// PNGS //
static const String hmgLogo = '$pngBasePath/hmg_logo.png';
static const String liveCareService = '$pngBasePath/livecare_service.png';
diff --git a/lib/generated/locale_keys.g.dart b/lib/generated/locale_keys.g.dart
index 8063e4d9..b59c2465 100644
--- a/lib/generated/locale_keys.g.dart
+++ b/lib/generated/locale_keys.g.dart
@@ -2022,5 +2022,13 @@ abstract class LocaleKeys {
static const generalConsent14 = 'generalConsent14';
static const patientNameLbl = 'patientNameLbl';
static const copyLinkTxt = 'copyLinkTxt';
+ static const generalConsentSubtitle = 'generalConsentSubtitle';
+ static const generalInstructionSubtitle = 'generalInstructionSubtitle';
+ static const medicalInstructionsSubtitle = 'medicalInstructionsSubtitle';
+ static const mealPlanSubtitle = 'mealPlanSubtitle';
+ static const birthNotificationSubtitle = 'birthNotificationSubtitle';
+ static const advancePaymentSubtitle = 'advancePaymentSubtitle';
+ static const dischargeMedicationSubtitle = 'dischargeMedicationSubtitle';
+ static const patientRelationOfficeSubtitle = 'patientRelationOfficeSubtitle';
}
diff --git a/lib/presentation/inpatient_services/inpatient_services_homepage.dart b/lib/presentation/inpatient_services/inpatient_services_homepage.dart
index 4dbc9250..47b1b13a 100644
--- a/lib/presentation/inpatient_services/inpatient_services_homepage.dart
+++ b/lib/presentation/inpatient_services/inpatient_services_homepage.dart
@@ -42,9 +42,9 @@ class InpatientServicesHomepage extends StatelessWidget {
children: [
buildInpatientServicesCard(
iconBgColor: AppColors.primaryRedColor,
- icon: AppAssets.bloodSugarOnlyIcon,
+ icon: AppAssets.generalConsentIcon,
title: LocaleKeys.generalConsentTitle.tr(context: context),
- description: LocaleKeys.trackYourGlucoseLevels.tr(context: context),
+ description: LocaleKeys.generalConsentSubtitle.tr(context: context),
onTap: () {
Navigator.of(context).push(
CustomPageRoute(
@@ -55,10 +55,10 @@ class InpatientServicesHomepage extends StatelessWidget {
),
SizedBox(height: 16.h),
buildInpatientServicesCard(
- iconBgColor: AppColors.primaryRedColor,
- icon: AppAssets.bloodSugarOnlyIcon,
+ iconBgColor: AppColors.infoColor,
+ icon: AppAssets.generalInstructionsIcon,
title: LocaleKeys.generalInstructions.tr(context: context),
- description: LocaleKeys.trackYourGlucoseLevels.tr(context: context),
+ description: LocaleKeys.generalInstructionSubtitle.tr(context: context),
onTap: () {
inPatientServicesViewModel.getGeneralInstructions(
projectID: inPatientServicesViewModel.isAdmitted
@@ -73,10 +73,10 @@ class InpatientServicesHomepage extends StatelessWidget {
),
SizedBox(height: 16.h),
buildInpatientServicesCard(
- iconBgColor: AppColors.primaryRedColor,
- icon: AppAssets.bloodSugarOnlyIcon,
+ iconBgColor: AppColors.successColor,
+ icon: AppAssets.generalInstructionsIcon,
title: LocaleKeys.medicalInstructions.tr(context: context),
- description: LocaleKeys.trackYourGlucoseLevels.tr(context: context),
+ description: LocaleKeys.medicalInstructionsSubtitle.tr(context: context),
onTap: () {
inPatientServicesViewModel.getMedicalInstructions(
projectID: inPatientServicesViewModel.isAdmitted
@@ -91,26 +91,26 @@ class InpatientServicesHomepage extends StatelessWidget {
),
SizedBox(height: 16.h),
buildInpatientServicesCard(
- iconBgColor: AppColors.primaryRedColor,
- icon: AppAssets.bloodSugarOnlyIcon,
+ iconBgColor: AppColors.eReferralCardColor,
+ icon: AppAssets.mealPlanIcon,
title: LocaleKeys.mealPlanTitle.tr(context: context),
- description: LocaleKeys.trackYourGlucoseLevels.tr(context: context),
+ description: LocaleKeys.mealPlanSubtitle.tr(context: context),
onTap: () {},
),
SizedBox(height: 16.h),
buildInpatientServicesCard(
- iconBgColor: AppColors.primaryRedColor,
- icon: AppAssets.bloodSugarOnlyIcon,
+ iconBgColor: AppColors.bloodDonationCardColor,
+ icon: AppAssets.birthNotificationIcon,
title: LocaleKeys.birthNotificationTitle.tr(context: context),
- description: LocaleKeys.trackYourGlucoseLevels.tr(context: context),
+ description: LocaleKeys.birthNotificationSubtitle.tr(context: context),
onTap: () {},
),
SizedBox(height: 16.h),
buildInpatientServicesCard(
- iconBgColor: AppColors.primaryRedColor,
- icon: AppAssets.bloodSugarOnlyIcon,
+ iconBgColor: AppColors.infoColor,
+ icon: AppAssets.inpatientAdvancePaymentIcon,
title: LocaleKeys.advancePayment.tr(context: context),
- description: LocaleKeys.trackYourGlucoseLevels.tr(context: context),
+ description: LocaleKeys.advancePaymentSubtitle.tr(context: context),
onTap: () {
LoaderBottomSheet.showLoader();
inPatientServicesViewModel.getInPatientAdvancePaymentRequests(
@@ -153,10 +153,10 @@ class InpatientServicesHomepage extends StatelessWidget {
// ),
SizedBox(height: 16.h),
buildInpatientServicesCard(
- iconBgColor: AppColors.primaryRedColor,
- icon: AppAssets.bloodSugarOnlyIcon,
+ iconBgColor: AppColors.eReferralCardColor,
+ icon: AppAssets.dischargeMedicationIcon,
title: LocaleKeys.prescriptions.tr(context: context),
- description: LocaleKeys.trackYourGlucoseLevels.tr(context: context),
+ description: LocaleKeys.dischargeMedicationSubtitle.tr(context: context),
onTap: () {
inPatientServicesViewModel.isAdmitted
? inPatientServicesViewModel.checkDischargeMedications(
@@ -185,10 +185,10 @@ class InpatientServicesHomepage extends StatelessWidget {
),
SizedBox(height: 16.h),
buildInpatientServicesCard(
- iconBgColor: AppColors.primaryRedColor,
- icon: AppAssets.bloodSugarOnlyIcon,
+ iconBgColor: AppColors.bloodDonationCardColor,
+ icon: AppAssets.patientRelationOfficeIcon,
title: LocaleKeys.patientRelationOffice.tr(context: context),
- description: LocaleKeys.trackYourGlucoseLevels.tr(context: context),
+ description: LocaleKeys.patientRelationOfficeSubtitle.tr(context: context),
onTap: () {
if (DateTime.now().hour >= 7 && DateTime.now().hour <= 22) {
showCommonBottomSheetWithoutHeight(context,