Compare commits
No commits in common. "16e0bebc2919cbf5e00214cd663ff7f73a75fb90" and "ea9a5fa3a056f1aaf22a656da3ec02c66d279243" have entirely different histories.
16e0bebc29
...
ea9a5fa3a0
|
@ -465,8 +465,6 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
|
||||
List<ReadingCalculateData> calculateList = new List<ReadingCalculateData>()
|
||||
{
|
||||
// 是否存在Pet
|
||||
new ReadingCalculateData (){QuestionType=QuestionType.ExistPET,GetStringFun=GetExistPET},
|
||||
|
||||
//垂直径乘积之和(SPD)
|
||||
new ReadingCalculateData (){QuestionType=QuestionType.SPD,GetDecimalFun=GetSPD},
|
||||
|
@ -522,7 +520,8 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
// 影像学整体肿瘤评估
|
||||
new ReadingCalculateData (){QuestionType=QuestionType.ImgOncology,GetStringFun=GetImgOncology},
|
||||
|
||||
|
||||
// 是否存在Pet
|
||||
new ReadingCalculateData (){QuestionType=QuestionType.ExistPET,GetStringFun=GetExistPET},
|
||||
//SUVmax
|
||||
new ReadingCalculateData (){QuestionType=QuestionType.SUVmax,GetDecimalFun=GetSuvMax},
|
||||
|
||||
|
@ -1941,12 +1940,6 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
}
|
||||
|
||||
|
||||
var existPET = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.ExistPET).Select(x => x.Answer).FirstOrDefault();
|
||||
if (existPET.EqEnum(ReadingYesOrNo.No))
|
||||
{
|
||||
return PET5PSScore.NE.GetEnumInt();
|
||||
}
|
||||
|
||||
|
||||
PET5PSScore result = PET5PSScore.X;
|
||||
|
||||
|
@ -1959,7 +1952,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
// 纵膈血池
|
||||
var MediastinumSUVmax = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.MediastinumSUVmax).Select(x => x.Answer).FirstOrDefault().IsNullOrEmptyReturn0();
|
||||
|
||||
|
||||
var existPET = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.ExistPET).Select(x => x.Answer).FirstOrDefault();
|
||||
if (existPET.EqEnum(ReadingYesOrNo.No))
|
||||
{
|
||||
result = PET5PSScore.NE;
|
||||
|
@ -2084,12 +2077,6 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
return FDGPETOverallAssessment.NA.GetEnumInt();
|
||||
}
|
||||
|
||||
var existPET =await GetExistPET(inDto);
|
||||
if (existPET.EqEnum(ReadingYesOrNo.No))
|
||||
{
|
||||
return FDGPETOverallAssessment.NE.GetEnumInt();
|
||||
}
|
||||
|
||||
//FDGPETOverallAssessment result = FDGPETOverallAssessment.NA;
|
||||
|
||||
// PET5PS
|
||||
|
@ -2215,10 +2202,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
{
|
||||
var rowInfo = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.TargetLesion).SelectMany(x => x.TableRowInfoList).ToList();
|
||||
|
||||
if (inDto.QuestionInfo.Any(x => x.QuestionType == QuestionType.ExistPET && x.Answer == ReadingYesOrNo.No.GetEnumInt()))
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
|
||||
var tableQuestions = rowInfo.SelectMany(x => x.TableQuestionList).ToList();
|
||||
|
||||
|
|
Loading…
Reference in New Issue