代码修改
This commit is contained in:
@@ -25,7 +25,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
public decimal LowSod { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否存在靶病灶
|
||||
/// 是否存在靶病灶 (当前访视 至少一个靶病灶的状态为存在)
|
||||
/// </summary>
|
||||
public bool ExistsTargetLesion { get; set; }
|
||||
|
||||
|
||||
@@ -1438,8 +1438,8 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||
|
||||
TargetLesionCalculateDto resultData = new TargetLesionCalculateDto()
|
||||
{
|
||||
// 是否存在靶病灶
|
||||
ExistsTargetLesion= tableQuestion.Count()>0,
|
||||
// 是否存在靶病灶 (当前访视 至少一个靶病灶的状态为存在)
|
||||
ExistsTargetLesion=false,
|
||||
|
||||
// 最低SOD
|
||||
LowSod=(await GetLowSODVisit(inDto)).Select(x=>x.SOD).FirstOrDefault(),
|
||||
@@ -1506,6 +1506,9 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||
|
||||
foreach (var item in tableQuestion)
|
||||
{
|
||||
// 是否存在靶病灶 (当前访视 至少一个靶病灶的状态为存在)
|
||||
resultData.ExistsTargetLesion = resultData.ExistsTargetLesion || item.TableQuestionList.Where(x => x.QuestionMark == QuestionMark.State).Select(x => x.Answer).FirstOrDefault() == NoTargetState.Exist.GetEnumInt();
|
||||
|
||||
if (item.TableQuestionList.Any(x => x.QuestionMark == QuestionMark.IsLymph && x.Answer.EqEnum(YesOrNoOrNa.Yes)))
|
||||
{
|
||||
// 淋巴结的短径
|
||||
|
||||
Reference in New Issue
Block a user