Compare commits

..

No commits in common. "34370a36af0d1800341c779fd3d0a4d1c6a1ed85" and "3bf616667eafd4f7fcff8a1f3ba3d57439008259" have entirely different histories.

2 changed files with 4 additions and 42 deletions

View File

@ -663,29 +663,6 @@ namespace IRaCIS.Core.Application.Service.RC
//SetChildParentQuestion(criterion.Id, trialId, systemQuestionList, readingQuestionTrialList);
//needAddQuestionList.AddRange(readingQuestionTrialList);
});
// 标准的默认值
foreach (var criterion in needAddCriterionList)
{
switch (criterion.CriterionType)
{
case CriterionType.IVUS:
criterion.IsImageFilter = true;
criterion.IsReadingTaskViewInOrder = ReadingOrder.SubjectRandom;
criterion.ImageDownloadEnum = ReadingImageDownload.Subejct;
criterion.ImageUploadEnum = ReadingImageUpload.IRReadingSubejctEnable;
break;
case CriterionType.OCT:
criterion.IsImageFilter = true;
criterion.IsReadingPeriod = false;
criterion.IsReadingTaskViewInOrder = ReadingOrder.SubjectRandom;
criterion.ImageDownloadEnum = ReadingImageDownload.Subejct;
criterion.ImageUploadEnum = ReadingImageUpload.IRReadingSubejctEnable;
break;
}
}
await _readingQuestionCriterionTrialRepository.AddRangeAsync(needAddCriterionList);
await _readingQuestionTrialRepository.AddRangeAsync(needAddQuestionList);
await _readingQuestionTrialRepository.SaveChangesAsync();

View File

@ -193,7 +193,7 @@ namespace IRaCIS.Core.Domain.Models
/// <summary>
/// 存在阅片期
/// 是否有阅片期
/// </summary>
public bool IsReadingPeriod { get; set; } = true;
@ -270,32 +270,20 @@ namespace IRaCIS.Core.Domain.Models
public bool IsAutoCreate { get; set; } = true;
#endregion
/// <summary>
/// 阅片过程下载影像
/// </summary>
public ReadingImageDownload ImageDownloadEnum { get; set; }
/// <summary>
/// 阅片过程上传影像
/// </summary>
public ReadingImageUpload ImageUploadEnum { get; set; }
/// <summary>
/// 是否影像筛选
/// </summary>
public bool IsImageFilter { get; set; }
}
public enum ReadingImageDownload
{
None = 0,
/// <summary>
/// 按病例
/// </summary>
Subejct = 1,
Subejct = 1,
Visit = 2,
}
@ -303,9 +291,6 @@ namespace IRaCIS.Core.Domain.Models
{
None = 0,
/// <summary>
/// 按病例
/// </summary>
IRReadingSubejctEnable = 1,
IRReadingVisitEnable = 2,