@@ -1,104 +1,117 @@
|
||||
|
||||
|
||||
using System;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace IRaCIS.Core.Domain.Models;
|
||||
|
||||
[Comment("受试者 - 阅片模块")]
|
||||
[Table("ReadModule")]
|
||||
public class ReadModule : BaseFullDeleteAuditEntity
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
{
|
||||
#region 导航属性
|
||||
///<summary>
|
||||
///读片模块
|
||||
///</summary>
|
||||
[Table("ReadModule")]
|
||||
public class ReadModule : BaseFullDeleteAuditEntity
|
||||
{
|
||||
#region 导航属性
|
||||
|
||||
[JsonIgnore]
|
||||
/// <summary>
|
||||
/// 受试者
|
||||
/// </summary>
|
||||
[ForeignKey("SubjectId")]
|
||||
[JsonIgnore]
|
||||
/// <summary>
|
||||
/// 受试者
|
||||
/// </summary>
|
||||
[ForeignKey("SubjectId")]
|
||||
|
||||
public Subject Subject { get; set; }
|
||||
public Subject Subject { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
/// <summary>
|
||||
/// 阅片期配置
|
||||
/// </summary>
|
||||
[ForeignKey("ReadingPeriodSetId")]
|
||||
public ReadingPeriodSet ReadingPeriodSet { get; set; }
|
||||
[JsonIgnore]
|
||||
/// <summary>
|
||||
/// 阅片期配置
|
||||
/// </summary>
|
||||
[ForeignKey("ReadingPeriodSetId")]
|
||||
public ReadingPeriodSet ReadingPeriodSet { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
/// <summary>
|
||||
/// 访视
|
||||
/// </summary>
|
||||
[ForeignKey("SubjectVisitId")]
|
||||
public SubjectVisit SubjectVisit { get; set; }
|
||||
[JsonIgnore]
|
||||
/// <summary>
|
||||
/// 访视
|
||||
/// </summary>
|
||||
[ForeignKey("SubjectVisitId")]
|
||||
public SubjectVisit SubjectVisit { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("TrialId")]
|
||||
public Trial Trial { get; set; }
|
||||
[JsonIgnore]
|
||||
[ForeignKey("TrialId")]
|
||||
public Trial Trial { get; set; }
|
||||
|
||||
|
||||
[JsonIgnore]
|
||||
public List<ReadModuleCriterionFrom> ReadModuleCriterionFromList { get; set; } = new List<ReadModuleCriterionFrom>();
|
||||
[JsonIgnore]
|
||||
public List<ReadModuleCriterionFrom> ReadModuleCriterionFromList { get; set; } = new List<ReadModuleCriterionFrom>();
|
||||
|
||||
|
||||
|
||||
[JsonIgnore]
|
||||
public List<VisitTask> ModuleTaskList { get; set; }
|
||||
[JsonIgnore]
|
||||
public ReadingQuestionCriterionTrial TrialReadingCriterion { get; set; }
|
||||
[JsonIgnore]
|
||||
public List<VisitTask> ModuleTaskList { get; set; }
|
||||
[JsonIgnore]
|
||||
public ReadingQuestionCriterionTrial TrialReadingCriterion { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public List<ReadingClinicalData> ReadingClinicalDataList { get; set; }
|
||||
#endregion
|
||||
[JsonIgnore]
|
||||
public List<ReadingClinicalData> ReadingClinicalDataList { get; set; }
|
||||
#endregion
|
||||
|
||||
public bool? IsClinicalDataBlind { get; set; }
|
||||
|
||||
[Comment("临床数据是否完整")]
|
||||
public bool? IsClinicalDataComplete { get; set; }
|
||||
public Guid SubjectId { get; set; }
|
||||
|
||||
[Comment("CRC是否正在申请撤回")]
|
||||
public bool IsCRCApplicationRevoke { get; set; }
|
||||
public Guid TrialReadingCriterionId { get; set; }
|
||||
|
||||
public bool IsCRCConfirm { get; set; }
|
||||
/// <summary>
|
||||
/// 模块类型
|
||||
/// </summary>
|
||||
public ModuleTypeEnum ModuleType { get; set; }
|
||||
|
||||
public bool IsNotNeedPMConfirm { get; set; }
|
||||
/// <summary>
|
||||
/// 模块名称
|
||||
/// </summary>
|
||||
public string ModuleName { get; set; } = string.Empty;
|
||||
|
||||
public bool IsPMConfirm { get; set; }
|
||||
/// <summary>
|
||||
/// 是否加急
|
||||
/// </summary>
|
||||
public bool? IsUrgent { get; set; }
|
||||
|
||||
[Comment(" 是否加急")]
|
||||
public bool? IsUrgent { get; set; }
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
|
||||
public Guid? LastVisitIdSetId { get; set; }
|
||||
|
||||
[Comment(" 模块名称")]
|
||||
public string ModuleName { get; set; } = null!;
|
||||
/// <summary>
|
||||
/// 阅片计划ID
|
||||
/// </summary>
|
||||
public Guid? ReadingPeriodSetId { get; set; }
|
||||
|
||||
[Comment(" 模块类型")]
|
||||
public ModuleTypeEnum ModuleType { get; set; }
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public Guid? ReadingPeriodSetId { get; set; }
|
||||
|
||||
public ReadingSetType ReadingSetType { get; set; }
|
||||
public bool IsCRCConfirm { get; set; } = false;
|
||||
|
||||
public ReadingStatusEnum ReadingStatus { get; set; } = ReadingStatusEnum.TaskAllocate;
|
||||
public bool IsPMConfirm { get; set; } = false;
|
||||
|
||||
public Guid? ReadModuleId { get; set; }
|
||||
public bool IsNotNeedPMConfirm { get; set; } = false;
|
||||
|
||||
[Comment(" 状态")]
|
||||
public int Status { get; set; }
|
||||
/// <summary>
|
||||
/// CRC是否正在申请撤回
|
||||
/// </summary>
|
||||
public bool IsCRCApplicationRevoke { get; set; } = false;
|
||||
|
||||
[Comment(" 受试者ID")]
|
||||
public Guid SubjectId { get; set; }
|
||||
|
||||
[Comment(" 访视ID")]
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
/// <summary>
|
||||
/// 临床数据是否完整
|
||||
/// </summary>
|
||||
public bool? IsClinicalDataComplete { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 临床数据是否盲化
|
||||
/// </summary>
|
||||
public bool? IsClinicalDataBlind { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 阅片配置的类型
|
||||
/// </summary>
|
||||
public ReadingSetType ReadingSetType { get; set; }
|
||||
|
||||
public ReadingStatusEnum ReadingStatus { get; set; } = ReadingStatusEnum.TaskAllocate;
|
||||
}
|
||||
|
||||
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public Guid TrialReadingCriterionId { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user