|
|
|
@ -41,7 +41,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
|
crossAxisCount: 2,
|
|
|
|
|
childAspectRatio: 1.5,
|
|
|
|
|
children: [
|
|
|
|
|
if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
// if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
@ -60,7 +60,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
|
},
|
|
|
|
|
isLoading: model.state == ViewState.BusyLocal,
|
|
|
|
|
icon: 'create-episod.png'),
|
|
|
|
|
if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
// if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
@ -69,7 +69,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
|
nameLine2: TranslationBase.of(context).episode,
|
|
|
|
|
route: UPDATE_EPISODE,
|
|
|
|
|
icon: 'modilfy-episode.png'),
|
|
|
|
|
if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
// if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
@ -82,7 +82,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
|
*/
|
|
|
|
|
,
|
|
|
|
|
icon: 'heartbeat.png'),
|
|
|
|
|
if (selectedPatientType != 7)
|
|
|
|
|
// if (selectedPatientType != 7)
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
@ -97,9 +97,9 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
|
nameLine1: TranslationBase.of(context).previewHealth,
|
|
|
|
|
nameLine2: TranslationBase.of(context).summaryReport,
|
|
|
|
|
icon: 'radiology-1.png'),
|
|
|
|
|
if (selectedPatientType != 0 &&
|
|
|
|
|
selectedPatientType != 5 &&
|
|
|
|
|
selectedPatientType != 7)
|
|
|
|
|
// if (selectedPatientType != 0 &&
|
|
|
|
|
// selectedPatientType != 5 &&
|
|
|
|
|
// selectedPatientType != 7)
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
@ -107,7 +107,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
|
nameLine1: TranslationBase.of(context).progress,
|
|
|
|
|
nameLine2: TranslationBase.of(context).note,
|
|
|
|
|
icon: 'heartbeat.png'),
|
|
|
|
|
if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
// if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
@ -115,7 +115,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
|
nameLine1: TranslationBase.of(context).admission,
|
|
|
|
|
nameLine2: TranslationBase.of(context).request,
|
|
|
|
|
icon: 'heartbeat.png'),
|
|
|
|
|
if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
// if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
@ -123,7 +123,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
|
nameLine1: TranslationBase.of(context).orders,
|
|
|
|
|
nameLine2: TranslationBase.of(context).prescription,
|
|
|
|
|
icon: 'lab.png'),
|
|
|
|
|
if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
// if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
@ -131,7 +131,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
|
nameLine1: TranslationBase.of(context).orders,
|
|
|
|
|
nameLine2: TranslationBase.of(context).procedures,
|
|
|
|
|
icon: 'lab.png'),
|
|
|
|
|
if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
// if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
@ -139,7 +139,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
|
nameLine1: TranslationBase.of(context).myReferral,
|
|
|
|
|
nameLine2: TranslationBase.of(context).patient,
|
|
|
|
|
icon: 'note.png'),
|
|
|
|
|
if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
// if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
@ -147,7 +147,7 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
|
|
|
|
|
nameLine1: TranslationBase.of(context).patientSick,
|
|
|
|
|
nameLine2: TranslationBase.of(context).leave,
|
|
|
|
|
icon: 'sick_leaves_icons.png'),
|
|
|
|
|
if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
// if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
|