|
|
|
|
@ -90,15 +90,46 @@ class ReferralPatientDetailScreen extends StatelessWidget {
|
|
|
|
|
Row(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Padding(
|
|
|
|
|
padding: EdgeInsets.only(left: 12.0),
|
|
|
|
|
child: Container(
|
|
|
|
|
width: 60,
|
|
|
|
|
height: 60,
|
|
|
|
|
child: Image.network(
|
|
|
|
|
referredPatient.doctorImageURL
|
|
|
|
|
Column(
|
|
|
|
|
children: [
|
|
|
|
|
InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
PatiantInformtion patient =
|
|
|
|
|
model.getPatientFromReferralO(referredPatient);
|
|
|
|
|
Navigator.of(context)
|
|
|
|
|
.pushNamed(PATIENTS_PROFILE, arguments: {
|
|
|
|
|
"patient": patient,
|
|
|
|
|
"patientType": "1",
|
|
|
|
|
"isInpatient": true,
|
|
|
|
|
"arrivalType": "1",
|
|
|
|
|
"from": DateUtils.convertDateToFormat(DateTime.now(), 'yyyy-MM-dd'),
|
|
|
|
|
"to": DateUtils.convertDateToFormat(DateTime.now(), 'yyyy-MM-dd'),
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: EdgeInsets.only(left: 12.0),
|
|
|
|
|
child: Container(
|
|
|
|
|
width: 60,
|
|
|
|
|
height: 60,
|
|
|
|
|
child: Image.asset(
|
|
|
|
|
referredPatient.gender == 1
|
|
|
|
|
? 'assets/images/male_avatar.png'
|
|
|
|
|
: 'assets/images/female_avatar.png',
|
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 20,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
TranslationBase.of(context).viewProfile,
|
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
|
fontSize: 1.7 * SizeConfig.textMultiplier,
|
|
|
|
|
color: Colors.red[700],
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 10,
|
|
|
|
|
@ -321,7 +352,7 @@ class ReferralPatientDetailScreen extends StatelessWidget {
|
|
|
|
|
margin:
|
|
|
|
|
EdgeInsets.only(left: 10, right: 0),
|
|
|
|
|
child: Image.asset(
|
|
|
|
|
'assets/images/patient/ic_ref_arrow_left.png',
|
|
|
|
|
'assets/images/patient/ic_ref_arrow_up.png',
|
|
|
|
|
height: 50,
|
|
|
|
|
width: 30,
|
|
|
|
|
),
|
|
|
|
|
|