|
|
|
@ -252,11 +252,11 @@ class VitalSignDetailsScreen extends StatelessWidget {
|
|
|
|
FittedBox(
|
|
|
|
FittedBox(
|
|
|
|
fit: BoxFit.fitWidth,
|
|
|
|
fit: BoxFit.fitWidth,
|
|
|
|
child: AppText(
|
|
|
|
child: AppText(
|
|
|
|
"${TranslationBase.of(context).bmiObeseExtreme} fdsd",
|
|
|
|
"${TranslationBase.of(context).bmiObeseExtreme}",
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
fontSize: SizeConfig.textMultiplier * 1.15,
|
|
|
|
fontSize: SizeConfig.textMultiplier * 1.15,
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
color: mode.getBMIStatus() == 4
|
|
|
|
color: mode.getBMIStatus() == 5
|
|
|
|
? Color(0XFFD02127)
|
|
|
|
? Color(0XFFD02127)
|
|
|
|
: null,
|
|
|
|
: null,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@ -266,7 +266,7 @@ class VitalSignDetailsScreen extends StatelessWidget {
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
fontFamily: 'Poppins',
|
|
|
|
fontSize: SizeConfig.textMultiplier * 1.15,
|
|
|
|
fontSize: SizeConfig.textMultiplier * 1.15,
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
fontWeight: FontWeight.w700,
|
|
|
|
color: mode.getBMIStatus() == 4
|
|
|
|
color: mode.getBMIStatus() == 5
|
|
|
|
? Color(0XFFD02127)
|
|
|
|
? Color(0XFFD02127)
|
|
|
|
: null,
|
|
|
|
: null,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@ -280,7 +280,7 @@ class VitalSignDetailsScreen extends StatelessWidget {
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 8.0),
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 8.0),
|
|
|
|
child : GridView.count(
|
|
|
|
child: GridView.count(
|
|
|
|
shrinkWrap: true,
|
|
|
|
shrinkWrap: true,
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
crossAxisSpacing: 4,
|
|
|
|
crossAxisSpacing: 4,
|
|
|
|
@ -296,10 +296,12 @@ class VitalSignDetailsScreen extends StatelessWidget {
|
|
|
|
page: VitalSignItemDetailsScreen(
|
|
|
|
page: VitalSignItemDetailsScreen(
|
|
|
|
pageKey: vitalSignDetails.Height,
|
|
|
|
pageKey: vitalSignDetails.Height,
|
|
|
|
pageTitle:
|
|
|
|
pageTitle:
|
|
|
|
TranslationBase.of(context)
|
|
|
|
TranslationBase.of(context).height,
|
|
|
|
.height,
|
|
|
|
|
|
|
|
vitalList:
|
|
|
|
vitalList:
|
|
|
|
mode.patientVitalSignsHistory,
|
|
|
|
mode.patientVitalSignsHistory,
|
|
|
|
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
@ -307,8 +309,7 @@ class VitalSignDetailsScreen extends StatelessWidget {
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
child: VitalSignItem(
|
|
|
|
child: VitalSignItem(
|
|
|
|
des: TranslationBase.of(context).height,
|
|
|
|
des: TranslationBase.of(context).height,
|
|
|
|
imagePath:
|
|
|
|
imagePath: "${assetBasePath}height.png",
|
|
|
|
"${assetBasePath}height.png",
|
|
|
|
|
|
|
|
lastVal: mode.heightCm,
|
|
|
|
lastVal: mode.heightCm,
|
|
|
|
unit: TranslationBase.of(context).cm,
|
|
|
|
unit: TranslationBase.of(context).cm,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@ -322,10 +323,12 @@ class VitalSignDetailsScreen extends StatelessWidget {
|
|
|
|
page: VitalSignItemDetailsScreen(
|
|
|
|
page: VitalSignItemDetailsScreen(
|
|
|
|
pageKey: vitalSignDetails.Weight,
|
|
|
|
pageKey: vitalSignDetails.Weight,
|
|
|
|
pageTitle:
|
|
|
|
pageTitle:
|
|
|
|
TranslationBase.of(context)
|
|
|
|
TranslationBase.of(context).weight,
|
|
|
|
.weight,
|
|
|
|
|
|
|
|
vitalList:
|
|
|
|
vitalList:
|
|
|
|
mode.patientVitalSignsHistory,
|
|
|
|
mode.patientVitalSignsHistory,
|
|
|
|
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
@ -343,23 +346,22 @@ class VitalSignDetailsScreen extends StatelessWidget {
|
|
|
|
context,
|
|
|
|
context,
|
|
|
|
FadePage(
|
|
|
|
FadePage(
|
|
|
|
page: VitalSignItemDetailsScreen(
|
|
|
|
page: VitalSignItemDetailsScreen(
|
|
|
|
pageKey:
|
|
|
|
pageKey: vitalSignDetails.Temperature,
|
|
|
|
vitalSignDetails.Temperature,
|
|
|
|
pageTitle: TranslationBase.of(context)
|
|
|
|
pageTitle:
|
|
|
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
|
|
|
.temperature,
|
|
|
|
.temperature,
|
|
|
|
vitalList:
|
|
|
|
vitalList:
|
|
|
|
mode.patientVitalSignsHistory,
|
|
|
|
mode.patientVitalSignsHistory,
|
|
|
|
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
: null,
|
|
|
|
: null,
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
child: VitalSignItem(
|
|
|
|
child: VitalSignItem(
|
|
|
|
des:
|
|
|
|
des: TranslationBase.of(context).temperature,
|
|
|
|
TranslationBase.of(context).temperature,
|
|
|
|
imagePath: "${assetBasePath}temperature.png",
|
|
|
|
imagePath:
|
|
|
|
|
|
|
|
"${assetBasePath}temperature.png",
|
|
|
|
|
|
|
|
lastVal: mode.temperatureCelcius,
|
|
|
|
lastVal: mode.temperatureCelcius,
|
|
|
|
unit: TranslationBase.of(context).tempC,
|
|
|
|
unit: TranslationBase.of(context).tempC,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@ -373,18 +375,19 @@ class VitalSignDetailsScreen extends StatelessWidget {
|
|
|
|
page: VitalSignItemDetailsScreen(
|
|
|
|
page: VitalSignItemDetailsScreen(
|
|
|
|
pageKey: vitalSignDetails.heart,
|
|
|
|
pageKey: vitalSignDetails.heart,
|
|
|
|
pageTitle:
|
|
|
|
pageTitle:
|
|
|
|
TranslationBase.of(context)
|
|
|
|
TranslationBase.of(context).heart,
|
|
|
|
.heart,
|
|
|
|
|
|
|
|
vitalList:
|
|
|
|
vitalList:
|
|
|
|
mode.patientVitalSignsHistory,
|
|
|
|
mode.patientVitalSignsHistory,
|
|
|
|
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
: null,
|
|
|
|
: null,
|
|
|
|
child: VitalSignItem(
|
|
|
|
child: VitalSignItem(
|
|
|
|
des: TranslationBase.of(context).heart,
|
|
|
|
des: TranslationBase.of(context).heart,
|
|
|
|
imagePath:
|
|
|
|
imagePath: "${assetBasePath}heart_rate.png",
|
|
|
|
"${assetBasePath}heart_rate.png",
|
|
|
|
|
|
|
|
lastVal: mode.hartRat,
|
|
|
|
lastVal: mode.hartRat,
|
|
|
|
unit: TranslationBase.of(context).bpm,
|
|
|
|
unit: TranslationBase.of(context).bpm,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@ -395,25 +398,24 @@ class VitalSignDetailsScreen extends StatelessWidget {
|
|
|
|
context,
|
|
|
|
context,
|
|
|
|
FadePage(
|
|
|
|
FadePage(
|
|
|
|
page: VitalSignItemDetailsScreen(
|
|
|
|
page: VitalSignItemDetailsScreen(
|
|
|
|
pageKey:
|
|
|
|
pageKey: vitalSignDetails.Respiration,
|
|
|
|
vitalSignDetails.Respiration,
|
|
|
|
pageTitle: TranslationBase.of(context)
|
|
|
|
pageTitle:
|
|
|
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
|
|
|
.respirationRate,
|
|
|
|
.respirationRate,
|
|
|
|
vitalList:
|
|
|
|
vitalList:
|
|
|
|
mode.patientVitalSignsHistory,
|
|
|
|
mode.patientVitalSignsHistory,
|
|
|
|
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
: null,
|
|
|
|
: null,
|
|
|
|
child: VitalSignItem(
|
|
|
|
child: VitalSignItem(
|
|
|
|
des: TranslationBase.of(context)
|
|
|
|
des: TranslationBase.of(context).respirationRate,
|
|
|
|
.respirationRate,
|
|
|
|
imagePath: "${assetBasePath}respiration_rate.png",
|
|
|
|
imagePath:
|
|
|
|
|
|
|
|
"${assetBasePath}respiration_rate.png",
|
|
|
|
|
|
|
|
lastVal: mode.respirationBeatPerMinute,
|
|
|
|
lastVal: mode.respirationBeatPerMinute,
|
|
|
|
unit: TranslationBase.of(context)
|
|
|
|
unit:
|
|
|
|
.respirationSigns,
|
|
|
|
TranslationBase.of(context).respirationSigns,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
InkWell(
|
|
|
|
InkWell(
|
|
|
|
@ -422,22 +424,21 @@ class VitalSignDetailsScreen extends StatelessWidget {
|
|
|
|
context,
|
|
|
|
context,
|
|
|
|
FadePage(
|
|
|
|
FadePage(
|
|
|
|
page: VitalSignItemDetailsScreen(
|
|
|
|
page: VitalSignItemDetailsScreen(
|
|
|
|
pageKey:
|
|
|
|
pageKey: vitalSignDetails.BloodPressure,
|
|
|
|
vitalSignDetails.BloodPressure,
|
|
|
|
pageTitle: TranslationBase.of(context)
|
|
|
|
pageTitle:
|
|
|
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
|
|
|
.bloodPressure,
|
|
|
|
.bloodPressure,
|
|
|
|
vitalList:
|
|
|
|
vitalList:
|
|
|
|
mode.patientVitalSignsHistory,
|
|
|
|
mode.patientVitalSignsHistory,
|
|
|
|
|
|
|
|
patient: patient,
|
|
|
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
: null,
|
|
|
|
: null,
|
|
|
|
child: VitalSignItem(
|
|
|
|
child: VitalSignItem(
|
|
|
|
des:
|
|
|
|
des: TranslationBase.of(context).bloodPressure,
|
|
|
|
TranslationBase.of(context).bloodPressure,
|
|
|
|
imagePath: "${assetBasePath}blood_pressure.png",
|
|
|
|
imagePath:
|
|
|
|
|
|
|
|
"${assetBasePath}blood_pressure.png",
|
|
|
|
|
|
|
|
lastVal: mode.bloodPressure,
|
|
|
|
lastVal: mode.bloodPressure,
|
|
|
|
unit: TranslationBase.of(context).sysDias,
|
|
|
|
unit: TranslationBase.of(context).sysDias,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|