|
|
|
|
@ -5,7 +5,9 @@ import 'package:doctor_app_flutter/screens/base/base_view.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/screens/patients/profile/radiology/radiology_details_page.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/screens/procedures/ProcedureType.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/screens/procedures/base_add_procedure_tab_page.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/util/helpers.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/util/translations_delegate_base.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/patients/patient_service_title.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/patients/profile/add-order/addNewOrder.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/patients/profile/app_bar/patient-profile-app-bar.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart';
|
|
|
|
|
@ -68,45 +70,15 @@ class _RadiologyHomePageState extends State<RadiologyHomePage> {
|
|
|
|
|
),
|
|
|
|
|
if (model.radiologyList.isNotEmpty &&
|
|
|
|
|
patient.patientStatusType != 43)
|
|
|
|
|
Padding(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
TranslationBase.of(context).radiology,
|
|
|
|
|
style: "caption2",
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
fontSize: 13,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
TranslationBase.of(context).result,
|
|
|
|
|
bold: true,
|
|
|
|
|
fontSize: 22,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
ServiceTitle(
|
|
|
|
|
title: TranslationBase.of(context).radiology,
|
|
|
|
|
subTitle: TranslationBase.of(context).result,
|
|
|
|
|
),
|
|
|
|
|
if (patient.patientStatusType != null &&
|
|
|
|
|
patient.patientStatusType == 43)
|
|
|
|
|
Padding(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
TranslationBase.of(context).radiology,
|
|
|
|
|
style: "caption2",
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
fontSize: 13,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
TranslationBase.of(context).result,
|
|
|
|
|
bold: true,
|
|
|
|
|
fontSize: 22,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
ServiceTitle(
|
|
|
|
|
title: TranslationBase.of(context).radiology,
|
|
|
|
|
subTitle: TranslationBase.of(context).result,
|
|
|
|
|
),
|
|
|
|
|
if ((patient.patientStatusType != null &&
|
|
|
|
|
patient.patientStatusType == 43) ||
|
|
|
|
|
@ -191,15 +163,15 @@ class _RadiologyHomePageState extends State<RadiologyHomePage> {
|
|
|
|
|
child: DoctorCard(
|
|
|
|
|
isNoMargin: true,
|
|
|
|
|
doctorName:
|
|
|
|
|
model.radiologyList[index].doctorName,
|
|
|
|
|
Helpers.convertToTitleCase(model.radiologyList[index].doctorName),
|
|
|
|
|
profileUrl:
|
|
|
|
|
model.radiologyList[index].doctorImageURL,
|
|
|
|
|
invoiceNO:
|
|
|
|
|
'${model.radiologyList[index].invoiceNo}',
|
|
|
|
|
branch:
|
|
|
|
|
'${model.radiologyList[index].projectName}',
|
|
|
|
|
clinic: model
|
|
|
|
|
.radiologyList[index].clinicDescription,
|
|
|
|
|
clinic:
|
|
|
|
|
Helpers.convertToTitleCase(model.radiologyList[index].clinicDescription),
|
|
|
|
|
appointmentDate:
|
|
|
|
|
model.radiologyList[index].orderDate ??
|
|
|
|
|
model.radiologyList[index].reportDate,
|
|
|
|
|
|