|
|
|
|
@ -161,9 +161,10 @@ class LabResultWidget extends StatelessWidget {
|
|
|
|
|
Utils.tableColumnTitle(TranslationBase.of(context).description, showDivider: false),
|
|
|
|
|
Utils.tableColumnTitle(TranslationBase.of(context).value, showDivider: false),
|
|
|
|
|
// Utils.tableColumnTitle(TranslationBase.of(context).unit, showDivider: false),
|
|
|
|
|
// Utils.tableColumnTitle(TranslationBase.of(context).labResultFlag, showDivider: false),
|
|
|
|
|
Utils.tableColumnTitle(TranslationBase.of(context).labResultFlag, showDivider: false),
|
|
|
|
|
|
|
|
|
|
Utils.tableColumnTitle(TranslationBase.of(context).range, showDivider: false),
|
|
|
|
|
Utils.tableColumnTitle("", showDivider: false),
|
|
|
|
|
// Utils.tableColumnTitle("", showDivider: false),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
@ -189,23 +190,23 @@ class LabResultWidget extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
Utils.tableColumnValue(labResultList[i].resultValue! + " " + labResultList[i].uOM!,
|
|
|
|
|
// isHighLow: ((labResultList[i].resultValueFlag ?? "").toLowerCase() == "h" || (labResultList[i].resultValueFlag ?? "").toLowerCase() == "l"),
|
|
|
|
|
isHighLow: ((labResultList[i].resultValueFlag ?? "").toLowerCase() == "h" || (labResultList[i].resultValueFlag ?? "").toLowerCase() == "l"),
|
|
|
|
|
isLast: true,
|
|
|
|
|
mProjectViewModel: projectViewModel),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Utils.tableColumnValue((labResultList[i].resultValueFlag ?? ""),
|
|
|
|
|
// isHighLow: ((labResultList[i].resultValueFlag ?? "").toLowerCase() == "h" || (labResultList[i].resultValueFlag ?? "").toLowerCase() == "l"),
|
|
|
|
|
// isLast: true,
|
|
|
|
|
// isCapitable: false,
|
|
|
|
|
// mProjectViewModel: projectViewModel),
|
|
|
|
|
|
|
|
|
|
Utils.tableColumnValue((labResultList[i].referanceRange! ?? ""),
|
|
|
|
|
// isHighLow: ((labResultList[i].resultValueFlag ?? "").toLowerCase() == "h" || (labResultList[i].resultValueFlag ?? "").toLowerCase() == "l"),
|
|
|
|
|
Utils.tableColumnValue((labResultList[i].resultValueFlag ?? ""),
|
|
|
|
|
isHighLow: ((labResultList[i].resultValueFlag ?? "").toLowerCase() == "h" || (labResultList[i].resultValueFlag ?? "").toLowerCase() == "l"),
|
|
|
|
|
isLast: true,
|
|
|
|
|
isCapitable: false,
|
|
|
|
|
mProjectViewModel: projectViewModel),
|
|
|
|
|
|
|
|
|
|
// Utils.tableColumnValue((labResultList[i].referanceRange! ?? ""),
|
|
|
|
|
// // isHighLow: ((labResultList[i].resultValueFlag ?? "").toLowerCase() == "h" || (labResultList[i].resultValueFlag ?? "").toLowerCase() == "l"),
|
|
|
|
|
// isLast: true,
|
|
|
|
|
// isCapitable: false,
|
|
|
|
|
// mProjectViewModel: projectViewModel),
|
|
|
|
|
|
|
|
|
|
!checkIfCovidLab(patientLabResultList!)
|
|
|
|
|
? InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
@ -221,8 +222,8 @@ class LabResultWidget extends StatelessWidget {
|
|
|
|
|
},
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: EdgeInsets.only(left: !projectViewModel.isArabic ? 0 : 12, right: !projectViewModel.isArabic ? 12 : 0),
|
|
|
|
|
// child: Utils.tableColumnValueWithFlowChart(labResultList[i].referanceRange!, TranslationBase.of(context).viewFlowChart, isLast: true, isCapitable: false),
|
|
|
|
|
child: Utils.tableColumnValueWithUnderLine(TranslationBase.of(context).viewFlowChart, isLast: true, isCapitable: false),
|
|
|
|
|
child: Utils.tableColumnValueWithFlowChart(labResultList[i].referanceRange!, TranslationBase.of(context).viewFlowChart, isLast: true, isCapitable: false),
|
|
|
|
|
// child: Utils.tableColumnValueWithUnderLine(TranslationBase.of(context).viewFlowChart, isLast: true, isCapitable: false),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
: Container(),
|
|
|
|
|
|