Uat_Study
parent
ea84e9e1a6
commit
aac8a5a1ff
|
@ -877,6 +877,7 @@ namespace IRaCIS.Application.Services
|
|||
IsMustGlobalReading = systemCriterion.IsMustGlobalReading,
|
||||
IseCRFShowInDicomReading=systemCriterion.IseCRFShowInDicomReading,
|
||||
IsGlobalReading = systemCriterion.IsMustGlobalReading ? true : trialCriterion.IsGlobalReading,
|
||||
IsReadingPeriod = systemCriterion.IsMustGlobalReading ? true : trialCriterion.IsReadingPeriod,
|
||||
}) ;
|
||||
|
||||
|
||||
|
|
|
@ -410,7 +410,7 @@ namespace IRaCIS.Application.Services
|
|||
|
||||
var readModule = await _readModuleRepository.Where(x => x.SubjectVisitId == taskinfo.SourceSubjectVisitId && x.TrialReadingCriterionId == taskinfo.TrialReadingCriterionId).FirstOrDefaultAsync();
|
||||
|
||||
if (criterion.IsGlobalReading && !criterion.IsGlobalTask && readModule != null)
|
||||
if (criterion.IsReadingPeriod && !criterion.IsGlobalReading && readModule != null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -456,7 +456,7 @@ namespace IRaCIS.Application.Services
|
|||
x.IsArbitrationReading,
|
||||
x.ArbitrationRule,
|
||||
x.IsGlobalReading,
|
||||
x.IsGlobalTask,
|
||||
x.IsReadingPeriod,
|
||||
}).FirstNotNullAsync();
|
||||
|
||||
var noteEqual = false;
|
||||
|
@ -676,7 +676,7 @@ namespace IRaCIS.Application.Services
|
|||
(visitTask.SourceSubjectVisitId != null && criterionInfo.ArbitrationRule == ArbitrationRule.Visit)
|
||||
||(visitTask.SouceReadModuleId != null && criterionInfo.ArbitrationRule == ArbitrationRule.Reading)
|
||||
// 全局访视任务仲裁
|
||||
||(visitTask.SourceSubjectVisitId != null && criterionInfo.ArbitrationRule == ArbitrationRule.Reading&& criterionInfo.IsGlobalReading&&!criterionInfo.IsGlobalTask)
|
||||
||(visitTask.SourceSubjectVisitId != null && criterionInfo.ArbitrationRule == ArbitrationRule.Reading&& criterionInfo.IsReadingPeriod&&!criterionInfo.IsGlobalReading)
|
||||
|
||||
|
||||
)
|
||||
|
|
|
@ -115,6 +115,7 @@ namespace IRaCIS.Application.Services
|
|||
x.IsReadingTaskViewInOrder,
|
||||
x.IsOncologyReading,
|
||||
x.IsGlobalReading,
|
||||
x.IsReadingPeriod,
|
||||
}).FirstNotNullAsync();
|
||||
|
||||
return (pageOutput, new
|
||||
|
@ -127,6 +128,7 @@ namespace IRaCIS.Application.Services
|
|||
IsExistsVisitClinicalData = await _clinicalDataTrialSetRepository.AnyAsync(x => x.TrialId == dto.TrialId && x.ClinicalDataLevel == ClinicalLevel.SubjectVisit && x.IsConfirm),
|
||||
IsExistsReadingClinicalData = await _clinicalDataTrialSetRepository.AnyAsync(x => x.TrialId == dto.TrialId && x.ClinicalDataLevel == ClinicalLevel.ImageRead && x.IsConfirm),
|
||||
IsGlobalReading= criterionInfo.IsGlobalReading,
|
||||
IsReadingPeriod=criterionInfo.IsReadingPeriod,
|
||||
|
||||
}) ;
|
||||
|
||||
|
|
|
@ -804,9 +804,9 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
public bool IseCRFShowInDicomReading { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否有全局阅片任务
|
||||
/// 是否有阅片期
|
||||
/// </summary>
|
||||
public bool IsGlobalTask { get; set; } = true;
|
||||
public bool IsReadingPeriod { get; set; } = true;
|
||||
|
||||
|
||||
public string GlobalUpdateType { get; set; } = string.Empty;
|
||||
|
|
|
@ -460,7 +460,7 @@ namespace IRaCIS.Core.Application
|
|||
await _readingQuestionCriterionTrialRepository.UpdatePartialFromQueryAsync(inDto.TrialReadingCriterionId, x => new ReadingQuestionCriterionTrial()
|
||||
{
|
||||
ReadingTool=inDto.ReadingTool,
|
||||
IsGlobalTask=inDto.IsGlobalTask,
|
||||
IsReadingPeriod=inDto.IsReadingPeriod,
|
||||
//DigitPlaces=inDto.DigitPlaces,
|
||||
IsReadingTaskViewInOrder =inDto.IsReadingTaskViewInOrder,
|
||||
ReadingTaskViewEnum = inDto.ReadingTaskViewEnum,
|
||||
|
|
|
@ -111,7 +111,7 @@ namespace IRaCIS.Core.Application.Triggers
|
|||
|
||||
if (!subjectVisit.IsBaseLine)
|
||||
{
|
||||
var criterionList = await _repository.Where<ReadingQuestionCriterionTrial>(x => x.TrialId == trialId && x.IsConfirm && x.IsGlobalReading && x.IsReadingTaskViewInOrder).ToListAsync();
|
||||
var criterionList = await _repository.Where<ReadingQuestionCriterionTrial>(x => x.TrialId == trialId && x.IsConfirm && x.IsReadingPeriod && x.IsReadingTaskViewInOrder).ToListAsync();
|
||||
foreach (var item in criterionList)
|
||||
{
|
||||
ReadingPeriodSet? readingPeriodSet = await _readingPeriodSetRepository.FirstOrDefaultNoTrackingAsync(x => x.TrialId == trialId && x.IsGlobal && x.TrialReadingCriterionId == item.Id);
|
||||
|
|
|
@ -167,15 +167,18 @@ namespace IRaCIS.Core.Domain.Models
|
|||
/// </summary>
|
||||
public ReadingMethod ReadingType { get; set; } = ReadingMethod.Double;
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 阅片期
|
||||
/// 是否有阅片期
|
||||
/// </summary>
|
||||
public bool IsReadingPeriod { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 是否生成全局阅片任务
|
||||
/// </summary>
|
||||
public bool IsGlobalReading { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 是否有全局阅片任务
|
||||
/// </summary>
|
||||
public bool IsGlobalTask { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 仲裁阅片
|
||||
|
|
Loading…
Reference in New Issue