加字段

Uat_Study
hang 2022-07-06 14:52:27 +08:00
parent 03ddc55975
commit e902f29458
3 changed files with 28 additions and 17 deletions

View File

@ -106,6 +106,7 @@ namespace IRaCIS.Core.Application.ViewModel
public Guid? DoctorUserId { get; set; } public Guid? DoctorUserId { get; set; }
[JsonIgnore] [JsonIgnore]
public Guid? TaskConsistentRuleId { get; set; } public Guid? TaskConsistentRuleId { get; set; }
public bool IsHaveGeneratedTask { get; set; } public bool IsHaveGeneratedTask { get; set; }
} }

View File

@ -380,6 +380,7 @@ namespace IRaCIS.Core.Application.Service
TaskAllocationState = TaskAllocationState.Allocated, TaskAllocationState = TaskAllocationState.Allocated,
AllocateTime = DateTime.Now, AllocateTime = DateTime.Now,
ConsistentAnalysisTaskId=task.Id
}; };

View File

@ -122,24 +122,9 @@ namespace IRaCIS.Core.Domain.Models
public bool IsReReadingCreate { get; set; } public bool IsReReadingCreate { get; set; }
/// <summary>
/// 是否是一致性分析产生
/// </summary>
public bool IsAnalysisCreate { get; set; }
public string BlindSubjectCode { get; set; } = string.Empty;
public string BlindTrialSiteCode { get; set; } = string.Empty;
/// <summary> 裁判结果的任务ID </summary>
//一致性分析规则Id 用于最后统计
public Guid? TaskConsistentRuleId { get; set; }
/// <summary>
/// 裁判结果的任务ID
/// </summary>
public Guid? JudgeResultTaskId { get; set; } public Guid? JudgeResultTaskId { get; set; }
[ForeignKey("JudgeResultTaskId")] [ForeignKey("JudgeResultTaskId")]
@ -153,10 +138,34 @@ namespace IRaCIS.Core.Domain.Models
//随访任务号 取访视的号 计划外是 访视+0.1 裁判任务在访视任务上+0.002 全局任务在截止访视号上+0.03 肿瘤待定 //随访任务号 取访视的号 计划外是 访视+0.1 裁判任务在访视任务上+0.002 全局任务在截止访视号上+0.03 肿瘤待定
public decimal VisitTaskNum { get; set; } public decimal VisitTaskNum { get; set; }
#region 一致性分析的任务特有数据
/// <summary> /// <summary>
/// 是否和原数据有差异 /// 是否和原数据有差异
/// </summary> /// </summary>
public bool? IsDifferenceToOriginalData { get; set; } public bool? IsAnalysisDiffToOriginalData { get; set; }
/// <summary>
/// 是否是一致性分析产生
/// </summary>
public bool IsAnalysisCreate { get; set; }
public string BlindSubjectCode { get; set; } = string.Empty;
public string BlindTrialSiteCode { get; set; } = string.Empty;
//一致性分析规则Id 用于最后统计
public Guid? TaskConsistentRuleId { get; set; }
/// <summary>
/// 针对产生的一致性任务而言,这个字段存储的是原始任务
/// </summary>
public Guid? ConsistentAnalysisTaskId { get; set; }
#endregion
} }
} }