This commit is contained in:
he
2023-04-04 16:24:31 +08:00
parent 473851c9fd
commit 76d913bbd3
5 changed files with 144 additions and 9 deletions
@@ -1574,6 +1574,41 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
#endregion
public async Task<string> GetNewTargetLesionEvaluate(ReadingCalculateDto inDto)
{
var tableQuestion = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.NewTargetLesion).SelectMany(x => x.TableRowInfoList).ToList();
if (inDto.IsBaseLine)
{
return TargetAssessment.NA.GetEnumInt();
}
IRECISTNewTargetLesionDto resultData = new IRECISTNewTargetLesionDto()
{
// 是否存在新靶病灶
ExistsNewTargetLesion = tableQuestion.Count() > 0,
// 所有状态为消失
AllVanish = false,
// 上一访视新靶病灶评估为“iUPD”
LastTaskIsiUPD = true,
//SOD增加5mm以上
ISODAdd5mm = true,
//有"存在"状态的新靶病灶
HaveExixtsState = true,
// 至少有一个新靶病无法评估
ExixtsUnevaluableState = true,
};
return string.Empty;
}
#region
/// <summary>
/// 获取靶病灶评估