|
|
|
|
@ -12,6 +12,7 @@ import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/borderedButton.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:hexcolor/hexcolor.dart';
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
|
|
|
|
|
import '../../../../routes.dart';
|
|
|
|
|
@ -39,7 +40,7 @@ class MyReferralDetailScreen extends StatelessWidget {
|
|
|
|
|
builder: (_, model, w) => AppScaffold(
|
|
|
|
|
baseViewModel: model,
|
|
|
|
|
appBarTitle: TranslationBase.of(context).referPatient,
|
|
|
|
|
body: Column(
|
|
|
|
|
body: model.patientArrivalList != null ? Column(
|
|
|
|
|
children: [
|
|
|
|
|
Expanded(
|
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
|
@ -110,7 +111,7 @@ class MyReferralDetailScreen extends StatelessWidget {
|
|
|
|
|
icon: 'lab.png'),
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
// patient: patient,
|
|
|
|
|
patient: model.patientArrivalList[0],
|
|
|
|
|
route: PATIENT_VITAL_SIGN,
|
|
|
|
|
nameLine1: TranslationBase.of(context).vital,
|
|
|
|
|
nameLine2: TranslationBase.of(context).signs,
|
|
|
|
|
@ -160,6 +161,15 @@ class MyReferralDetailScreen extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
) : Container(
|
|
|
|
|
child: Center(
|
|
|
|
|
child: AppText(
|
|
|
|
|
TranslationBase.of(context).patientNoDetailErrMsg,
|
|
|
|
|
color: HexColor("#B8382B"),
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
fontSize: 16,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
|