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