修改一版
parent
2741678aeb
commit
2d9a6898fa
|
@ -133,6 +133,17 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
public ReadingTaskState ReadingTaskState { get; set; }
|
||||
}
|
||||
|
||||
public class GetReadingPastResultListOutDto
|
||||
{
|
||||
public Guid TaskId { get; set; }
|
||||
public string TaskName { get; set; }
|
||||
}
|
||||
|
||||
public class GetReadingPastResultListInDto
|
||||
{
|
||||
public Guid TrialId { get; set; }
|
||||
}
|
||||
|
||||
public class SaveJudgeVisitTaskResult
|
||||
{
|
||||
public Guid VisitTaskId { get; set; }
|
||||
|
|
|
@ -379,6 +379,18 @@ namespace IRaCIS.Application.Services
|
|||
return ResponseOutput.Ok(result);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取既往结果
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<List<GetReadingPastResultListOutDto>> GetReadingPastResultList(GetReadingPastResultListInDto inDto)
|
||||
{
|
||||
var readingPastResultListawait =await _visitTaskRepository.Where(x => x.TrialId == inDto.TrialId && x.DoctorUserId == _userInfo.Id)
|
||||
.ProjectTo<GetReadingPastResultListOutDto>(_mapper.ConfigurationProvider).ToListAsync();
|
||||
return readingPastResultListawait;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 找子问题
|
||||
/// </summary>
|
||||
|
|
|
@ -75,6 +75,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
#region IR阅片
|
||||
CreateMap<ReadingQuestionTrial, GetTrialReadingQuestionOutDto>()
|
||||
.ForMember(x=>x.ReadingQuestionTrialId, y=>y.MapFrom(z=>z.Id));
|
||||
|
||||
CreateMap<VisitTask, GetReadingPastResultListOutDto>();
|
||||
#endregion
|
||||
|
||||
|
||||
|
|
|
@ -194,6 +194,16 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
|
||||
public bool IsFollowJudgeTaskAutoAssign { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 阅片是否显示受试者信息
|
||||
/// </summary>
|
||||
public bool IsReadingShowSubjectInfo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 阅片是否显示既往结果
|
||||
/// </summary>
|
||||
public bool IsReadingShowPreviousResults { get; set; }
|
||||
|
||||
public TaskAllocateDefaultState FollowJudgeTaskAutoAssignDefaultState { get; set; }
|
||||
}
|
||||
|
||||
|
@ -204,6 +214,16 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
public ReadingTaskViewMethod ReadingTaskViewEnum { get; set; }
|
||||
|
||||
public bool IsReadingTaskViewInOrder { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 阅片是否显示受试者信息
|
||||
/// </summary>
|
||||
public bool IsReadingShowSubjectInfo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 阅片是否显示既往结果
|
||||
/// </summary>
|
||||
public bool IsReadingShowPreviousResults { get; set; }
|
||||
}
|
||||
|
||||
public class TrialJudgeTaskConfig
|
||||
|
|
|
@ -345,6 +345,16 @@ namespace IRaCIS.Core.Domain.Models
|
|||
//读片任务显示是否顺序
|
||||
public bool IsReadingTaskViewInOrder { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 阅片是否显示受试者信息
|
||||
/// </summary>
|
||||
public bool IsReadingShowSubjectInfo { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// 阅片是否显示既往结果
|
||||
/// </summary>
|
||||
public bool IsReadingShowPreviousResults { get; set; } = false;
|
||||
|
||||
|
||||
//public Guid? ReviewTypeId { get; set; } = Guid.Empty;
|
||||
|
||||
|
|
Loading…
Reference in New Issue