修改一版

Test.EIImageViewer
he 2022-07-13 09:13:42 +08:00
parent 2d6d344be7
commit a273238d59
6 changed files with 126 additions and 74 deletions

View File

@ -30,6 +30,19 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// 是否启用 /// 是否启用
/// </summary> /// </summary>
public bool IsEnable { get; set; } public bool IsEnable { get; set; }
/// <summary>
/// 表单类型
/// </summary>
public FormType FormType { get; set; }
/// <summary>
/// 修约小数点
/// </summary>
public int? DigitPlaces { get; set; } = 2;
} }
@ -608,6 +621,20 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public bool IsBeUsed { get; set; } = false; public bool IsBeUsed { get; set; } = false;
/// <summary>
/// 表单类型
/// </summary>
public FormType FormType { get; set; }
/// <summary>
/// 修约小数点
/// </summary>
public int? DigitPlaces { get; set; } = 2;
/// <summary> /// <summary>
/// 是否是系统数据 /// 是否是系统数据
/// </summary> /// </summary>

View File

@ -292,66 +292,84 @@ namespace IRaCIS.Core.Application.Contracts
/// </summary> /// </summary>
public Guid TrialId { get; set; } public Guid TrialId { get; set; }
/// <summary>
/// 阅片方式
/// </summary>
public int ReadingMode { get; set; } = 1;
/// <summary> /// <summary>
/// 阅片平台 /// 阅片平台
/// </summary> /// </summary>
public int ImagePlatform { get; set; } = 1; public int ImagePlatform { get; set; } = 1;
/// <summary>
/// 全局阅片
/// </summary>
public bool IsGlobalReading { get; set; } = true;
/// <summary>
/// 仲裁规则
/// </summary>
public int ArbitrationRule { get; set; } = 2;
/// <summary>
/// 阅片模式
/// </summary>
public ReadingMethod ReadingType { get; set; } = ReadingMethod.Double;
/// <summary>
/// 仲裁阅片
/// </summary>
public bool? IsArbitrationReading { get; set; } = true;
/// <summary>
/// 肿瘤学阅片
/// </summary>
public bool IsClinicalReading { get; set; }
/// <summary>
/// 读片任务显示是否顺序
/// </summary>
public bool IsReadingTaskViewInOrder { get; set; } = true;
/// <summary> /// <summary>
/// 任务组织级别 /// 任务组织级别
/// </summary> /// </summary>
public ReadingTaskViewMethod ReadingTaskViewEnum { get; set; } public ReadingTaskViewMethod ReadingTaskViewEnum { get; set; }
/// <summary> /// <summary>
/// 像是否有标注 /// 影像是否有标注
/// </summary> /// </summary>
public bool IsImageStandard { get; set; } public bool IsImageStandard { get; set; }
/// <summary> /// <summary>
/// 阅片是否显示受试者信息 /// IR阅片是否显示受试者信息
/// </summary> /// </summary>
public bool IsReadingShowSubjectInfo { get; set; } = false; public bool IsReadingShowSubjectInfo { get; set; } = false;
/// <summary> /// <summary>
/// 阅片是否显示既往结果 /// IR阅片是否显示既往结果
/// </summary> /// </summary>
public bool IsReadingShowPreviousResults { get; set; } = false; public bool IsReadingShowPreviousResults { get; set; } = false;
/// <summary>
/// 修约小数点
/// </summary>
public int? DigitPlaces { get; set; } = 2;
/// <summary>
/// 仲裁规则/对象
/// </summary>
public int ArbitrationRule { get; set; } = 2;
///// <summary>
///// 全局阅片
///// </summary>
//public bool IsGlobalReading { get; set; } = true;
///// <summary>
///// 阅片方式
///// </summary>
//public int ReadingMode { get; set; } = 1;
///// <summary>
///// 阅片模式
///// </summary>
//public ReadingMethod ReadingType { get; set; } = ReadingMethod.Double;
///// <summary>
///// 仲裁阅片
///// </summary>
//public bool? IsArbitrationReading { get; set; } = true;
///// <summary>
///// 肿瘤学阅片
///// </summary>
//public bool IsClinicalReading { get; set; }
///// <summary>
///// 读片任务显示是否顺序
///// </summary>
//public bool IsReadingTaskViewInOrder { get; set; } = true;
/// <summary> /// <summary>
/// 项目标准集合 /// 项目标准集合
/// </summary> /// </summary>
@ -415,63 +433,43 @@ namespace IRaCIS.Core.Application.Contracts
/// </summary> /// </summary>
public Guid TrialId { get; set; } public Guid TrialId { get; set; }
/// <summary>
/// 阅片方式
/// </summary>
public int ReadingMode { get; set; } = 1;
/// <summary> /// <summary>
/// 阅片平台 /// 阅片平台
/// </summary> /// </summary>
public int ImagePlatform { get; set; } = 1; public int ImagePlatform { get; set; } = 1;
/// <summary>
/// 全局阅片
/// </summary>
public bool IsGlobalReading { get; set; } = true;
/// <summary>
/// 阅片模式
/// </summary>
public ReadingMethod ReadingType { get; set; } = ReadingMethod.Double;
/// <summary>
/// 仲裁阅片
/// </summary>
public bool? IsArbitrationReading { get; set; } = true;
/// <summary>
/// 肿瘤学阅片
/// </summary>
public bool IsClinicalReading { get; set; }
/// <summary>
/// 读片任务显示是否顺序
/// </summary>
public bool IsReadingTaskViewInOrder { get; set; } = true;
/// <summary> /// <summary>
/// 任务组织级别 /// 任务组织级别
/// </summary> /// </summary>
public ReadingTaskViewMethod ReadingTaskViewEnum { get; set; } public ReadingTaskViewMethod ReadingTaskViewEnum { get; set; }
/// <summary> /// <summary>
/// 像是否有标注 /// 影像是否有标注
/// </summary> /// </summary>
public bool IsImageStandard { get; set; } public bool IsImageStandard { get; set; }
/// <summary> /// <summary>
/// 阅片是否显示受试者信息 /// IR阅片是否显示受试者信息
/// </summary> /// </summary>
public bool IsReadingShowSubjectInfo { get; set; } = false; public bool IsReadingShowSubjectInfo { get; set; } = false;
/// <summary> /// <summary>
/// 阅片是否显示既往结果 /// IR阅片是否显示既往结果
/// </summary> /// </summary>
public bool IsReadingShowPreviousResults { get; set; } = false; public bool IsReadingShowPreviousResults { get; set; } = false;
/// <summary> /// <summary>
/// 仲裁规则 /// 修约小数点
/// </summary>
public int? DigitPlaces { get; set; } = 2;
/// <summary>
/// 仲裁规则/对象
/// </summary> /// </summary>
public int ArbitrationRule { get; set; } = 2; public int ArbitrationRule { get; set; } = 2;
} }

