Uat_Study
parent
6be2b2183a
commit
405b0c6e59
|
@ -1026,6 +1026,8 @@ namespace IRaCIS.Core.Application.Service.Allocation
|
|||
#endregion
|
||||
|
||||
|
||||
var readingTool = await _trialRepository.Where(x => x.Id == iRUnReadSubjectQuery.TrialId).Select(x => x.ReadingTool).FirstNotNullAsync();
|
||||
|
||||
#region 按照Subject 维度
|
||||
var isReadingTaskViewInOrder = await _trialRepository.Where(x => x.Id == iRUnReadSubjectQuery.TrialId).Select(x => x.IsReadingTaskViewInOrder).FirstOrDefaultAsync();
|
||||
if (isReadingTaskViewInOrder)
|
||||
|
@ -1064,6 +1066,7 @@ namespace IRaCIS.Core.Application.Service.Allocation
|
|||
{
|
||||
RandomReadInfo = new IRUnReadOutDto(),
|
||||
IsReadingTaskViewInOrder = isReadingTaskViewInOrder,
|
||||
ReadingTool = readingTool,
|
||||
});
|
||||
}
|
||||
else
|
||||
|
@ -1086,6 +1089,7 @@ namespace IRaCIS.Core.Application.Service.Allocation
|
|||
{
|
||||
IsReadingTaskViewInOrder = isReadingTaskViewInOrder,
|
||||
RandomReadInfo = iRUnReadOut,
|
||||
ReadingTool= readingTool,
|
||||
});
|
||||
|
||||
}
|
||||
|
|
|
@ -84,6 +84,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
|
||||
public class GetReadingReportEvaluationOutDto
|
||||
{
|
||||
public string TumorEvaluate { get; set; }
|
||||
public ReadingTaskState ReadingTaskState { get; set; }
|
||||
|
||||
public List<VisitTaskInfo> VisitTaskList { get; set; }
|
||||
|
|
|
@ -17,5 +17,7 @@ namespace IRaCIS.Core.Application.Interfaces
|
|||
|
||||
|
||||
Task<VerifyVisitTaskQuestionsOutDto> VerifyVisitTaskQuestions(VerifyVisitTaskQuestionsInDto inDto);
|
||||
|
||||
Task<string> GetReportTumor(Guid visitTaskId);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -212,6 +212,16 @@ namespace IRaCIS.Core.Application.Service
|
|||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取报告整体整体评估
|
||||
/// </summary>
|
||||
/// <param name="visitTaskId"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<string> GetReportTumor(Guid visitTaskId)
|
||||
{
|
||||
return await GetTumor(await GetReadingCalculateDto(visitTaskId));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 验证访视提交
|
||||
/// </summary>
|
||||
|
|
|
@ -305,7 +305,7 @@ namespace IRaCIS.Application.Services
|
|||
{
|
||||
GetReadingReportEvaluationOutDto result = new GetReadingReportEvaluationOutDto();
|
||||
|
||||
|
||||
result.TumorEvaluate = await _readingCalculateService.GetReportTumor(indto.VisitTaskId);
|
||||
var visitTaskInfo = await _visitTaskRepository.Where(x => x.Id == indto.VisitTaskId).FirstNotNullAsync();
|
||||
result.ReadingTaskState = visitTaskInfo.ReadingTaskState;
|
||||
var taskInfoList = await _visitTaskRepository.Where(x => (x.SubjectId == visitTaskInfo.SubjectId && x.TaskState == TaskState.Effect
|
||||
|
|
Loading…
Reference in New Issue