Uat_Study
parent
57323bc3f3
commit
dfab80657b
|
@ -137,7 +137,7 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
result.TaskList.ForEach(x =>
|
result.TaskList.ForEach(x =>
|
||||||
{
|
{
|
||||||
x.AfterQuestionList = x.BeforeQuestionList.GroupJoin(
|
x.AfterQuestionList = x.BeforeQuestionList.Where(x=>x.IsJudgeQuestion).GroupJoin(
|
||||||
globalReadingQuestion
|
globalReadingQuestion
|
||||||
, l => new { a = l.QuestionId, b = x.VisitTaskId }
|
, l => new { a = l.QuestionId, b = x.VisitTaskId }
|
||||||
, r => new { a = r.QuestionId, b = r.TaskId }
|
, r => new { a = r.QuestionId, b = r.TaskId }
|
||||||
|
|
|
@ -718,6 +718,10 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async Task<string> GetSiteVisitForTumorEvaluation(ReadingCalculateDto inDto)
|
public async Task<string> GetSiteVisitForTumorEvaluation(ReadingCalculateDto inDto)
|
||||||
{
|
{
|
||||||
|
if(inDto.IsBaseLine)
|
||||||
|
{
|
||||||
|
return VisitTumorEvaluation.NA.GetEnumInt();
|
||||||
|
}
|
||||||
var isPD= await ChangeLastTaskSiteVisitForTumorEvaluation(inDto);
|
var isPD= await ChangeLastTaskSiteVisitForTumorEvaluation(inDto);
|
||||||
var newLesionsCount = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.NewLesionsCount).Select(x => x.Answer).FirstOrDefault().IsNullOrEmptyReturn0();
|
var newLesionsCount = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.NewLesionsCount).Select(x => x.Answer).FirstOrDefault().IsNullOrEmptyReturn0();
|
||||||
var baseLineLesionsCount = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.BaseLineLesionsCount).Select(x => x.Answer).FirstOrDefault().IsNullOrEmptyReturn0();
|
var baseLineLesionsCount = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.BaseLineLesionsCount).Select(x => x.Answer).FirstOrDefault().IsNullOrEmptyReturn0();
|
||||||
|
|
|
@ -1046,7 +1046,12 @@ namespace IRaCIS.Core.Domain.Share
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 非PD
|
/// 非PD
|
||||||
/// </summary>
|
/// </summary>
|
||||||
NoPD = 4
|
NoPD = 4,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// NA
|
||||||
|
/// </summary>
|
||||||
|
NA = 5
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue