diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicineQuestionViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicineQuestionViewModel.cs index 5863a4d40..6c8326c6a 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicineQuestionViewModel.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicineQuestionViewModel.cs @@ -79,6 +79,14 @@ namespace IRaCIS.Core.Application.ViewModel public Guid Id { get; set; } } + public class BatchDeteteCriterionMedicineQuestionInDto + { + public Guid TrialReadingCriterionId { get; set; } + + public List Ids { get; set; } + } + + public class TrialDataFromSystem : ReadingMedicineTrialQuestion { public Guid SystemQuestionId { get; set; } diff --git a/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicineQuestionService.cs b/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicineQuestionService.cs index f3384a70f..430c41ef7 100644 --- a/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicineQuestionService.cs +++ b/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicineQuestionService.cs @@ -452,13 +452,26 @@ namespace IRaCIS.Core.Application.Service } } + /// + /// 批量删除医学审核问题 + /// + /// + /// + [HttpPost] + public async Task BatchDeteteCriterionMedicineQuestion(BatchDeteteCriterionMedicineQuestionInDto inDto) + { + await _readingMedicineTrialQuestionRepository.BatchDeleteNoTrackingAsync(x => inDto.Ids.Contains(x.Id)); + var result= await _readingMedicineTrialQuestionRepository.SaveChangesAsync(); + return ResponseOutput.Result(result); + } - /// - /// 从系统里面选择问题添加到项目里面 - /// - /// - /// - [HttpPost] + + /// + /// 从系统里面选择问题添加到项目里面 + /// + /// + /// + [HttpPost] public async Task AddTrialDataFromSystem(AddTrialDataFromSystemInDto inDto) { // 直接写?? diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs index 0de3a7ab2..4a19798f6 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/DTO/TrialConfigDTO.cs @@ -355,6 +355,11 @@ namespace IRaCIS.Core.Application.Contracts } } + /// + /// 是否加急 + /// + public bool IsUrgent { get; set; } = false; + /// /// 阅片平台 /// @@ -940,7 +945,13 @@ namespace IRaCIS.Core.Application.Contracts /// public bool IsOncologyReading { get; set; } - public List TrialCriterionAdditionalAssessmentTypeList { get; set; }=new List(); + + /// + /// 是否加急 + /// + public bool IsUrgent { get; set; } = false; + + public List TrialCriterionAdditionalAssessmentTypeList { get; set; }=new List(); } diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs index 64e0c7b64..1ca1349a8 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialConfigService.cs @@ -596,6 +596,7 @@ namespace IRaCIS.Core.Application IsGlobalReading = inDto.IsGlobalReading, IsArbitrationReading = inDto.IsArbitrationReading, IsOncologyReading = inDto.IsOncologyReading, + IsUrgent= inDto.IsUrgent, IsAdditionalAssessment = inDto.IsAdditionalAssessment, IsAutoCreate = inDto.IsAutoCreate diff --git a/IRaCIS.Core.Domain/Reading/ReadingCriterion/ReadingQuestionCriterionTrial.cs b/IRaCIS.Core.Domain/Reading/ReadingCriterion/ReadingQuestionCriterionTrial.cs index df2bf30f4..c2b745161 100644 --- a/IRaCIS.Core.Domain/Reading/ReadingCriterion/ReadingQuestionCriterionTrial.cs +++ b/IRaCIS.Core.Domain/Reading/ReadingCriterion/ReadingQuestionCriterionTrial.cs @@ -116,9 +116,14 @@ namespace IRaCIS.Core.Domain.Models public CriterionType CriterionType { get; set; } /// - /// eCRF报告是否显示在图像页面 + /// 是否加急 /// - public bool IseCRFShowInDicomReading { get; set; } = false; + public bool IsUrgent { get; set; } = false; + + /// + /// eCRF报告是否显示在图像页面 + /// + public bool IseCRFShowInDicomReading { get; set; } = false; #region 阅片单元配置 新加