View File

@ -81,18 +81,14 @@ namespace IRaCIS.Core.Application
{ {
await _trialRepository.UpdatePartialFromQueryAsync(inDto.TrialId, x => new Trial() await _trialRepository.UpdatePartialFromQueryAsync(inDto.TrialId, x => new Trial()
{ {
ReadingMode = inDto.ReadingMode, DigitPlaces=inDto.DigitPlaces,
ReadingType = inDto.ReadingType,
IsArbitrationReading = inDto.IsArbitrationReading,
IsReadingTaskViewInOrder = inDto.IsReadingTaskViewInOrder,
ReadingTaskViewEnum = inDto.ReadingTaskViewEnum, ReadingTaskViewEnum = inDto.ReadingTaskViewEnum,
IsImageStandard = inDto.IsImageStandard, IsImageStandard = inDto.IsImageStandard,
IsReadingShowSubjectInfo = inDto.IsReadingShowSubjectInfo, IsReadingShowSubjectInfo = inDto.IsReadingShowSubjectInfo,
IsReadingShowPreviousResults = inDto.IsReadingShowPreviousResults, IsReadingShowPreviousResults = inDto.IsReadingShowPreviousResults,
IsGlobalReading = inDto.IsGlobalReading,
ImagePlatform=inDto.ImagePlatform, ImagePlatform=inDto.ImagePlatform,
ArbitrationRule=inDto.ArbitrationRule, ArbitrationRule=inDto.ArbitrationRule,
IsClinicalReading =inDto.IsClinicalReading,
}); });
var result = await _trialRepository.SaveChangesAsync(); var result = await _trialRepository.SaveChangesAsync();

View File

@ -171,6 +171,23 @@ namespace IRaCIS.Core.Domain.Share
SubjectVisit = 1 SubjectVisit = 1
} }
public enum FormType
{
None=0,
/// <summary>
/// 单页
/// </summary>
SinglePage=1,
/// <summary>
/// 多页
/// </summary>
MultiplePage = 2,
}
//分配默认状态 //分配默认状态
public enum TaskAllocateDefaultState public enum TaskAllocateDefaultState
{ {

View File

@ -59,6 +59,18 @@ namespace IRaCIS.Core.Domain.Models
/// </summary> /// </summary>
public bool IsConfirm { get; set; } public bool IsConfirm { get; set; }
/// <summary>
/// 表单类型
/// </summary>
public FormType FormType { get; set; }
/// <summary>
/// 修约小数点
/// </summary>
public int? DigitPlaces { get; set; } = 2;
/// <summary> /// <summary>
/// 项目 /// 项目
/// </summary> /// </summary>

View File

@ -374,6 +374,8 @@ namespace IRaCIS.Core.Domain.Models
/// </summary> /// </summary>
public bool IsImageStandard { get; set; } public bool IsImageStandard { get; set; }
//public Guid? ReviewTypeId { get; set; } = Guid.Empty; //public Guid? ReviewTypeId { get; set; } = Guid.Empty;