|
|
|
@ -116,7 +116,8 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
title: AppText(
|
|
|
|
|
TranslationBase.of(context).inPatient,
|
|
|
|
|
fontWeight: FontWeight.normal,
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 2.1,
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 2.2,
|
|
|
|
|
),
|
|
|
|
|
value: _inPatient,
|
|
|
|
|
onChanged: (newValue) {
|
|
|
|
@ -124,6 +125,7 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
_inPatient = newValue;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
activeColor: HexColor("#D02127"),
|
|
|
|
|
controlAffinity:
|
|
|
|
|
ListTileControlAffinity.leading,
|
|
|
|
|
contentPadding: EdgeInsets.all(0),
|
|
|
|
@ -132,7 +134,8 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
title: AppText(
|
|
|
|
|
TranslationBase.of(context).emergencyCase,
|
|
|
|
|
fontWeight: FontWeight.normal,
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 2.1,
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 2.2,
|
|
|
|
|
),
|
|
|
|
|
value: _emergencyCase,
|
|
|
|
|
onChanged: (newValue) {
|
|
|
|
@ -140,12 +143,12 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
_emergencyCase = newValue;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
activeColor: HexColor("#D02127"),
|
|
|
|
|
controlAffinity:
|
|
|
|
|
ListTileControlAffinity.leading,
|
|
|
|
|
contentPadding: EdgeInsets.all(0),
|
|
|
|
|
),
|
|
|
|
|
AppTextFieldCustom(
|
|
|
|
|
height: screenSize.height * 0.075,
|
|
|
|
|
hintText: TranslationBase.of(context)
|
|
|
|
|
.durationOfIllness,
|
|
|
|
|
dropDownText: "3",
|
|
|
|
@ -170,7 +173,7 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
color: Color(0xFFCC9B14),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 4,
|
|
|
|
|
width: 8,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
"BP (H/L)",
|
|
|
|
@ -192,7 +195,7 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 4,
|
|
|
|
|
width: 6,
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Row(
|
|
|
|
@ -205,7 +208,7 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
fontWeight: FontWeight.normal,
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 8,
|
|
|
|
|
width: 4,
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: AppText(
|
|
|
|
@ -222,7 +225,7 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 4,
|
|
|
|
|
height: 2,
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
mainAxisAlignment:
|
|
|
|
@ -231,14 +234,14 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
"${TranslationBase.of(context).pulseBeats} :",
|
|
|
|
|
"${TranslationBase.of(context).pulseBeats}:",
|
|
|
|
|
fontSize:
|
|
|
|
|
SizeConfig.textMultiplier * 1.8,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
fontWeight: FontWeight.normal,
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 8,
|
|
|
|
|
width: 4,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
"${model.patientVitalSigns.pulseBeatPerMinute}",
|
|
|
|
@ -258,8 +261,9 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
.chiefComplaintsAndSymptoms,
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 2.1,
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 2.2,
|
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
|
color: Color(0xFF2E303A),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 4,
|
|
|
|
@ -269,6 +273,7 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
.patientFeelsPainInHisBackAndCough,
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
fontWeight: FontWeight.normal,
|
|
|
|
|
color: Color(0xFF575757),
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 1.8,
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
@ -292,7 +297,8 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
AppText(
|
|
|
|
|
TranslationBase.of(context).otherConditions,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 2.0,
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 2.1,
|
|
|
|
|
color: Color(0xFF2E303A),
|
|
|
|
|
),
|
|
|
|
|
...List.generate(
|
|
|
|
|
conditionsData.length,
|
|
|
|
@ -302,6 +308,7 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
fontWeight: FontWeight.normal,
|
|
|
|
|
fontSize:
|
|
|
|
|
SizeConfig.textMultiplier * 2.1,
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
),
|
|
|
|
|
value: conditionsData[index]
|
|
|
|
|
['isChecked'],
|
|
|
|
@ -319,7 +326,6 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
height: 8,
|
|
|
|
|
),
|
|
|
|
|
AppTextFieldCustom(
|
|
|
|
|
height: screenSize.height * 0.075,
|
|
|
|
|
hintText: TranslationBase.of(context).other,
|
|
|
|
|
dropDownText: "None",
|
|
|
|
|
enabled: false,
|
|
|
|
@ -328,7 +334,6 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
height: 8,
|
|
|
|
|
),
|
|
|
|
|
AppTextFieldCustom(
|
|
|
|
|
height: screenSize.height * 0.075,
|
|
|
|
|
hintText: TranslationBase.of(context).how,
|
|
|
|
|
dropDownText: "None",
|
|
|
|
|
enabled: false,
|
|
|
|
@ -340,7 +345,6 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
children: [
|
|
|
|
|
Expanded(
|
|
|
|
|
child: AppTextFieldCustom(
|
|
|
|
|
height: screenSize.height * 0.075,
|
|
|
|
|
hintText:
|
|
|
|
|
TranslationBase.of(context).when,
|
|
|
|
|
dropDownText: "None",
|
|
|
|
@ -352,7 +356,6 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: AppTextFieldCustom(
|
|
|
|
|
height: screenSize.height * 0.075,
|
|
|
|
|
hintText:
|
|
|
|
|
TranslationBase.of(context).where,
|
|
|
|
|
dropDownText: "None",
|
|
|
|
@ -379,7 +382,8 @@ class _UCAFInputScreenState extends State<UCAFInputScreen> {
|
|
|
|
|
AppText(
|
|
|
|
|
TranslationBase.of(context).significantSigns,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 2.1,
|
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 2.2,
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 8,
|
|
|
|
|