using System; using IRaCIS.Core.Domain.Share; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Collections.Generic; namespace IRaCIS.Core.Domain.Models { /// ///读片模块 /// [Table("ReadModule")] public class ReadModule : BaseFullDeleteAuditEntity { #region 导航属性 [JsonIgnore] /// /// 受试者 /// [ForeignKey("SubjectId")] public Subject Subject { get; set; } [JsonIgnore] /// /// 阅片期配置 /// [ForeignKey("ReadingPeriodSetId")] public ReadingPeriodSet ReadingPeriodSet { get; set; } [JsonIgnore] /// /// 访视 /// [ForeignKey("SubjectVisitId")] public SubjectVisit SubjectVisit { get; set; } [JsonIgnore] [ForeignKey("TrialId")] public Trial Trial { get; set; } [JsonIgnore] public List ReadModuleCriterionFromList { get; set; } = new List(); [JsonIgnore] public List ModuleTaskList { get; set; } [JsonIgnore] public ReadingQuestionCriterionTrial TrialReadingCriterion { get; set; } [JsonIgnore] public List ReadingClinicalDataList { get; set; } #endregion public Guid SubjectId { get; set; } public Guid TrialReadingCriterionId { get; set; } /// /// 模块类型 /// public ModuleTypeEnum ModuleType { get; set; } /// /// 模块名称 /// public string ModuleName { get; set; } /// /// 是否加急 /// public bool? IsUrgent { get; set; } public Guid SubjectVisitId { get; set; } /// /// 阅片计划ID /// public Guid? ReadingPeriodSetId { get; set; } public Guid TrialId { get; set; } public bool IsCRCConfirm { get; set; } = false; public bool IsPMConfirm { get; set; } = false; public bool IsNotNeedPMConfirm { get; set; } = false; /// /// CRC是否正在申请撤回 /// public bool IsCRCApplicationRevoke { get; set; } = false; /// /// 临床数据是否完整 /// public bool? IsClinicalDataComplete { get; set; } /// /// 临床数据是否盲化 /// public bool? IsClinicalDataBlind { get; set; } /// /// 阅片配置的类型 /// public ReadingSetType ReadingSetType { get; set; } public ReadingStatusEnum ReadingStatus { get; set; } = ReadingStatusEnum.TaskAllocate; } }