|
|
@ -17,13 +17,19 @@ import '../../../config/size_config.dart';
|
|
|
|
import '../../shared/app_texts_widget.dart';
|
|
|
|
import '../../shared/app_texts_widget.dart';
|
|
|
|
|
|
|
|
|
|
|
|
class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
String from;
|
|
|
|
final String from;
|
|
|
|
String to;
|
|
|
|
final String to;
|
|
|
|
PatiantInformtion patient;
|
|
|
|
final PatiantInformtion patient;
|
|
|
|
String patientType;
|
|
|
|
final String patientType;
|
|
|
|
|
|
|
|
final String arrivalType;
|
|
|
|
|
|
|
|
|
|
|
|
ProfileMedicalInfoWidget(
|
|
|
|
ProfileMedicalInfoWidget(
|
|
|
|
{Key key, this.patient, this.patientType, this.from, this.to});
|
|
|
|
{Key key,
|
|
|
|
|
|
|
|
this.patient,
|
|
|
|
|
|
|
|
this.patientType,
|
|
|
|
|
|
|
|
this.arrivalType,
|
|
|
|
|
|
|
|
this.from,
|
|
|
|
|
|
|
|
this.to});
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
@ -69,6 +75,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
from: from,
|
|
|
|
from: from,
|
|
|
|
to: to,
|
|
|
|
to: to,
|
|
|
|
nameLine1: TranslationBase.of(context).vital,
|
|
|
|
nameLine1: TranslationBase.of(context).vital,
|
|
|
@ -79,6 +87,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
route: LAB_RESULT,
|
|
|
|
route: LAB_RESULT,
|
|
|
|
nameLine1: TranslationBase.of(context).lab,
|
|
|
|
nameLine1: TranslationBase.of(context).lab,
|
|
|
|
nameLine2: TranslationBase.of(context).result,
|
|
|
|
nameLine2: TranslationBase.of(context).result,
|
|
|
@ -86,6 +96,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
route: MEDICAL_FILE,
|
|
|
|
route: MEDICAL_FILE,
|
|
|
|
nameLine1: TranslationBase.of(context).previewHealth,
|
|
|
|
nameLine1: TranslationBase.of(context).previewHealth,
|
|
|
|
nameLine2: TranslationBase.of(context).summaryReport,
|
|
|
|
nameLine2: TranslationBase.of(context).summaryReport,
|
|
|
@ -96,6 +108,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
route: PROGRESS_NOTE,
|
|
|
|
route: PROGRESS_NOTE,
|
|
|
|
nameLine1: TranslationBase.of(context).progress,
|
|
|
|
nameLine1: TranslationBase.of(context).progress,
|
|
|
|
nameLine2: TranslationBase.of(context).note,
|
|
|
|
nameLine2: TranslationBase.of(context).note,
|
|
|
@ -104,6 +118,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
route: PATIENT_INSURANCE_APPROVALS_NEW,
|
|
|
|
route: PATIENT_INSURANCE_APPROVALS_NEW,
|
|
|
|
nameLine1: TranslationBase.of(context).admission,
|
|
|
|
nameLine1: TranslationBase.of(context).admission,
|
|
|
|
nameLine2: TranslationBase.of(context).request,
|
|
|
|
nameLine2: TranslationBase.of(context).request,
|
|
|
@ -112,6 +128,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
? PatientProfileButton(
|
|
|
|
? PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
route: ORDER_PRESCRIPTION,
|
|
|
|
route: ORDER_PRESCRIPTION,
|
|
|
|
nameLine1: TranslationBase.of(context).orders,
|
|
|
|
nameLine1: TranslationBase.of(context).orders,
|
|
|
|
nameLine2: TranslationBase.of(context).prescription,
|
|
|
|
nameLine2: TranslationBase.of(context).prescription,
|
|
|
@ -119,6 +137,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
: PatientProfileButton(
|
|
|
|
: PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
route: ORDER_PRESCRIPTION_HISTORY,
|
|
|
|
route: ORDER_PRESCRIPTION_HISTORY,
|
|
|
|
nameLine1: TranslationBase.of(context).orders,
|
|
|
|
nameLine1: TranslationBase.of(context).orders,
|
|
|
|
nameLine2: TranslationBase.of(context).prescription,
|
|
|
|
nameLine2: TranslationBase.of(context).prescription,
|
|
|
@ -126,6 +146,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
route: ORDER_PRESCRIPTION_NEW,
|
|
|
|
route: ORDER_PRESCRIPTION_NEW,
|
|
|
|
nameLine1: TranslationBase.of(context).orders,
|
|
|
|
nameLine1: TranslationBase.of(context).orders,
|
|
|
|
nameLine2: TranslationBase.of(context).prescription,
|
|
|
|
nameLine2: TranslationBase.of(context).prescription,
|
|
|
@ -134,6 +156,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
route: ORDER_PROCEDURE,
|
|
|
|
route: ORDER_PROCEDURE,
|
|
|
|
nameLine1: TranslationBase.of(context).orders,
|
|
|
|
nameLine1: TranslationBase.of(context).orders,
|
|
|
|
nameLine2: TranslationBase.of(context).procedures,
|
|
|
|
nameLine2: TranslationBase.of(context).procedures,
|
|
|
@ -142,6 +166,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
route: REFER_PATIENT_TO_DOCTOR,
|
|
|
|
route: REFER_PATIENT_TO_DOCTOR,
|
|
|
|
nameLine1: TranslationBase.of(context).myReferral,
|
|
|
|
nameLine1: TranslationBase.of(context).myReferral,
|
|
|
|
nameLine2: TranslationBase.of(context).patient,
|
|
|
|
nameLine2: TranslationBase.of(context).patient,
|
|
|
@ -150,6 +176,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
route: ADD_SICKLEAVE,
|
|
|
|
route: ADD_SICKLEAVE,
|
|
|
|
nameLine1: TranslationBase.of(context).patientSick,
|
|
|
|
nameLine1: TranslationBase.of(context).patientSick,
|
|
|
|
nameLine2: TranslationBase.of(context).leave,
|
|
|
|
nameLine2: TranslationBase.of(context).leave,
|
|
|
@ -158,6 +186,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
route: PATIENT_UCAF_REQUEST,
|
|
|
|
route: PATIENT_UCAF_REQUEST,
|
|
|
|
nameLine1: TranslationBase.of(context).patient,
|
|
|
|
nameLine1: TranslationBase.of(context).patient,
|
|
|
|
nameLine2: TranslationBase.of(context).ucaf,
|
|
|
|
nameLine2: TranslationBase.of(context).ucaf,
|
|
|
@ -166,6 +196,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
route: RADIOLOGY_PATIENT,
|
|
|
|
route: RADIOLOGY_PATIENT,
|
|
|
|
nameLine1: TranslationBase.of(context).radiology,
|
|
|
|
nameLine1: TranslationBase.of(context).radiology,
|
|
|
|
nameLine2: TranslationBase.of(context).service,
|
|
|
|
nameLine2: TranslationBase.of(context).service,
|
|
|
@ -174,6 +206,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
route: PATIENT_INSURANCE_APPROVALS_NEW,
|
|
|
|
route: PATIENT_INSURANCE_APPROVALS_NEW,
|
|
|
|
nameLine1: TranslationBase.of(context).insurance,
|
|
|
|
nameLine1: TranslationBase.of(context).insurance,
|
|
|
|
nameLine2: TranslationBase.of(context).service,
|
|
|
|
nameLine2: TranslationBase.of(context).service,
|
|
|
@ -181,6 +215,8 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: patient,
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
route: PATIENT_ECG,
|
|
|
|
route: PATIENT_ECG,
|
|
|
|
nameLine1: TranslationBase.of(context).patient,
|
|
|
|
nameLine1: TranslationBase.of(context).patient,
|
|
|
|
nameLine2: "ECG",
|
|
|
|
nameLine2: "ECG",
|
|
|
|