first step from patient profile

merge-requests/922/head
Elham Rababh 4 years ago
parent 98bc33042f
commit fc126caddf

@ -61,7 +61,7 @@ class _EndCallScreenState extends State<EndCallScreen> {
Widget build(BuildContext context) {
final List<PatientProfileCardModel> cardsList = [
PatientProfileCardModel(TranslationBase.of(context).resume,
TranslationBase.of(context).theCall, '', 'patient/vital_signs.png',
TranslationBase.of(context).theCall, '', 'assets/images/svgs/profile_screen/vital signs.svg',
isInPatient: isInpatient,
color: AppGlobal.appGreenColor,
onTap: () async {
@ -122,7 +122,7 @@ class _EndCallScreenState extends State<EndCallScreen> {
TranslationBase.of(context).endLC,
TranslationBase.of(context).consultation,
'',
'patient/vital_signs.png',
'assets/images/svgs/profile_screen/vital signs.svg',
isInPatient: isInpatient,
color: Colors.red[800],
onTap: () {
@ -155,7 +155,7 @@ class _EndCallScreenState extends State<EndCallScreen> {
TranslationBase.of(context).sendLC,
TranslationBase.of(context).instruction,
"",
'patient/health_summary.png',
'assets/images/svgs/profile_screen/health summary.svg',
onTap: () {
Helpers.showConfirmationDialog(context,
"${TranslationBase.of(context).areYouSureYouWantTo} ${TranslationBase.of(context).sendLC} ${TranslationBase.of(context).instruction} ?",
@ -179,7 +179,7 @@ class _EndCallScreenState extends State<EndCallScreen> {
TranslationBase.of(context).transferTo,
TranslationBase.of(context).admin,
'',
'patient/health_summary.png', onTap: () {
'assets/images/svgs/profile_screen/health summary.svg', onTap: () {
Navigator.push(
context,
MaterialPageRoute(

@ -22,6 +22,7 @@ import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart';
import 'package:doctor_app_flutter/widgets/shared/buttons/app_buttons_widget.dart';
import 'package:doctor_app_flutter/widgets/shared/loader/gif_loader_dialog_utils.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:hexcolor/hexcolor.dart';
import 'package:quiver/async.dart';
@ -251,8 +252,8 @@ class _PatientProfileScreenState extends State<PatientProfileScreen>
hPadding: 20,
fontWeight: FontWeight.normal,
fontSize: 1.6,
icon: Image.asset(
"assets/images/create-episod.png",
icon: SvgPicture.asset(
"assets/images/svgs/profile_screen/create episode.svg",
color: Colors.white,
height: 30,
),
@ -283,8 +284,8 @@ class _PatientProfileScreenState extends State<PatientProfileScreen>
hPadding: 20,
fontWeight: FontWeight.normal,
fontSize: 1.6,
icon: Image.asset(
"assets/images/modilfy-episode.png",
icon: SvgPicture.asset(
"assets/images/svgs/profile_screen/modify episode.svg",
color: Colors.white,
height: 30,
),

@ -39,70 +39,70 @@ class ProfileGridForInPatient extends StatelessWidget {
TranslationBase.of(context).vital,
TranslationBase.of(context).signs,
VITAL_SIGN_DETAILS,
'patient/vital_signs.png',
'assets/images/svgs/profile_screen/vital signs.svg',
isInPatient: isInpatient),
PatientProfileCardModel(
TranslationBase.of(context).lab,
TranslationBase.of(context).result,
LAB_RESULT,
'patient/lab_results.png',
'assets/images/svgs/profile_screen/lab results.svg',
isInPatient: isInpatient),
PatientProfileCardModel(
TranslationBase.of(context).lab,
TranslationBase.of(context).special,
ALL_SPECIAL_LAB_RESULT,
'patient/lab_results.png',
'assets/images/svgs/profile_screen/lab results.svg',
isInPatient: isInpatient),
PatientProfileCardModel(
TranslationBase.of(context).radiology,
TranslationBase.of(context).result,
RADIOLOGY_PATIENT,
'patient/health_summary.png',
'assets/images/svgs/profile_screen/Radiology.svg',
isInPatient: isInpatient),
PatientProfileCardModel(
TranslationBase.of(context).patient,
TranslationBase.of(context).prescription,
ORDER_PRESCRIPTION_NEW,
'patient/order_prescription.png',
'assets/images/svgs/profile_screen/order prescription.svg',
isInPatient: isInpatient),
PatientProfileCardModel(
TranslationBase.of(context).progress,
TranslationBase.of(context).note,
PROGRESS_NOTE,
'patient/Progress_notes.png',
'assets/images/svgs/profile_screen/Progress notes.svg',
isInPatient: isInpatient,
isDischargedPatient: isDischargedPatient),
PatientProfileCardModel(
TranslationBase.of(context).order,
TranslationBase.of(context).sheet,
ORDER_NOTE,
'patient/Progress_notes.png',
'assets/images/svgs/profile_screen/Progress notes.svg',
isInPatient: isInpatient,
isDischargedPatient: isDischargedPatient),
PatientProfileCardModel(
TranslationBase.of(context).orders,
TranslationBase.of(context).procedures,
ORDER_PROCEDURE,
'patient/Order_Procedures.png',
'assets/images/svgs/profile_screen/Order Procedures.svg',
isInPatient: isInpatient),
PatientProfileCardModel(
TranslationBase.of(context).health,
TranslationBase.of(context).summary,
HEALTH_SUMMARY,
'patient/health_summary.png',
'assets/images/svgs/profile_screen/health summary.svg',
isInPatient: isInpatient),
PatientProfileCardModel(
TranslationBase.of(context).medical,
TranslationBase.of(context).report,
PATIENT_MEDICAL_REPORT,
'patient/health_summary.png',
'assets/images/svgs/profile_screen/medical report.svg',
isInPatient: isInpatient,
isDisable: false),
PatientProfileCardModel(
TranslationBase.of(context).referral,
TranslationBase.of(context).patient,
REFER_IN_PATIENT_TO_DOCTOR,
'patient/refer_patient.png',
'assets/images/svgs/profile_screen/refer patient.svg',
isInPatient: isInpatient,
isDisable: isDischargedPatient || isFromSearch,
),
@ -110,62 +110,62 @@ class ProfileGridForInPatient extends StatelessWidget {
TranslationBase.of(context).insurance,
TranslationBase.of(context).approvals,
PATIENT_INSURANCE_APPROVALS_NEW,
'patient/vital_signs.png',
'assets/images/svgs/profile_screen/insurance approval.svg',
isInPatient: isInpatient),
PatientProfileCardModel(
TranslationBase.of(context).discharge,
TranslationBase.of(context).report,
DISCHARGE_SUMMARY,
'patient/patient_sick_leave.png',
'assets/images/svgs/profile_screen/discharge summary.svg',
isInPatient: isInpatient,
),
PatientProfileCardModel(
TranslationBase.of(context).patientSick,
TranslationBase.of(context).leave,
ADD_SICKLEAVE,
'patient/patient_sick_leave.png',
'assets/images/svgs/profile_screen/patient sick leave.svg',
isInPatient: isInpatient,
),
PatientProfileCardModel(
TranslationBase.of(context).operation,
TranslationBase.of(context).report,
GET_OPERATION_REPORT,
'patient/patient_sick_leave.png',
'assets/images/svgs/profile_screen/patient sick leave.svg',
isInPatient: isInpatient,
),
PatientProfileCardModel(
TranslationBase.of(context).pending,
TranslationBase.of(context).orders,
PENDING_ORDERS,
'patient/patient_sick_leave.png',
'assets/images/svgs/profile_screen/patient sick leave.svg',
isInPatient: isInpatient,
),
PatientProfileCardModel(
TranslationBase.of(context).admission,
TranslationBase.of(context).orders,
ADMISSION_ORDERS,
'patient/Progress_notes.png',
'assets/images/svgs/profile_screen/admission req.svg',
isInPatient: isInpatient,
),
PatientProfileCardModel(
"Nursing",
TranslationBase.of(context).progressNote,
NURSING_PROGRESS_NOTE,
'patient/Progress_notes.png',
'assets/images/svgs/profile_screen/Progress notes.svg',
isInPatient: isInpatient,
),
PatientProfileCardModel(
TranslationBase.of(context).diagnosis,
"",
DIAGNOSIS_FOR_IN_PATIENT,
'patient/patient_sick_leave.png',
'assets/images/svgs/profile_screen/patient sick leave.svg',
isInPatient: isInpatient,
),
PatientProfileCardModel(
TranslationBase.of(context).diabetic,
TranslationBase.of(context).chart,
DIABETIC_CHART_VALUES,
'patient/patient_sick_leave.png',
'assets/images/svgs/profile_screen/diabetic chart.svg',
isInPatient: isInpatient,
),
];

@ -34,37 +34,37 @@ class ProfileGridForOther extends StatelessWidget {
Widget build(BuildContext context) {
final List<PatientProfileCardModel> cardsList = [
PatientProfileCardModel(TranslationBase.of(context).vital, TranslationBase.of(context).signs, VITAL_SIGN_DETAILS,
'patient/vital_signs.png',
'assets/images/svgs/profile_screen/vital signs.svg',
isInPatient: isInpatient),
PatientProfileCardModel(
TranslationBase.of(context).lab, TranslationBase.of(context).result, LAB_RESULT, 'patient/lab_results.png',
TranslationBase.of(context).lab, TranslationBase.of(context).result, LAB_RESULT, 'assets/images/svgs/profile_screen/lab results.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).lab, TranslationBase.of(context).special,
ALL_SPECIAL_LAB_RESULT, 'patient/lab_results.png',
ALL_SPECIAL_LAB_RESULT, 'assets/images/svgs/profile_screen/lab results.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).radiology, TranslationBase.of(context).service,
RADIOLOGY_PATIENT, 'patient/health_summary.png',
RADIOLOGY_PATIENT, 'assets/images/svgs/profile_screen/health summary.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).orders, TranslationBase.of(context).prescription,
ORDER_PRESCRIPTION_NEW, 'patient/order_prescription.png',
ORDER_PRESCRIPTION_NEW, 'assets/images/svgs/profile_screen/order prescription.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).health, TranslationBase.of(context).summary, HEALTH_SUMMARY,
'patient/health_summary.png',
'assets/images/svgs/profile_screen/health summary.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).patient, "ECG", PATIENT_ECG, 'patient/patient_sick_leave.png',
PatientProfileCardModel(TranslationBase.of(context).patient, "ECG", PATIENT_ECG, 'assets/images/svgs/profile_screen/ECG.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).orders, TranslationBase.of(context).procedures,
ORDER_PROCEDURE, 'patient/Order_Procedures.png',
ORDER_PROCEDURE, 'assets/images/svgs/profile_screen/Order Procedures.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).insurance, TranslationBase.of(context).service,
PATIENT_INSURANCE_APPROVALS_NEW, 'patient/vital_signs.png',
PATIENT_INSURANCE_APPROVALS_NEW, 'assets/images/svgs/profile_screen/insurance approval.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).patientSick, TranslationBase.of(context).leave, ADD_SICKLEAVE,
'patient/patient_sick_leave.png',
'assets/images/svgs/profile_screen/patient sick leave.svg',
isInPatient: isInpatient),
if (isFromLiveCare || (patient.appointmentNo != null && patient.appointmentNo != 0))
PatientProfileCardModel(TranslationBase.of(context).patient, TranslationBase.of(context).ucaf,
PATIENT_UCAF_REQUEST, 'patient/ucaf.png',
PATIENT_UCAF_REQUEST, 'assets/images/svgs/profile_screen/UCAF.svg',
isInPatient: isInpatient,
isDisable: isFromLiveCare
? patient.appointmentNo == null

@ -24,33 +24,33 @@ class ProfileGridForSearch extends StatelessWidget {
Widget build(BuildContext context) {
final List<PatientProfileCardModel> cardsList = [
PatientProfileCardModel(TranslationBase.of(context).vital, TranslationBase.of(context).signs, VITAL_SIGN_DETAILS,
'patient/vital_signs.png',
'assets/images/svgs/profile_screen/vital signs.svg',
isInPatient: isInpatient),
PatientProfileCardModel(
TranslationBase.of(context).lab, TranslationBase.of(context).result, LAB_RESULT, 'patient/lab_results.png',
TranslationBase.of(context).lab, TranslationBase.of(context).result, LAB_RESULT, 'assets/images/svgs/profile_screen/lab results.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).lab, TranslationBase.of(context).special,
ALL_SPECIAL_LAB_RESULT, 'patient/lab_results.png',
ALL_SPECIAL_LAB_RESULT, 'assets/images/svgs/profile_screen/lab results.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).radiology, TranslationBase.of(context).service,
RADIOLOGY_PATIENT, 'patient/health_summary.png',
RADIOLOGY_PATIENT, 'assets/images/svgs/profile_screen/health summary.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).orders, TranslationBase.of(context).prescription,
ORDER_PRESCRIPTION_NEW, 'patient/order_prescription.png',
ORDER_PRESCRIPTION_NEW, 'assets/images/svgs/profile_screen/order prescription.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).health, TranslationBase.of(context).summary, HEALTH_SUMMARY,
'patient/health_summary.png',
'assets/images/svgs/profile_screen/health summary.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).patient, "ECG", PATIENT_ECG, 'patient/patient_sick_leave.png',
PatientProfileCardModel(TranslationBase.of(context).patient, "ECG", PATIENT_ECG, 'assets/images/svgs/profile_screen/ECG.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).orders, TranslationBase.of(context).procedures,
ORDER_PROCEDURE, 'patient/Order_Procedures.png',
ORDER_PROCEDURE, 'assets/images/svgs/profile_screen/Order Procedures.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).insurance, TranslationBase.of(context).service,
PATIENT_INSURANCE_APPROVALS_NEW, 'patient/vital_signs.png',
PATIENT_INSURANCE_APPROVALS_NEW, 'assets/images/svgs/profile_screen/vital signs.svg',
isInPatient: isInpatient),
PatientProfileCardModel(TranslationBase.of(context).patientSick, TranslationBase.of(context).leave, ADD_SICKLEAVE,
'patient/patient_sick_leave.png',
'assets/images/svgs/profile_screen/patient sick leave.svg',
isInPatient: isInpatient),
if (patient.appointmentNo != null && patient.appointmentNo != 0)
PatientProfileCardModel(TranslationBase.of(context).patient, TranslationBase.of(context).ucaf,

@ -5,6 +5,7 @@ import 'package:doctor_app_flutter/util/date-utils.dart';
import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart';
import 'package:doctor_app_flutter/widgets/shared/dr_app_circular_progress_Indeicator.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:provider/provider.dart';
// ignore: must_be_immutable
@ -81,11 +82,10 @@ class PatientProfileButton extends StatelessWidget {
size: 30,
color: color ?? Color(0xFF333C45),
)
: new Image.asset(
url + icon,
: new SvgPicture.asset(
icon,
width: 30,
height: 30,
fit: BoxFit.contain,
),
)
],

@ -40,7 +40,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
nameLine1: TranslationBase.of(context).vital,
nameLine2: TranslationBase.of(context).signs,
route: VITAL_SIGN_DETAILS,
icon: 'patient/vital_signs.png'),
icon: 'assets/images/svgs/profile_screen/vital signs.svg'),
// if (selectedPatientType != 7)
PatientProfileButton(
key: key,
@ -50,7 +50,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
route: HEALTH_SUMMARY,
nameLine1: "Health", //TranslationBase.of(context).medicalReport,
nameLine2: "Summary", //TranslationBase.of(context).summaryReport,
icon: 'patient/health_summary.png'),
icon: 'assets/images/svgs/profile_screen/health summary.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -59,7 +59,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
route: LAB_RESULT,
nameLine1: TranslationBase.of(context).lab,
nameLine2: TranslationBase.of(context).result,
icon: 'patient/lab_results.png'),
icon: 'assets/images/svgs/profile_screen/lab results.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -68,7 +68,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
route: ALL_SPECIAL_LAB_RESULT,
nameLine1: TranslationBase.of(context).lab,
nameLine2: TranslationBase.of(context).special,
icon: 'patient/lab_results.png'),
icon: 'assets/images/svgs/profile_screen/lab results.svg'),
// if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
PatientProfileButton(
key: key,
@ -79,7 +79,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
route: RADIOLOGY_PATIENT,
nameLine1: TranslationBase.of(context).radiology,
nameLine2: TranslationBase.of(context).service,
icon: 'patient/health_summary.png'),
icon: 'assets/images/svgs/profile_screen/health summary.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -88,7 +88,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
route: PATIENT_ECG,
nameLine1: TranslationBase.of(context).patient,
nameLine2: "ECG",
icon: 'patient/patient_sick_leave.png'),
icon: 'assets/images/svgs/profile_screen/ECG.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -97,7 +97,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
route: ORDER_PRESCRIPTION_NEW,
nameLine1: TranslationBase.of(context).orders,
nameLine2: TranslationBase.of(context).prescription,
icon: 'patient/order_prescription.png'),
icon: 'assets/images/svgs/profile_screen/order prescription.svg'),
// if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
PatientProfileButton(
key: key,
@ -107,7 +107,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
route: ORDER_PROCEDURE,
nameLine1: TranslationBase.of(context).orders,
nameLine2: TranslationBase.of(context).procedures,
icon: 'patient/Order_Procedures.png'),
icon: 'assets/images/svgs/profile_screen/Order Procedures.svg'),
//if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
PatientProfileButton(
key: key,
@ -117,7 +117,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
route: PATIENT_INSURANCE_APPROVALS_NEW,
nameLine1: TranslationBase.of(context).insurance,
nameLine2: TranslationBase.of(context).service,
icon: 'patient/vital_signs.png'),
icon: 'assets/images/svgs/profile_screen/insurance approval.svg'),
// if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
PatientProfileButton(
key: key,
@ -127,7 +127,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
route: ADD_SICKLEAVE,
nameLine1: TranslationBase.of(context).patientSick,
nameLine2: TranslationBase.of(context).leave,
icon: 'patient/patient_sick_leave.png'),
icon: 'assets/images/svgs/profile_screen/patient sick leave.svg'),
if (patient.appointmentNo != null && patient.appointmentNo != 0)
PatientProfileButton(
key: key,
@ -170,7 +170,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
route: PROGRESS_NOTE,
nameLine1: TranslationBase.of(context).progress,
nameLine2: TranslationBase.of(context).note,
icon: 'patient/Progress_notes.png'),
icon: 'assets/images/svgs/profile_screen/Progress notes.svg'),
if (isInpatient)
PatientProfileButton(
key: key,
@ -180,7 +180,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
route: ORDER_NOTE,
nameLine1: "Order", //"Text",
nameLine2: "Sheet",
icon: 'patient/Progress_notes.png'),
icon: 'assets/images/svgs/profile_screen/Progress notes.svg'),
],
),
);

@ -49,7 +49,7 @@ class ProfileMedicalInfoWidgetInPatient extends StatelessWidget {
nameLine2: TranslationBase.of(context).signs,
route: VITAL_SIGN_DETAILS,
isInPatient: true,
icon: 'patient/vital_signs.png'),
icon: 'assets/images/svgs/profile_screen/vital signs.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -59,7 +59,7 @@ class ProfileMedicalInfoWidgetInPatient extends StatelessWidget {
isInPatient: true,
nameLine1: TranslationBase.of(context).lab,
nameLine2: TranslationBase.of(context).result,
icon: 'patient/lab_results.png'),
icon: 'assets/images/svgs/profile_screen/lab results.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -69,7 +69,7 @@ class ProfileMedicalInfoWidgetInPatient extends StatelessWidget {
route: RADIOLOGY_PATIENT,
nameLine1: TranslationBase.of(context).radiology,
nameLine2: TranslationBase.of(context).result,
icon: 'patient/health_summary.png'),
icon: 'assets/images/svgs/profile_screen/health summary.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -78,7 +78,7 @@ class ProfileMedicalInfoWidgetInPatient extends StatelessWidget {
route: ORDER_PRESCRIPTION_NEW,
nameLine1: TranslationBase.of(context).patient,
nameLine2: TranslationBase.of(context).prescription,
icon: 'patient/order_prescription.png'),
icon: 'assets/images/svgs/profile_screen/order prescription.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -88,7 +88,7 @@ class ProfileMedicalInfoWidgetInPatient extends StatelessWidget {
isDischargedPatient: isDischargedPatient,
nameLine1: TranslationBase.of(context).progress,
nameLine2: TranslationBase.of(context).note,
icon: 'patient/Progress_notes.png'),
icon: 'assets/images/svgs/profile_screen/Progress notes.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -98,7 +98,7 @@ class ProfileMedicalInfoWidgetInPatient extends StatelessWidget {
isDischargedPatient: isDischargedPatient,
nameLine1: "Order", //"Text",
nameLine2: "Sheet", //TranslationBase.of(context).orders,
icon: 'patient/Progress_notes.png'),
icon: 'assets/images/svgs/profile_screen/Progress notes.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -107,7 +107,7 @@ class ProfileMedicalInfoWidgetInPatient extends StatelessWidget {
route: ORDER_PROCEDURE,
nameLine1: TranslationBase.of(context).orders,
nameLine2: TranslationBase.of(context).procedures,
icon: 'patient/Order_Procedures.png'),
icon: 'assets/images/svgs/profile_screen/Order Procedures.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -118,7 +118,7 @@ class ProfileMedicalInfoWidgetInPatient extends StatelessWidget {
//TranslationBase.of(context).medicalReport,
nameLine2: "Summary",
//TranslationBase.of(context).summaryReport,
icon: 'patient/health_summary.png'),
icon: 'assets/images/svgs/profile_screen/health summary.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -130,7 +130,7 @@ class ProfileMedicalInfoWidgetInPatient extends StatelessWidget {
//TranslationBase.of(context).medicalReport,
nameLine2: "Report", //Report
//TranslationBase.of(context).summaryReport,
icon: 'patient/health_summary.png'),
icon: 'assets/images/svgs/profile_screen/health summary.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -149,7 +149,7 @@ class ProfileMedicalInfoWidgetInPatient extends StatelessWidget {
route: PATIENT_INSURANCE_APPROVALS_NEW,
nameLine1: TranslationBase.of(context).insurance,
nameLine2: TranslationBase.of(context).approvals,
icon: 'patient/vital_signs.png'),
icon: 'assets/images/svgs/profile_screen/insurance approval.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -159,7 +159,7 @@ class ProfileMedicalInfoWidgetInPatient extends StatelessWidget {
route: null,
nameLine1: "Discharge",
nameLine2: "Summery",
icon: 'patient/patient_sick_leave.png'),
icon: 'assets/images/svgs/profile_screen/patient sick leave.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -168,7 +168,7 @@ class ProfileMedicalInfoWidgetInPatient extends StatelessWidget {
route: ADD_SICKLEAVE,
nameLine1: TranslationBase.of(context).patientSick,
nameLine2: TranslationBase.of(context).leave,
icon: 'patient/patient_sick_leave.png'),
icon: 'assets/images/svgs/profile_screen/patient sick leave.svg'),
],
),
);

@ -64,7 +64,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
nameLine1: TranslationBase.of(context).vital,
nameLine2: TranslationBase.of(context).signs,
route: VITAL_SIGN_DETAILS,
icon: 'patient/vital_signs.png'),
icon: 'assets/images/svgs/profile_screen/vital signs.svg'),
// if (selectedPatientType != 7)
PatientProfileButton(
key: key,
@ -76,7 +76,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
"Health", //TranslationBase.of(context).medicalReport,
nameLine2:
"Summary", //TranslationBase.of(context).summaryReport,
icon: 'patient/health_summary.png'),
icon: 'assets/images/svgs/profile_screen/health summary.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -85,7 +85,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
route: LAB_RESULT,
nameLine1: TranslationBase.of(context).lab,
nameLine2: TranslationBase.of(context).result,
icon: 'patient/lab_results.png'),
icon: 'assets/images/svgs/profile_screen/lab results.svg'),
// if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
PatientProfileButton(
key: key,
@ -96,7 +96,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
route: RADIOLOGY_PATIENT,
nameLine1: TranslationBase.of(context).radiology,
nameLine2: TranslationBase.of(context).service,
icon: 'patient/health_summary.png'),
icon: 'assets/images/svgs/profile_screen/health summary.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -105,7 +105,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
route: PATIENT_ECG,
nameLine1: TranslationBase.of(context).patient,
nameLine2: "ECG",
icon: 'patient/patient_sick_leave.png'),
icon: 'assets/images/svgs/profile_screen/ECG.svg'),
PatientProfileButton(
key: key,
patient: patient,
@ -114,7 +114,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
route: ORDER_PRESCRIPTION_NEW,
nameLine1: TranslationBase.of(context).orders,
nameLine2: TranslationBase.of(context).prescription,
icon: 'patient/order_prescription.png'),
icon: 'assets/images/svgs/profile_screen/order prescription.svg'),
// if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
PatientProfileButton(
key: key,
@ -124,7 +124,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
route: ORDER_PROCEDURE,
nameLine1: TranslationBase.of(context).orders,
nameLine2: TranslationBase.of(context).procedures,
icon: 'patient/Order_Procedures.png'),
icon: 'assets/images/svgs/profile_screen/Order Procedures.svg'),
//if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
PatientProfileButton(
key: key,
@ -134,7 +134,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
route: PATIENT_INSURANCE_APPROVALS_NEW,
nameLine1: TranslationBase.of(context).insurance,
nameLine2: TranslationBase.of(context).service,
icon: 'patient/vital_signs.png'),
icon: 'assets/images/svgs/profile_screen/insurance approval.svg'),
// if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
PatientProfileButton(
key: key,
@ -144,7 +144,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
route: ADD_SICKLEAVE,
nameLine1: TranslationBase.of(context).patientSick,
nameLine2: TranslationBase.of(context).leave,
icon: 'patient/patient_sick_leave.png'),
icon: 'assets/images/svgs/profile_screen/patient sick leave.svg'),
if (patient.appointmentNo != null &&
patient.appointmentNo != 0)
PatientProfileButton(
@ -193,7 +193,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
route: PROGRESS_NOTE,
nameLine1: TranslationBase.of(context).progress,
nameLine2: TranslationBase.of(context).note,
icon: 'patient/Progress_notes.png'),
icon: 'assets/images/svgs/profile_screen/Progress notes.svg'),
if (isInpatient)
PatientProfileButton(
key: key,
@ -203,7 +203,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
route: ORDER_NOTE,
nameLine1: "Order", //"Text",
nameLine2: "Sheet",
icon: 'patient/Progress_notes.png'),
icon: 'assets/images/svgs/profile_screen/Progress notes.svg'),
],
),
),

Loading…
Cancel
Save