|
|
|
@ -40,7 +40,8 @@ class MyReferralDetailScreen extends StatelessWidget {
|
|
|
|
builder: (_, model, w) => AppScaffold(
|
|
|
|
builder: (_, model, w) => AppScaffold(
|
|
|
|
baseViewModel: model,
|
|
|
|
baseViewModel: model,
|
|
|
|
appBarTitle: TranslationBase.of(context).referPatient,
|
|
|
|
appBarTitle: TranslationBase.of(context).referPatient,
|
|
|
|
body: model.patientArrivalList != null ? Column(
|
|
|
|
body: model.patientArrivalList != null
|
|
|
|
|
|
|
|
? Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
@ -52,7 +53,8 @@ class MyReferralDetailScreen extends StatelessWidget {
|
|
|
|
AppText(
|
|
|
|
AppText(
|
|
|
|
authProvider.selectedClinicName != null
|
|
|
|
authProvider.selectedClinicName != null
|
|
|
|
? authProvider.selectedClinicName
|
|
|
|
? authProvider.selectedClinicName
|
|
|
|
: authProvider.doctorProfile.clinicDescription,
|
|
|
|
: authProvider
|
|
|
|
|
|
|
|
.doctorProfile.clinicDescription,
|
|
|
|
fontSize: SizeConfig.textMultiplier * 1.7,
|
|
|
|
fontSize: SizeConfig.textMultiplier * 1.7,
|
|
|
|
color: Colors.white,
|
|
|
|
color: Colors.white,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
@ -63,7 +65,8 @@ class MyReferralDetailScreen extends StatelessWidget {
|
|
|
|
height: 16,
|
|
|
|
height: 16,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.symmetric(horizontal: 16.0),
|
|
|
|
padding:
|
|
|
|
|
|
|
|
const EdgeInsets.symmetric(horizontal: 16.0),
|
|
|
|
child: AppText(
|
|
|
|
child: AppText(
|
|
|
|
TranslationBase.of(context).myReferralPatient,
|
|
|
|
TranslationBase.of(context).myReferralPatient,
|
|
|
|
color: Colors.black,
|
|
|
|
color: Colors.black,
|
|
|
|
@ -87,34 +90,39 @@ class MyReferralDetailScreen extends StatelessWidget {
|
|
|
|
childAspectRatio: 1.8,
|
|
|
|
childAspectRatio: 1.8,
|
|
|
|
crossAxisSpacing: 8,
|
|
|
|
crossAxisSpacing: 8,
|
|
|
|
mainAxisSpacing: 10,
|
|
|
|
mainAxisSpacing: 10,
|
|
|
|
controller:
|
|
|
|
controller: new ScrollController(
|
|
|
|
new ScrollController(keepScrollOffset: false),
|
|
|
|
keepScrollOffset: false),
|
|
|
|
shrinkWrap: true,
|
|
|
|
shrinkWrap: true,
|
|
|
|
padding: const EdgeInsets.all(4.0),
|
|
|
|
padding: const EdgeInsets.all(4.0),
|
|
|
|
crossAxisCount: 2,
|
|
|
|
crossAxisCount: 2,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
// patient: patient,
|
|
|
|
patient: model.patientArrivalList[0],
|
|
|
|
// route: RADIOLOGY,
|
|
|
|
route: MEDICAL_FILE,
|
|
|
|
nameLine1:
|
|
|
|
nameLine1: TranslationBase.of(context)
|
|
|
|
TranslationBase.of(context).previewHealth,
|
|
|
|
.previewHealth,
|
|
|
|
nameLine2:
|
|
|
|
nameLine2: TranslationBase.of(context)
|
|
|
|
TranslationBase.of(context).summaryReport,
|
|
|
|
.summaryReport,
|
|
|
|
icon: 'radiology-1.png'),
|
|
|
|
icon: 'radiology-1.png'),
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
// patient: patient,
|
|
|
|
patient: model.patientArrivalList[0],
|
|
|
|
// route: LAB_ORDERS,
|
|
|
|
route: LAB_ORDERS,
|
|
|
|
nameLine1: TranslationBase.of(context).lab,
|
|
|
|
nameLine1:
|
|
|
|
nameLine2: TranslationBase.of(context).result,
|
|
|
|
TranslationBase.of(context).lab,
|
|
|
|
|
|
|
|
nameLine2:
|
|
|
|
|
|
|
|
TranslationBase.of(context).result,
|
|
|
|
icon: 'lab.png'),
|
|
|
|
icon: 'lab.png'),
|
|
|
|
PatientProfileButton(
|
|
|
|
PatientProfileButton(
|
|
|
|
key: key,
|
|
|
|
key: key,
|
|
|
|
patient: model.patientArrivalList[0],
|
|
|
|
patient: model.patientArrivalList[0],
|
|
|
|
route: VITAL_SIGN_DETAILS /*PATIENT_VITAL_SIGN*/,
|
|
|
|
route:
|
|
|
|
nameLine1: TranslationBase.of(context).vital,
|
|
|
|
VITAL_SIGN_DETAILS /*PATIENT_VITAL_SIGN*/,
|
|
|
|
nameLine2: TranslationBase.of(context).signs,
|
|
|
|
nameLine1:
|
|
|
|
|
|
|
|
TranslationBase.of(context).vital,
|
|
|
|
|
|
|
|
nameLine2:
|
|
|
|
|
|
|
|
TranslationBase.of(context).signs,
|
|
|
|
icon: 'heartbeat.png'),
|
|
|
|
icon: 'heartbeat.png'),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@ -161,7 +169,8 @@ class MyReferralDetailScreen extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
) : Container(
|
|
|
|
)
|
|
|
|
|
|
|
|
: Container(
|
|
|
|
child: Center(
|
|
|
|
child: Center(
|
|
|
|
child: AppText(
|
|
|
|
child: AppText(
|
|
|
|
TranslationBase.of(context).patientNoDetailErrMsg,
|
|
|
|
TranslationBase.of(context).patientNoDetailErrMsg,
|
|
|
|
|