IRC_NewDev
parent
a2b1a0d64b
commit
29836a9c62
|
@ -2114,7 +2114,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
var splenicBottomAnswer = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.SplenicBottomPosition).Select(x => x.Answer).FirstOrDefault();
|
var splenicBottomAnswer = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.SplenicBottomPosition).Select(x => x.Answer).FirstOrDefault();
|
||||||
|
|
||||||
decimal? spleenLength = null;
|
decimal? spleenLength = null;
|
||||||
if (splenicTopAnswer != null && splenicBottomAnswer != null)
|
if (splenicTopAnswer != null && splenicBottomAnswer != null&& splenicTopAnswer != string.Empty && splenicBottomAnswer != string.Empty)
|
||||||
{
|
{
|
||||||
spleenLength = splenicTopAnswer.IsNullOrEmptyReturn0() - splenicBottomAnswer.IsNullOrEmptyReturn0();
|
spleenLength = splenicTopAnswer.IsNullOrEmptyReturn0() - splenicBottomAnswer.IsNullOrEmptyReturn0();
|
||||||
if (spleenLength < 0)
|
if (spleenLength < 0)
|
||||||
|
|
Loading…
Reference in New Issue