Compare commits
No commits in common. "acad258319f34310e8c7ab1c071931d50ee4a863" and "f524aa5e5763d28b58c4d9660e5e5b20e81253aa" have entirely different histories.
acad258319
...
f524aa5e57
|
@ -32,19 +32,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
public bool IsApplyHeavyReading { get; set; } = false;
|
public bool IsApplyHeavyReading { get; set; } = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class GetNextIRMedicalFeedbackInDto
|
public class GetIRMedicalFeedbackListInDto:PageInput
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 项目Id
|
|
||||||
/// </summary>
|
|
||||||
[NotDefault]
|
|
||||||
public Guid TrialId { get; set; }
|
|
||||||
|
|
||||||
public Guid? TrialReadingCriterionId { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public class GetIRMedicalFeedbackListInDto:PageInput
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 项目Id
|
/// 项目Id
|
||||||
|
@ -90,13 +78,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
public bool? IsInvalid { get; set; }
|
public bool? IsInvalid { get; set; }
|
||||||
|
|
||||||
public Guid? TrialReadingCriterionId { get; set; }
|
public Guid? TrialReadingCriterionId { get; set; }
|
||||||
|
}
|
||||||
/// <summary>
|
|
||||||
/// 获取不加急的
|
|
||||||
/// </summary>
|
|
||||||
public bool IsNotHaveSigned { get; set; } = false;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public class GetIRMedicalFeedbackListOutDto
|
public class GetIRMedicalFeedbackListOutDto
|
||||||
{
|
{
|
||||||
|
|
|
@ -780,45 +780,13 @@ namespace IRaCIS.Core.Application.Service
|
||||||
return ResponseOutput.Result(result);
|
return ResponseOutput.Result(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取下一个IR医学反馈
|
/// 获取IR医学审核信息
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="inDto"></param>
|
/// <param name="inDto"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
/// <exception cref="BusinessValidationFailedException"></exception>
|
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public async Task<GetIRMedicalFeedbackListOutDto> GetNextIRMedicalFeedback(GetNextIRMedicalFeedbackInDto inDto)
|
|
||||||
{
|
|
||||||
var list = await GetIRMedicalFeedbackList(new GetIRMedicalFeedbackListInDto()
|
|
||||||
{
|
|
||||||
TrialId=inDto.TrialId,
|
|
||||||
IsNotHaveSigned=true,
|
|
||||||
TrialReadingCriterionId=inDto.TrialReadingCriterionId,
|
|
||||||
PageIndex=1,
|
|
||||||
PageSize=1,
|
|
||||||
});
|
|
||||||
|
|
||||||
if (list.CurrentPageData.Count() > 0)
|
|
||||||
{
|
|
||||||
return list.CurrentPageData[0];
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
throw new BusinessValidationFailedException(_localizer["MedicalReview_IRFinish"], ApiResponseCodeEnum.CloseCurrentWindows);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 获取IR医学审核信息
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="inDto"></param>
|
|
||||||
/// <returns></returns>
|
|
||||||
[HttpPost]
|
|
||||||
public async Task<PageOutput<GetIRMedicalFeedbackListOutDto>> GetIRMedicalFeedbackList(GetIRMedicalFeedbackListInDto inDto)
|
public async Task<PageOutput<GetIRMedicalFeedbackListOutDto>> GetIRMedicalFeedbackList(GetIRMedicalFeedbackListInDto inDto)
|
||||||
{
|
{
|
||||||
var taskMedicalReviewquery = _taskMedicalReviewRepository.Where(x => x.TrialId == inDto.TrialId).Include(x => x.VisitTask)
|
var taskMedicalReviewquery = _taskMedicalReviewRepository.Where(x => x.TrialId == inDto.TrialId).Include(x => x.VisitTask)
|
||||||
|
@ -827,8 +795,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
.WhereIf(!inDto.TaskBlindName.IsNullOrEmpty(), x => x.VisitTask.TaskBlindName == inDto.TaskBlindName)
|
.WhereIf(!inDto.TaskBlindName.IsNullOrEmpty(), x => x.VisitTask.TaskBlindName == inDto.TaskBlindName)
|
||||||
.WhereIf(inDto.IsUrgent != null, x => x.VisitTask.IsUrgent == inDto.IsUrgent!)
|
.WhereIf(inDto.IsUrgent != null, x => x.VisitTask.IsUrgent == inDto.IsUrgent!)
|
||||||
.WhereIf(inDto.AuditState != null, x => x.AuditState == inDto.AuditState!)
|
.WhereIf(inDto.AuditState != null, x => x.AuditState == inDto.AuditState!)
|
||||||
.WhereIf(inDto.IsNotHaveSigned, x => x.AuditState != MedicalReviewAuditState.HaveSigned)
|
.WhereIf(inDto.ReadingCategory != null, x => x.VisitTask.ReadingCategory == inDto.ReadingCategory!)
|
||||||
.WhereIf(inDto.ReadingCategory != null, x => x.VisitTask.ReadingCategory == inDto.ReadingCategory!)
|
|
||||||
.WhereIf(inDto.AuditAdviceEnum != null, x => x.AuditAdviceEnum == inDto.AuditAdviceEnum!)
|
.WhereIf(inDto.AuditAdviceEnum != null, x => x.AuditAdviceEnum == inDto.AuditAdviceEnum!)
|
||||||
.WhereIf(inDto.DoctorUserIdeaEnum != null, x => x.DoctorUserIdeaEnum == inDto.DoctorUserIdeaEnum!)
|
.WhereIf(inDto.DoctorUserIdeaEnum != null, x => x.DoctorUserIdeaEnum == inDto.DoctorUserIdeaEnum!)
|
||||||
.WhereIf(inDto.IsClosedDialog != null, x => x.IsClosedDialog == inDto.IsClosedDialog!)
|
.WhereIf(inDto.IsClosedDialog != null, x => x.IsClosedDialog == inDto.IsClosedDialog!)
|
||||||
|
|
Loading…
Reference in New Issue