|
|
|
|
@ -94,7 +94,7 @@ class PatientProfileWidget extends StatelessWidget {
|
|
|
|
|
color: Color(0xffCCCCCC),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
height: 10 * SizeConfig.textMultiplier,
|
|
|
|
|
height: 11 * SizeConfig.textMultiplier,
|
|
|
|
|
child: Row(
|
|
|
|
|
children: [
|
|
|
|
|
Expanded(
|
|
|
|
|
@ -232,14 +232,16 @@ class PatientProfileWidget extends StatelessWidget {
|
|
|
|
|
SizeConfig.textMultiplier,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
patient.admissionDate != null
|
|
|
|
|
? "${DateUtils.convertDateFromServerFormat(patient.admissionDate, 'EEEE dd, MMMM yyyy hh:mm a')}"
|
|
|
|
|
: "",
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
fontWeight: FontWeight.normal,
|
|
|
|
|
fontSize:
|
|
|
|
|
1.6 * SizeConfig.textMultiplier,
|
|
|
|
|
Expanded(
|
|
|
|
|
child: AppText(
|
|
|
|
|
patient.admissionDate != null
|
|
|
|
|
? "${DateUtils.convertDateFromServerFormat(patient.admissionDate, 'EEEE dd, MMMM yyyy hh:mm a')}"
|
|
|
|
|
: "",
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
fontWeight: FontWeight.normal,
|
|
|
|
|
fontSize:
|
|
|
|
|
1.6 * SizeConfig.textMultiplier,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
@ -374,13 +376,15 @@ class PatientProfileWidget extends StatelessWidget {
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 4,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
"${patient.nursingStationName}\n${patient.roomId}",
|
|
|
|
|
fontWeight:
|
|
|
|
|
FontWeight.normal,
|
|
|
|
|
fontSize: 1.4 *
|
|
|
|
|
SizeConfig
|
|
|
|
|
.textMultiplier,
|
|
|
|
|
Expanded(
|
|
|
|
|
child: AppText(
|
|
|
|
|
"${patient.nursingStationName}\n${patient.roomId}",
|
|
|
|
|
fontWeight:
|
|
|
|
|
FontWeight.normal,
|
|
|
|
|
fontSize: 1.4 *
|
|
|
|
|
SizeConfig
|
|
|
|
|
.textMultiplier,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
|