|
|
|
|
@ -108,15 +108,13 @@ class PatientReferralItemWidget extends StatelessWidget {
|
|
|
|
|
Row(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Expanded(
|
|
|
|
|
child: AppText(
|
|
|
|
|
patientName!,
|
|
|
|
|
fontSize: 16.0,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
color: Color(0xff2E303A),
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
letterSpacing: -0.64,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
patientName!,
|
|
|
|
|
fontSize: 16.0,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
color: Color(0xff2E303A),
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
letterSpacing: -0.64,
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 0,
|
|
|
|
|
@ -148,34 +146,23 @@ class PatientReferralItemWidget extends StatelessWidget {
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Column(
|
|
|
|
|
children: [
|
|
|
|
|
Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
CustomRow(
|
|
|
|
|
label:
|
|
|
|
|
TranslationBase.of(context).fileNumber!,
|
|
|
|
|
value: patientID!,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
CustomRow(
|
|
|
|
|
label:
|
|
|
|
|
TranslationBase.of(context).fileNumber!,
|
|
|
|
|
value: patientID!,
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
CustomRow(
|
|
|
|
|
label: isSameBranch
|
|
|
|
|
CustomRow(
|
|
|
|
|
label: isSameBranch
|
|
|
|
|
? TranslationBase.of(context)
|
|
|
|
|
.referredFrom!
|
|
|
|
|
: TranslationBase.of(context).refClinic!,
|
|
|
|
|
value: !isReferralClinic!
|
|
|
|
|
? isSameBranch
|
|
|
|
|
? TranslationBase.of(context)
|
|
|
|
|
.referredFrom!
|
|
|
|
|
: TranslationBase.of(context).refClinic!,
|
|
|
|
|
value: !isReferralClinic!
|
|
|
|
|
? isSameBranch
|
|
|
|
|
? TranslationBase.of(context)
|
|
|
|
|
.sameBranch!
|
|
|
|
|
: TranslationBase.of(context)
|
|
|
|
|
.otherBranch!
|
|
|
|
|
: " " + referralClinic!,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
.sameBranch!
|
|
|
|
|
: TranslationBase.of(context)
|
|
|
|
|
.otherBranch!
|
|
|
|
|
: " " + referralClinic!,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
@ -205,15 +192,9 @@ class PatientReferralItemWidget extends StatelessWidget {
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
CustomRow(
|
|
|
|
|
label: TranslationBase.of(context).remarks! + " : ",
|
|
|
|
|
value: remark ?? "",
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
CustomRow(
|
|
|
|
|
label: TranslationBase.of(context).remarks! + " : ",
|
|
|
|
|
value: remark ?? "",
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
@ -256,33 +237,30 @@ class PatientReferralItemWidget extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
flex: 4,
|
|
|
|
|
child: Container(
|
|
|
|
|
margin: EdgeInsets.only(
|
|
|
|
|
left: 10, top: 25, right: 10, bottom: 0),
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
margin: EdgeInsets.only(
|
|
|
|
|
left: 10, top: 25, right: 10, bottom: 0),
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
referralDoctorName ?? "",
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
fontSize: 14.0,
|
|
|
|
|
color: Color(0xff2E303A),
|
|
|
|
|
letterSpacing: -0.56,
|
|
|
|
|
),
|
|
|
|
|
if (clinicDescription != null)
|
|
|
|
|
AppText(
|
|
|
|
|
referralDoctorName ?? "",
|
|
|
|
|
clinicDescription??"",
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
fontSize: 14.0,
|
|
|
|
|
color: Color(0xff2E303A),
|
|
|
|
|
letterSpacing: -0.56,
|
|
|
|
|
fontSize: 10.0,
|
|
|
|
|
color: Color(0xff575757),
|
|
|
|
|
letterSpacing: -0.4,
|
|
|
|
|
),
|
|
|
|
|
if (clinicDescription != null)
|
|
|
|
|
AppText(
|
|
|
|
|
clinicDescription??"",
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
fontSize: 10.0,
|
|
|
|
|
color: Color(0xff575757),
|
|
|
|
|
letterSpacing: -0.4,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
|