计算修改
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
he 2025-09-25 18:01:10 +08:00
parent 337d0fa05f
commit a0f5e7b7e5
1 changed files with 4 additions and 2 deletions

View File

@ -1295,8 +1295,10 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
// 之前不存在pd 又分为两种情况 在访视2 和 访视2以后
if (inDto.VisitTaskNum == 2)
{
// V1新病灶计数>=2; V2新病灶计数 >= 2; V2与V1的间隔 >= 6周
if (lastNewLesionsCount >= 2 && thisNewLesionsCount >= 2 && daysBetween >= 42)
var alwaysNewLesionsCount = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.AlwaysNewLesionsCount).Select(x => x.Answer).FirstIsNullReturnEmpty().IsNullOrEmptyReturn0();
// V1新病灶计数>=2; V2新病灶计数>=2且既往新病灶计数>=2;; V2与V1的间隔 >= 6周
if (lastNewLesionsCount >= 2 && thisNewLesionsCount >= 2&& alwaysNewLesionsCount>=2 && daysBetween >= 42)
{
result.IsPD = true;