IRC_NewDev
parent
995b612537
commit
ce8fe53d4d
|
@ -524,7 +524,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
|
|
||||||
|
|
||||||
//SUVmax
|
//SUVmax
|
||||||
new ReadingCalculateData (){QuestionType=QuestionType.SUVmax,GetDecimalFun=GetSuvMax},
|
new ReadingCalculateData (){QuestionType=QuestionType.SUVmax,GetDecimalNullFun=GetSuvMax},
|
||||||
|
|
||||||
// SUVmax所在病灶
|
// SUVmax所在病灶
|
||||||
new ReadingCalculateData (){QuestionType=QuestionType.SUVmaxLesion,GetStringFun=GetSuvMaxFocus},
|
new ReadingCalculateData (){QuestionType=QuestionType.SUVmaxLesion,GetStringFun=GetSuvMaxFocus},
|
||||||
|
@ -2248,8 +2248,12 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="inDto"></param>
|
/// <param name="inDto"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async Task<decimal> GetSuvMax(ReadingCalculateDto inDto)
|
public async Task<decimal?> GetSuvMax(ReadingCalculateDto inDto)
|
||||||
{
|
{
|
||||||
|
if (inDto.QuestionInfo.Any(x => x.QuestionType == QuestionType.ExistPET && x.Answer == ReadingYesOrNo.No.GetEnumInt()))
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
var rowInfo = inDto.QuestionInfo.SelectMany(x => x.TableRowInfoList).ToList();
|
var rowInfo = inDto.QuestionInfo.SelectMany(x => x.TableRowInfoList).ToList();
|
||||||
var tableQuestions = rowInfo.SelectMany(x => x.TableQuestionList).ToList();
|
var tableQuestions = rowInfo.SelectMany(x => x.TableQuestionList).ToList();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue