Compare commits
No commits in common. "acad258319f34310e8c7ab1c071931d50ee4a863" and "f524aa5e5763d28b58c4d9660e5e5b20e81253aa" have entirely different histories.
acad258319
...
f524aa5e57
|
@ -32,18 +32,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
public bool IsApplyHeavyReading { get; set; } = false;
|
||||
}
|
||||
|
||||
public class GetNextIRMedicalFeedbackInDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 项目Id
|
||||
/// </summary>
|
||||
[NotDefault]
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public Guid? TrialReadingCriterionId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class GetIRMedicalFeedbackListInDto:PageInput
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -90,12 +78,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
public bool? IsInvalid { get; set; }
|
||||
|
||||
public Guid? TrialReadingCriterionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取不加急的
|
||||
/// </summary>
|
||||
public bool IsNotHaveSigned { get; set; } = false;
|
||||
|
||||
}
|
||||
|
||||
public class GetIRMedicalFeedbackListOutDto
|
||||
|
|
|
@ -780,38 +780,6 @@ namespace IRaCIS.Core.Application.Service
|
|||
return ResponseOutput.Result(result);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取下一个IR医学反馈
|
||||
/// </summary>
|
||||
/// <param name="inDto"></param>
|
||||
/// <returns></returns>
|
||||
/// <exception cref="BusinessValidationFailedException"></exception>
|
||||
[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医学审核信息
|
||||
|
@ -827,7 +795,6 @@ namespace IRaCIS.Core.Application.Service
|
|||
.WhereIf(!inDto.TaskBlindName.IsNullOrEmpty(), x => x.VisitTask.TaskBlindName == inDto.TaskBlindName)
|
||||
.WhereIf(inDto.IsUrgent != null, x => x.VisitTask.IsUrgent == inDto.IsUrgent!)
|
||||
.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.AuditAdviceEnum != null, x => x.AuditAdviceEnum == inDto.AuditAdviceEnum!)
|
||||
.WhereIf(inDto.DoctorUserIdeaEnum != null, x => x.DoctorUserIdeaEnum == inDto.DoctorUserIdeaEnum!)
|
||||
|
|
Loading…
Reference in New Issue