|
|
|
|
@ -33,7 +33,8 @@ class RadiologyHomePage extends StatelessWidget {
|
|
|
|
|
builder: (_, model, widget) => AppScaffold(
|
|
|
|
|
isShowAppBar: true,
|
|
|
|
|
// appBarTitle: TranslationBase.of(context).radiology,
|
|
|
|
|
appBar: PatientProfileHeaderNewDesignAppBar(patient, patient.patientType.toString() ?? '0', arrivalType),
|
|
|
|
|
appBar: PatientProfileHeaderNewDesignAppBar(
|
|
|
|
|
patient, patient.patientType.toString() ?? '0', arrivalType),
|
|
|
|
|
baseViewModel: model,
|
|
|
|
|
body: FractionallySizedBox(
|
|
|
|
|
widthFactor: 1.0,
|
|
|
|
|
@ -62,11 +63,23 @@ class RadiologyHomePage extends StatelessWidget {
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
if (patientType != null && patientType == '7' && patient.patientStatusType == 43)
|
|
|
|
|
if (patientType != null &&
|
|
|
|
|
patientType == '7' &&
|
|
|
|
|
patient.patientStatusType == 43)
|
|
|
|
|
InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
addSelectedRadiologyOrder(context, model, patient);
|
|
|
|
|
Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
MaterialPageRoute(
|
|
|
|
|
builder: (context) => AddSelectedRadiologyOrder(
|
|
|
|
|
patient: patient,
|
|
|
|
|
model: model,
|
|
|
|
|
)),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
// () {
|
|
|
|
|
// addSelectedRadiologyOrder(context, model, patient);
|
|
|
|
|
// },
|
|
|
|
|
child: Container(
|
|
|
|
|
width: double.maxFinite,
|
|
|
|
|
height: 140,
|
|
|
|
|
@ -108,7 +121,9 @@ class RadiologyHomePage extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
...List.generate(model.radiologyList.length, (index) => InkWell(
|
|
|
|
|
...List.generate(
|
|
|
|
|
model.radiologyList.length,
|
|
|
|
|
(index) => InkWell(
|
|
|
|
|
onTap: () => Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
FadePage(
|
|
|
|
|
@ -126,7 +141,6 @@ class RadiologyHomePage extends StatelessWidget {
|
|
|
|
|
appointmentDate: model.radiologyList[index].orderDate,
|
|
|
|
|
),
|
|
|
|
|
)),
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
|