IRC_NewDev
parent
e5f10d052a
commit
682a5d1c44
|
@ -2379,11 +2379,14 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
/// <returns></returns>
|
||||
public async Task<string> GetTargetLesionEvaluate(ReadingCalculateDto inDto)
|
||||
{
|
||||
|
||||
|
||||
|
||||
var rowInfo = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.TargetLesion).SelectMany(x => x.TableRowInfoList).ToList();
|
||||
//if (inDto.IsBaseLine)
|
||||
//{
|
||||
// return TargetAssessment.NA.GetEnumInt();
|
||||
//}
|
||||
if (inDto.IsBaseLine)
|
||||
{
|
||||
return TargetAssessment.NA.GetEnumInt();
|
||||
}
|
||||
var tableQuestions = rowInfo.SelectMany(x => x.TableQuestionList).ToList();
|
||||
|
||||
TargetAssessment result = TargetAssessment.SD;
|
||||
|
@ -2486,10 +2489,10 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
|
||||
NoTargetAssessment result = NoTargetAssessment.PD;
|
||||
|
||||
//if (inDto.IsBaseLine)
|
||||
//{
|
||||
// return NoTargetAssessment.NA.GetEnumInt();
|
||||
//}
|
||||
if (inDto.IsBaseLine)
|
||||
{
|
||||
return NoTargetAssessment.NA.GetEnumInt();
|
||||
}
|
||||
|
||||
var tableRows = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.NonTargetLesions).SelectMany(x => x.TableRowInfoList).ToList();
|
||||
|
||||
|
|
Loading…
Reference in New Issue