计算修改

Test_HIR_Net8
he 2025-09-12 17:57:17 +08:00
parent 0580b11e39
commit b432002266
1 changed files with 5 additions and 0 deletions

View File

@ -1083,6 +1083,11 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
{
return string.Empty;
}
if (inDto.QuestionInfo.Any(x => x.QuestionType == QuestionType.ImageQualityAssessment && x.Answer == ImageQualityEvaluation.Abnormal.GetEnumInt()))
{
//影像质量不正常
return VisitTumorEvaluation.NE.GetEnumInt();
}
var isPD = await ChangeLastTaskSiteVisitForTumorEvaluation(inDto);
var newLesionsCount = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.NewLesionsCount).Select(x => x.Answer).FirstOrDefault().IsNullOrEmptyReturn0();
var baseLineLesionsCount = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.BaseLineLesionsCount).Select(x => x.Answer).FirstOrDefault().IsNullOrEmptyReturn0();