|
|
|
|
@ -35,69 +35,36 @@ class ProfileGridForInPatient extends StatelessWidget {
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
final List<PatientProfileCardModel> cardsList = [
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).vital,
|
|
|
|
|
TranslationBase.of(context).signs,
|
|
|
|
|
VITAL_SIGN_DETAILS,
|
|
|
|
|
PatientProfileCardModel(TranslationBase.of(context).vital, TranslationBase.of(context).signs, VITAL_SIGN_DETAILS,
|
|
|
|
|
'patient/vital_signs.png',
|
|
|
|
|
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, 'patient/lab_results.png',
|
|
|
|
|
isInPatient: isInpatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).lab,
|
|
|
|
|
TranslationBase.of(context).specialResult,
|
|
|
|
|
ALL_SPECIAL_LAB_RESULT,
|
|
|
|
|
'patient/lab_results.png',
|
|
|
|
|
PatientProfileCardModel(TranslationBase.of(context).lab, TranslationBase.of(context).special,
|
|
|
|
|
ALL_SPECIAL_LAB_RESULT, 'patient/lab_results.png',
|
|
|
|
|
isInPatient: isInpatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).radiology,
|
|
|
|
|
TranslationBase.of(context).result,
|
|
|
|
|
RADIOLOGY_PATIENT,
|
|
|
|
|
'patient/health_summary.png',
|
|
|
|
|
PatientProfileCardModel(TranslationBase.of(context).radiology, TranslationBase.of(context).result,
|
|
|
|
|
RADIOLOGY_PATIENT, 'patient/health_summary.png',
|
|
|
|
|
isInPatient: isInpatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).patient,
|
|
|
|
|
TranslationBase.of(context).prescription,
|
|
|
|
|
ORDER_PRESCRIPTION_NEW,
|
|
|
|
|
'patient/order_prescription.png',
|
|
|
|
|
PatientProfileCardModel(TranslationBase.of(context).patient, TranslationBase.of(context).prescription,
|
|
|
|
|
ORDER_PRESCRIPTION_NEW, 'patient/order_prescription.png',
|
|
|
|
|
isInPatient: isInpatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).progress,
|
|
|
|
|
TranslationBase.of(context).note,
|
|
|
|
|
PROGRESS_NOTE,
|
|
|
|
|
PatientProfileCardModel(TranslationBase.of(context).progress, TranslationBase.of(context).note, PROGRESS_NOTE,
|
|
|
|
|
'patient/Progress_notes.png',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
isDischargedPatient: isDischargedPatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).order,
|
|
|
|
|
TranslationBase.of(context).sheet,
|
|
|
|
|
ORDER_NOTE,
|
|
|
|
|
isInPatient: isInpatient, isDischargedPatient: isDischargedPatient),
|
|
|
|
|
PatientProfileCardModel(TranslationBase.of(context).order, TranslationBase.of(context).sheet, ORDER_NOTE,
|
|
|
|
|
'patient/Progress_notes.png',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
isDischargedPatient: isDischargedPatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).orders,
|
|
|
|
|
TranslationBase.of(context).procedures,
|
|
|
|
|
ORDER_PROCEDURE,
|
|
|
|
|
'patient/Order_Procedures.png',
|
|
|
|
|
isInPatient: isInpatient, isDischargedPatient: isDischargedPatient),
|
|
|
|
|
PatientProfileCardModel(TranslationBase.of(context).orders, TranslationBase.of(context).procedures,
|
|
|
|
|
ORDER_PROCEDURE, 'patient/Order_Procedures.png',
|
|
|
|
|
isInPatient: isInpatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).health,
|
|
|
|
|
TranslationBase.of(context).summary,
|
|
|
|
|
HEALTH_SUMMARY,
|
|
|
|
|
PatientProfileCardModel(TranslationBase.of(context).health, TranslationBase.of(context).summary, HEALTH_SUMMARY,
|
|
|
|
|
'patient/health_summary.png',
|
|
|
|
|
isInPatient: isInpatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).medical,
|
|
|
|
|
TranslationBase.of(context).report,
|
|
|
|
|
PATIENT_MEDICAL_REPORT,
|
|
|
|
|
'patient/health_summary.png',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
isDisable: false),
|
|
|
|
|
PatientProfileCardModel(TranslationBase.of(context).medical, TranslationBase.of(context).report,
|
|
|
|
|
PATIENT_MEDICAL_REPORT, 'patient/health_summary.png',
|
|
|
|
|
isInPatient: isInpatient, isDisable: false),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).referral,
|
|
|
|
|
TranslationBase.of(context).patient,
|
|
|
|
|
@ -106,19 +73,12 @@ class ProfileGridForInPatient extends StatelessWidget {
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
isDisable: isDischargedPatient || isFromSearch,
|
|
|
|
|
),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).insurance,
|
|
|
|
|
TranslationBase.of(context).approvals,
|
|
|
|
|
PATIENT_INSURANCE_APPROVALS_NEW,
|
|
|
|
|
'patient/vital_signs.png',
|
|
|
|
|
PatientProfileCardModel(TranslationBase.of(context).insurance, TranslationBase.of(context).approvals,
|
|
|
|
|
PATIENT_INSURANCE_APPROVALS_NEW, 'patient/vital_signs.png',
|
|
|
|
|
isInPatient: isInpatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).discharge,
|
|
|
|
|
TranslationBase.of(context).report,
|
|
|
|
|
null,
|
|
|
|
|
PatientProfileCardModel(TranslationBase.of(context).discharge, TranslationBase.of(context).report, null,
|
|
|
|
|
'patient/patient_sick_leave.png',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
isDisable: true),
|
|
|
|
|
isInPatient: isInpatient, isDisable: true),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).patientSick,
|
|
|
|
|
TranslationBase.of(context).leave,
|
|
|
|
|
|