|
|
|
|
@ -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,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
@ -207,15 +194,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,
|
|
|
|
|
|