修改被评估为NE的单个靶病灶
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
3c46215a3c
commit
7d88f49e68
|
|
@ -1110,7 +1110,8 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
return ExistOrNA.NA.GetEnumInt();
|
||||
}
|
||||
|
||||
var result = inDto.QuestionInfo.Any(x => x.QuestionType == QuestionType.TargetLesion && x.Answer.EqEnum(TargetAssessment.NE));
|
||||
var result = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.TargetLesion).SelectMany(x => x.TableRowInfoList).ToList().Any(x => x.TableQuestionList.Any(y =>
|
||||
y.QuestionMark == QuestionMark.State && y.Answer.EqEnum(TargetState.UnableEvaluate)));
|
||||
|
||||
return result ? ExistOrNA.Exist.GetEnumInt() : ExistOrNA.NotExist.GetEnumInt();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1563,7 +1563,8 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
return ExistOrNA.NA.GetEnumInt();
|
||||
}
|
||||
|
||||
var result = inDto.QuestionInfo.Any(x => x.QuestionType == QuestionType.TargetLesion && x.Answer.EqEnum(TargetAssessment.NE));
|
||||
var result = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.TargetLesion).SelectMany(x => x.TableRowInfoList).ToList().Any(x => x.TableQuestionList.Any(y =>
|
||||
y.QuestionMark == QuestionMark.State && y.Answer.EqEnum(TargetState.UnableEvaluate)));
|
||||
|
||||
return result ? ExistOrNA.Exist.GetEnumInt() : ExistOrNA.NotExist.GetEnumInt();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1563,7 +1563,8 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
return ExistOrNA.NA.GetEnumInt();
|
||||
}
|
||||
|
||||
var result = inDto.QuestionInfo.Any(x => x.QuestionType == QuestionType.TargetLesion && x.Answer.EqEnum(TargetAssessment.NE));
|
||||
var result = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.TargetLesion).SelectMany(x => x.TableRowInfoList).ToList().Any(x => x.TableQuestionList.Any(y =>
|
||||
y.QuestionMark == QuestionMark.State && y.Answer.EqEnum(TargetState.UnableEvaluate)));
|
||||
|
||||
return result ? ExistOrNA.Exist.GetEnumInt() : ExistOrNA.NotExist.GetEnumInt();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1070,7 +1070,8 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
return ExistOrNA.NA.GetEnumInt();
|
||||
}
|
||||
|
||||
var result = inDto.QuestionInfo.Any(x => x.QuestionType == QuestionType.TargetLesion && x.Answer.EqEnum(TargetAssessment.NE));
|
||||
var result = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.TargetLesion).SelectMany(x => x.TableRowInfoList).ToList().Any(x => x.TableQuestionList.Any(y =>
|
||||
y.QuestionMark == QuestionMark.State && y.Answer.EqEnum(TargetState.UnableEvaluate)));
|
||||
|
||||
return result ? ExistOrNA.Exist.GetEnumInt() : ExistOrNA.NotExist.GetEnumInt();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -912,7 +912,10 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
return ExistOrNA.NA.GetEnumInt();
|
||||
}
|
||||
|
||||
var result = inDto.QuestionInfo.Any(x => x.QuestionType == QuestionType.TargetLesion && x.Answer.EqEnum(TargetAssessment.NE));
|
||||
|
||||
var result = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.TargetLesion).SelectMany(x => x.TableRowInfoList).ToList().Any(x => x.TableQuestionList.Any(y =>
|
||||
y.QuestionMark == QuestionMark.State && y.Answer.EqEnum(TargetState.UnableEvaluate)));
|
||||
|
||||
|
||||
return result ? ExistOrNA.Exist.GetEnumInt() : ExistOrNA.NotExist.GetEnumInt();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -912,7 +912,8 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
return ExistOrNA.NA.GetEnumInt();
|
||||
}
|
||||
|
||||
var result = inDto.QuestionInfo.Any(x => x.QuestionType == QuestionType.TargetLesion && x.Answer.EqEnum(TargetAssessment.NE));
|
||||
var result = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.TargetLesion).SelectMany(x => x.TableRowInfoList).ToList().Any(x => x.TableQuestionList.Any(y =>
|
||||
y.QuestionMark == QuestionMark.State && y.Answer.EqEnum(TargetState.UnableEvaluate)));
|
||||
|
||||
return result ? ExistOrNA.Exist.GetEnumInt() : ExistOrNA.NotExist.GetEnumInt();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue