diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs index 70197b1d3..d995b91e6 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs @@ -352,7 +352,11 @@ namespace IRaCIS.Core.Application.Contracts //读片任务显示是否顺序 public bool IsReadingTaskViewInOrder { get; set; } = true; - + + /// + /// 阅片工具 + /// + public ReadingTool? ReadingTool { get; set; } /// /// 仲裁规则/对象 @@ -760,6 +764,11 @@ namespace IRaCIS.Core.Application.Contracts /// public Guid TrialId { get; set; } + /// + /// 阅片工具 + /// + public ReadingTool? ReadingTool { get; set; } + /// /// 阅片平台 diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs index bb6f0c08b..3430cc4d4 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs @@ -316,6 +316,7 @@ namespace IRaCIS.Core.Application { await _trialRepository.UpdatePartialFromQueryAsync(inDto.TrialId, x => new Trial() { + ReadingTool=inDto.ReadingTool, //DigitPlaces=inDto.DigitPlaces, IsReadingTaskViewInOrder=inDto.IsReadingTaskViewInOrder, ReadingTaskViewEnum = inDto.ReadingTaskViewEnum, diff --git a/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs b/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs index 10eb4e13d..dd4b76aa7 100644 --- a/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs +++ b/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs @@ -215,6 +215,13 @@ namespace IRaCIS.Core.Domain.Share Allocated = 2, } + public enum ReadingTool + { + Dicom=0, + + NoDicom=1, + } + public enum ArbitrationRule { //默认值 看是否需要项目初始化时就给默认值 1 或者2 diff --git a/IRaCIS.Core.Domain/Trial/Trial.cs b/IRaCIS.Core.Domain/Trial/Trial.cs index dfa126e71..8b4a986d6 100644 --- a/IRaCIS.Core.Domain/Trial/Trial.cs +++ b/IRaCIS.Core.Domain/Trial/Trial.cs @@ -396,6 +396,11 @@ namespace IRaCIS.Core.Domain.Models /// public DateTime? ReadingInfoSignTime { get; set; } + /// + /// Ƭ + /// + public ReadingTool? ReadingTool { get; set; } + //public Guid? ReviewTypeId { get; set; } = Guid.Empty; //[ForeignKey("ReviewTypeId")]