整理数据库实体备注
continuous-integration/drone/push Build is passing Details

IRC_NewDev
hang 2024-09-20 18:20:37 +08:00
parent d3e3ed79ba
commit 40c8a51a31
174 changed files with 5006 additions and 6652 deletions

View File

@ -207,11 +207,7 @@ namespace IRaCIS.Core.Application.Service
CreateMap<User, TrialExternalUser>().ReverseMap();
CreateMap<TrialUserPreparation, TrialUserPreparationView>()
.ForMember(t => t.UserRealName, u => u.MapFrom(c => c.User.FullName))
.ForMember(t => t.UserName, u => u.MapFrom(c => c.User.UserName))
.ForMember(t => t.UserTypeShortName, u => u.MapFrom(c => c.User.UserTypeRole.UserTypeShortName));
CreateMap<TrialExternalUser, TrialInfoWithPreparationInfo>().IncludeMembers(t => t.Trial)

View File

@ -1,8 +1,7 @@
using IRaCIS.Core.Domain.Share;
using System.ComponentModel;
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Description("受试者某标准阅片用户中间关系表")]
[Table("SubjectUser")]
@ -44,4 +43,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid? ReplacedSubjectUserId { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TaskAllocationRule
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("TaskAllocationRule")]
public class TaskAllocationRule : BaseFullAuditEntity
{
@ -36,4 +33,3 @@ namespace IRaCIS.Core.Domain.Models
public int PlanReadingRatio { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TaskConsistentRule
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("TaskConsistentRule")]
public class TaskConsistentRule : BaseFullAuditEntity
{
@ -40,4 +37,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid TrialReadingCriterionId { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TaskInfluence
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("TaskInfluence")]
public class TaskInfluence : BaseAddAuditEntity
{
@ -36,4 +33,3 @@ namespace IRaCIS.Core.Domain.Models
}
}

View File

@ -1,17 +1,14 @@
using IRaCIS.Core.Domain.Share;
using System.Linq;
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
public class OSSImageInfo
{
public string FileName { get; set; } = string.Empty;
public string ImagePath { get; set; } = string.Empty;
}
///<summary>
///TaskMedicalReview
///</summary>
[Table("TaskMedicalReview")]
public class TaskMedicalReview : BaseFullAuditEntity
{
@ -32,9 +29,7 @@ namespace IRaCIS.Core.Domain.Models
[JsonIgnore]
public Trial Trial { get; set; }
/// <summary>
/// 文件
/// </summary>
[Comment("文件")]
[NotMapped]
public List<OSSImageInfo> FileList
{
@ -60,93 +55,57 @@ namespace IRaCIS.Core.Domain.Models
#endregion
public Guid? LatestReplyUserId { get; set; }
/// <summary>
/// 分配时间
/// </summary>
[Comment("分配时间")]
public DateTime? AllocateTime { get; set; }
/// <summary>
/// 审核状态
/// </summary>
[Comment("审核状态")]
[Required]
public MedicalReviewAuditState AuditState { get; set; }
/// <summary>
/// 审核通过时间
/// </summary>
[Comment("审核通过时间")]
public DateTime? AuditSignTime { get; set; }
/// <summary>
/// 阅片人是否认同
/// </summary>
[Comment("阅片人是否认同")]
public MedicalReviewDoctorUserIdea DoctorUserIdeaEnum { get; set; }
public Guid? MedicalManagerUserId { get; set; }
public Guid VisitTaskId { get; set; }
public Guid TrialId { get; set; }
/// <summary>
/// 是否有问题
/// </summary>
[Comment("是否有问题")]
public bool IsHaveQuestion { get; set; } = false;
/// <summary>
/// 质询问题
/// </summary>
[Comment("质询问题")]
public string Questioning { get; set; } = string.Empty;
/// <summary>
/// 图片路径
/// </summary>
[Comment("图片路径")]
public string ImagePath { get; set; } = string.Empty;
/// <summary>
/// 审核建议
/// </summary>
[Comment("审核建议")]
public AuditAdvice AuditAdviceEnum { get; set; }
/// <summary>
/// 是否关闭对话
/// </summary>
[Comment("是否关闭对话")]
public bool IsClosedDialog { get; set; }
/// <summary>
/// 保存问题的时间
/// </summary>
[Comment("保存问题的时间")]
public DateTime? SaveQuestionTime { get; set; }
/// <summary>
/// 不同意重阅原因
/// </summary>
[Comment("不同意重阅原因")]
public string DisagreeReason { get; set; } = string.Empty;
/// <summary>
/// 是否申请重阅
/// </summary>
[Comment("是否申请重阅")]
public bool IsApplyHeavyReading { get; set; } = false;
/// <summary>
/// 保存结论时间
/// </summary>
[Comment("保存结论时间")]
public DateTime? SaveConclusionTime { get; set; }
/// <summary>
/// 文件名称
/// </summary>
[Comment("文件名称")]
public string FileName { get; set; } = string.Empty;
/// <summary>
/// 是否发送消息
/// </summary>
[Comment("是否发送消息")]
public bool IsSendMessage { get; set; } = false;
/// <summary>
/// 医学审核对话关闭原因
/// </summary>
[Comment("医学审核对话关闭原因")]
public MedicalDialogClose MedicalDialogCloseEnum { get; set; }
/// <summary>
/// 对话关闭原因
/// </summary>
[Comment("对话关闭原因")]
public string DialogCloseReason { get; set; } = string.Empty;
/// <summary>
/// 无效的 为True无效
/// </summary>
[Comment("无效的 为True无效")]
public bool IsInvalid { get; set; }
public bool IsAutoGenerate { get; set; }
@ -154,4 +113,3 @@ namespace IRaCIS.Core.Domain.Models
// | 分割
public string PDRelationTaskIdListStr { get; set; } = string.Empty;
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TaskTaskMedicalReviewRule
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("TaskMedicalReviewRule")]
public class TaskMedicalReviewRule : BaseFullAuditEntity
{
@ -31,4 +28,3 @@ namespace IRaCIS.Core.Domain.Models
public User DoctorUser { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TrialVirtualSiteCodeUpdate
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("TrialVirtualSiteCodeUpdate")]
public class TrialVirtualSiteCodeUpdate : BaseAddAuditEntity
{
@ -14,4 +11,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid TrialId { get; set; }
public string VirturalSiteCode { get; set; } = string.Empty;
}
}

View File

@ -2,11 +2,8 @@ using EntityFrameworkCore.Projectables;
using IRaCIS.Core.Domain.Share;
using System.Linq;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///VisitTask
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("VisitTask")]
public class VisitTask : BaseFullAuditEntity
{
@ -53,9 +50,7 @@ namespace IRaCIS.Core.Domain.Models
[JsonIgnore]
//对于全局任务而言 才可以用的 关联的访视阅片结果
public List<ReadingGlobalTaskInfo> GlobalVisitResultList { get; set; } = new List<ReadingGlobalTaskInfo>();
/// <summary>
/// 裁判结果图片地址
/// </summary>
[Comment("裁判结果图片地址")]
[NotMapped]
public List<string> JudgeResultImagePathList
{
@ -80,9 +75,7 @@ namespace IRaCIS.Core.Domain.Models
[JsonIgnore]
public List<UserFeedBack> UserFeedBackList { get; set; }
/// <summary>
/// 关联的访视任务ID (当前任务是访视任务的话会有自己)集合
/// </summary>
[Comment("关联的访视任务ID (当前任务是访视任务的话会有自己)集合")]
[NotMapped]
public List<Guid> RelatedVisitTaskIdList
{
@ -102,9 +95,7 @@ namespace IRaCIS.Core.Domain.Models
}
}
/// <summary>
/// 报告任务关系 包含冻结
/// </summary>
[Comment("报告任务关系 包含冻结")]
[NotMapped]
public List<Guid> ReportRelatedTaskIdList
{
@ -124,9 +115,7 @@ namespace IRaCIS.Core.Domain.Models
}
}
/// <summary>
/// 既往任务Id 不包括自己集合
/// </summary>
[Comment("既往任务Id 不包括自己集合")]
[NotMapped]
public List<Guid> PastResultTaskIdList
{
@ -157,9 +146,7 @@ namespace IRaCIS.Core.Domain.Models
public ReadingCategory ReadingCategory { get; set; }
public Guid TrialId { get; set; }
/// <summary>
/// 分配时间
/// </summary>
[Comment("分配时间")]
public DateTime? AllocateTime { get; set; }
public Guid SubjectId { get; set; }
@ -169,35 +156,23 @@ namespace IRaCIS.Core.Domain.Models
public bool IsUrgent { get; set; }
/// <summary>
/// 加急类型
/// </summary>
[Comment("加急类型")]
public TaskUrgentType? TaskUrgentType { get; set; }
/// <summary>
/// 任务加急类型
/// </summary>
[Comment("任务加急类型")]
public string TaskUrgentRemake { get; set; } = string.Empty;
/// <summary>
/// 是否和编辑加急状态
/// </summary>
[Comment("是否和编辑加急状态")]
public bool IsCanEditUrgentState { get; set; } = true;
/// <summary>
/// 0 代表 单重阅片 产生的任务 否则就是双重 任务 1 任务 2
/// </summary>
[Comment("0 代表 单重阅片 产生的任务 否则就是双重 任务 1 任务 2")]
[Required]
public Arm ArmEnum { get; set; }
/// <summary>
/// 分配状态
/// </summary>
[Comment("分配状态")]
public TaskAllocationState TaskAllocationState { get; set; }
public TaskState TaskState { get; set; }
/// <summary>
/// 重阅状态
/// </summary>
[Comment("重阅状态")]
public ReReadingApplyState ReReadingApplyState { get; set; }
public Guid? DoctorUserId { get; set; }
@ -212,47 +187,31 @@ namespace IRaCIS.Core.Domain.Models
public DateTime? SignTime { get; set; }
public DateTime? SuggesteFinishedTime { get; set; }
/// <summary>
/// 是否是重阅产生的,方便过滤数据
/// </summary>
[Comment("是否是重阅产生的,方便过滤数据")]
public bool IsReReadingCreate { get; set; }
/// <summary>
/// PM 对该任务进行了回退 影响的任务不设置
/// </summary>
[Comment("PM 对该任务进行了回退 影响的任务不设置")]
public bool IsPMSetBack { get; set; }
/// <summary> 裁判结果的任务ID </summary>
public Guid? JudgeResultTaskId { get; set; }
//随访任务号 取访视的号 计划外是 访视+0.1 裁判任务在访视任务上+0.002 全局任务在截止访视号上+0.03 肿瘤待定
public decimal VisitTaskNum { get; set; }
/// <summary>
/// 首次阅片时间
/// </summary>
[Comment("首次阅片时间")]
public DateTime? FirstReadingTime { get; set; }
/// <summary>
/// 全局是否有更新
/// </summary>
[Comment("全局是否有更新")]
public bool? IsGlobalHaveUpdate { get; set; }
/// <summary>
/// IR是否阅读临床数据
/// </summary>
[Comment("IR是否阅读临床数据")]
public bool IsReadClinicalData { get; set; } = false;
/// <summary>
/// 关联的访视任务ID (当前任务是访视任务的话会有自己)
/// </summary>
[Comment("关联的访视任务ID (当前任务是访视任务的话会有自己)")]
public string RelatedVisitTaskIds { get; set; } = "[]";
/// <summary>
/// 报告任务关系 包含冻结
/// </summary>
[Comment("报告任务关系 包含冻结")]
public string ReportRelatedTaskIds { get; set; } = "[]";
/// <summary>
/// 既往任务Id 不包括自己
/// </summary>
[Comment("既往任务Id 不包括自己")]
public string PastResultTaskIds { get; set; } = "[]";
#region 裁判任务特有
@ -261,40 +220,26 @@ namespace IRaCIS.Core.Domain.Models
//对于裁判任务而言,触发裁判的列表
public List<VisitTask> JudgeVisitList { get; set; }
/// <summary>
/// 裁判结果的备注
/// </summary>
[Comment("裁判结果的备注")]
public string JudgeResultRemark { get; set; } = string.Empty;
/// <summary>
/// 裁判结果的图片路径
/// </summary>
[Comment("裁判结果的图片路径")]
public string JudgeResultImagePath { get; set; } = string.Empty;
#endregion
#region 一致性分析的任务特有数据
/// <summary>
/// 阅片结果是否和原数据有差异
/// </summary>
[Comment("阅片结果是否和原数据有差异")]
public bool? IsAnalysisDiffToOriginalData { get; set; }
/// <summary>
/// 组件一致性和原Arm1是否有差异
/// </summary>
[Comment("组件一致性和原Arm1是否有差异")]
public bool? IsGroupDiffArm1 { get; set; }
/// <summary>
/// 组件一致性和原Arm2是否有差异
/// </summary>
[Comment("组件一致性和原Arm2是否有差异")]
public bool? IsGroupDiffArm2 { get; set; }
/// <summary>
/// 是否是一致性分析产生
/// </summary>
[Comment("是否是一致性分析产生")]
public bool IsAnalysisCreate { get; set; }
/// <summary>
/// 转换之前的任务Id(转化的任务才有该值)
/// </summary>
[Comment("转换之前的任务Id(转化的任务才有该值)")]
public Guid? BeforeConvertedTaskId { get; set; }
[Projectable]
[JsonIgnore]
@ -305,18 +250,12 @@ namespace IRaCIS.Core.Domain.Models
&& t.IsSelfAnalysis == IsSelfAnalysis
&& t.ArmEnum == ArmEnum
).Any();
/// <summary>
/// 是否修改了整体肿瘤评估
/// </summary>
[Comment("是否修改了整体肿瘤评估")]
public bool IsChangeTumorEvaluate { get; set; } = false;
/// <summary>
/// 重阅重置任务的 标注是转化之前的 还是转化之后的
/// </summary>
[Comment("重阅重置任务的 标注是转化之前的 还是转化之后的")]
public bool IsHistoryConvertedTask { get; set; } = false;
/// <summary>
/// 是否是自身一致性
/// </summary>
[Comment("是否是自身一致性")]
public bool? IsSelfAnalysis { get; set; }
public string BlindSubjectCode { get; set; } = string.Empty;
@ -325,9 +264,7 @@ namespace IRaCIS.Core.Domain.Models
//一致性分析规则Id 用于最后统计
//public Guid? TaskConsistentRuleId { get; set; }
/// <summary>
/// 针对产生的一致性任务而言,这个字段存储的是原始任务
/// </summary>
[Comment("针对产生的一致性任务而言,这个字段存储的是原始任务")]
public Guid? ConsistentAnalysisOriginalTaskId { get; set; }
#endregion
@ -335,15 +272,10 @@ namespace IRaCIS.Core.Domain.Models
public bool IsNeedClinicalDataSign { get; set; }
/// <summary>
/// 临床数据是否签名
/// </summary>
[Comment("临床数据是否签名")]
public bool IsClinicalDataSign { get; set; }
/// <summary>
/// 前序任务需要签名 但是未签名
/// </summary>
[Comment("前序任务需要签名 但是未签名")]
public bool IsFrontTaskNeedSignButNotSign { get; set; }
public int ImageStudyState { get; set; }
}
}

View File

@ -1,10 +1,7 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///重阅申请流程记录表
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Comment("重阅申请流程记录表")]
[Table("VisitTaskReReading")]
public class VisitTaskReReading : BaseFullAuditEntity
{
@ -54,4 +51,3 @@ namespace IRaCIS.Core.Domain.Models
public bool IsCopyFollowForms { get; set; }
}
}

View File

@ -1,8 +1,7 @@
namespace IRaCIS.Core.Domain.BaseModel
{
/// <summary>
/// 领域实体事件基类
/// </summary>
using System.ComponentModel;
namespace IRaCIS.Core.Domain.BaseModel;
[Description("领域实体事件基类")]
public abstract class DomainEvent
{
@ -15,4 +14,3 @@
public string EventData { get; set; } = string.Empty;
public DateTime FailedAt { get; set; }
}
}

View File

@ -1,7 +1,6 @@
using IRaCIS.Core.Domain.BaseModel;
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
public interface IAggregateRoot;
public interface IEntity<TKey>
{
@ -104,4 +103,3 @@ namespace IRaCIS.Core.Domain.Models
}
#endregion
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
public interface IAuditAdd<TKey> where TKey : struct
{
public TKey CreateUserId { get; set; }
@ -16,4 +15,3 @@
{
public string CreateUser { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
public interface IAuditUpdate<TKey> where TKey : struct
{
public TKey UpdateUserId { get; set; }
@ -10,4 +9,3 @@
{
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
public interface ISoftDelete<TKey> where TKey : struct
{
public TKey? DeleteUserId { get; set; }
@ -12,4 +11,3 @@
{
}
}

View File

@ -50,7 +50,7 @@ public class FrontAuditConfig : BaseFullAuditEntity
[Comment("枚举字典Type")]
public string DictionaryType { get; set; } = null!;
[Comment(" 后端翻译的类型 对应前端界面 &quot;&quot; Dictionary Date")]
[Comment("后端翻译的类型 对应前端界面 Dictionary Date")]
public string EnumType { get; set; } = null!;
[StringLength(1000)]

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///Internationalization
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("Internationalization")]
public class Internationalization : BaseFullAuditEntity
{
@ -13,9 +10,7 @@ namespace IRaCIS.Core.Domain.Models
#endregion
public int ShowOrder { get; set; }
/// <summary>
/// 0 1 2 预翻译 已确认 废除
/// </summary>
[Comment("0 1 2 预翻译 已确认 废除")]
public int State { get; set; }
public string Description { get; set; } = string.Empty;
@ -33,4 +28,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid? PublishLogId { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///PublishLog
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("PublishLog")]
public class PublishLog : BaseFullAuditEntity
{
@ -19,4 +16,3 @@ namespace IRaCIS.Core.Domain.Models
}
}

View File

@ -1,9 +1,6 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SystemBasicData
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("SystemBasicData")]
public class SystemBasicData : BaseFullAuditEntity
{
@ -32,4 +29,3 @@ namespace IRaCIS.Core.Domain.Models
public BasicDataTypeEnum BasicDataTypeEnum { get; set; }
}
}

View File

@ -1,7 +1,6 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("VerificationCode")]
public class VerificationCode : BaseAddAuditEntity
{
@ -24,4 +23,3 @@ namespace IRaCIS.Core.Domain.Models
public DateTime ExpirationTime { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///EnrollReadingCriterion
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("EnrollReadingCriterion")]
public class EnrollReadingCriterion : BaseAddAuditEntity
{
@ -18,4 +15,3 @@ namespace IRaCIS.Core.Domain.Models
public bool IsJoinAnalysis { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("Postgraduate")]
public partial class Postgraduate : BaseFullAuditEntity
{
@ -55,4 +54,3 @@ namespace IRaCIS.Core.Domain.Models
[StringLength(100)]
public string CityCN { get; set; } = string.Empty;
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("ResearchPublication")]
public partial class ResearchPublication : BaseFullAuditEntity
{
@ -17,4 +16,3 @@ namespace IRaCIS.Core.Domain.Models
public string PublicationsCN { get; set; } = string.Empty;
public string AwardsHonorsCN { get; set; } = string.Empty;
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("TrialExperience")]
public partial class TrialExperience : BaseFullAuditEntity
{
@ -22,4 +21,3 @@ namespace IRaCIS.Core.Domain.Models
public DateTime? EndTime { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
public class TrialExperienceCriteria : Entity
{
#region 导航属性
@ -11,4 +10,3 @@
public Guid TrialExperienceId { get; set; }
public Guid EvaluationCriteriaId { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("Vacation")]
public class Vacation : BaseFullAuditEntity
{
@ -12,4 +11,3 @@
public int Status { get; set; } = 1;
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SystemDocConfirmedUser
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("SystemDocConfirmedUser")]
public class SystemDocConfirmedUser : BaseAddDeleteAuditEntity
@ -25,4 +22,3 @@ namespace IRaCIS.Core.Domain.Models
public string SignText { get; set; } = string.Empty;
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SystemDocNeedConfirmedUserType
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("SystemDocNeedConfirmedUserType")]
public class SystemDocNeedConfirmedUserType : Entity
{
@ -20,4 +17,3 @@ namespace IRaCIS.Core.Domain.Models
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SystemDocument
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("SystemDocument")]
public class SystemDocument : BaseFullDeleteAuditEntity
{
@ -22,4 +19,3 @@ namespace IRaCIS.Core.Domain.Models
public string Path { get; set; } = string.Empty;
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TrialDocUserTypeConfirmUser
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("TrialDocConfirmedUser")]
public class TrialDocConfirmedUser : BaseAddDeleteAuditEntity
{
@ -20,4 +17,3 @@ namespace IRaCIS.Core.Domain.Models
public DateTime? SignFirstViewTime { get; set; }
public string SignText { get; set; } = string.Empty;
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TrialDocumentUserConfirm
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("TrialDocNeedConfirmedUserType")]
public class TrialDocNeedConfirmedUserType : Entity
{
@ -20,4 +17,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid NeedConfirmUserTypeId { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TrialDocument
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("TrialDocument")]
public class TrialDocument : BaseFullDeleteAuditEntity
{
@ -32,4 +29,3 @@ namespace IRaCIS.Core.Domain.Models
public int SignViewMinimumMinutes { get; set; }
}
}

View File

@ -1,9 +1,6 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TrialEmailNoticeUser
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("TrialEmailNoticeUser")]
public class TrialEmailNoticeUser : Entity
{
@ -18,4 +15,3 @@ namespace IRaCIS.Core.Domain.Models
public EmailUserType EmailUserType { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("CalculateTask")]
public class CalculateTask : Entity
{
@ -9,4 +8,3 @@
public string YearMonth { get; set; } = string.Empty;
public bool IsLock { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("ExchangeRate")]
public class ExchangeRate : BaseFullAuditEntity
{
@ -9,4 +8,3 @@
public decimal Rate { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("Payment")]
public partial class Payment : BaseFullAuditEntity
@ -30,4 +29,3 @@ namespace IRaCIS.Core.Domain.Models
[StringLength(500)]
public string Note { get; set; } = string.Empty;
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("PaymentAdjustment")]
public partial class PaymentAdjustment : BaseFullAuditEntity
{
@ -21,4 +20,3 @@ namespace IRaCIS.Core.Domain.Models
public string Note { get; set; } = string.Empty;
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("PaymentDetail")]
public partial class PaymentDetail : BaseFullAuditEntity
{
@ -37,4 +36,3 @@ namespace IRaCIS.Core.Domain.Models
public int ShowCodeOrder { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("RankPrice")]
public partial class RankPrice : BaseFullAuditEntity
{
@ -37,4 +36,3 @@ namespace IRaCIS.Core.Domain.Models
public decimal RefresherTraining { get; set; }
public int ShowOrder { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("TrialPaymentPrice")]
public partial class TrialPaymentPrice : BaseFullAuditEntity
{
@ -16,9 +15,6 @@ namespace IRaCIS.Core.Domain.Models
[DecimalPrecision(18, 2)]
public decimal AdjustmentMultiple { get; set; } = 1;
/// <summary>
/// 是否有 为新项目
/// </summary>
[Comment("是否有 为新项目")]
public bool? IsNewTrial { get; set; } = false;
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("TrialRevenuesPrice")]
public class TrialRevenuesPrice : BaseFullAuditEntity
{
@ -36,4 +35,3 @@
public decimal RefresherTraining { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
public class TrialRevenuesPriceVerification : Entity
{
public Guid TrialId { get; set; }
@ -28,4 +27,3 @@
public bool RefresherTraining { get; set; } = false;
public DateTime WorkLoadDate { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("VolumeReward")]
public partial class VolumeReward : BaseFullAuditEntity
{
@ -9,4 +8,3 @@ namespace IRaCIS.Core.Domain.Models
public int Max { get; set; }
}
}

View File

@ -1,6 +1,6 @@
global using Microsoft.EntityFrameworkCore;
global using Newtonsoft.Json;
global using System;
global using System.Collections.Generic;
global using System.ComponentModel.DataAnnotations;
global using System.ComponentModel.DataAnnotations.Schema;
global using Newtonsoft.Json;

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
public class ImageShare : Entity
{
#region 导航属性
@ -14,4 +13,3 @@
public string Password { get; set; } = string.Empty;
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///NoneDicomStudy
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("NoneDicomStudy")]
public class NoneDicomStudy : BaseFullAuditEntity
{
@ -43,4 +40,3 @@ namespace IRaCIS.Core.Domain.Models
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("NoneDicomStudyFile")]
public class NoneDicomStudyFile : BaseAddAuditEntity
@ -25,11 +24,8 @@ namespace IRaCIS.Core.Domain.Models
#region 跟任务绑定 同时区分检查
public Guid? VisitTaskId { get; set; }
/// <summary>
/// 为了不影响原始检查,跟任务绑定的 NoneDicomStudyId 为guid空 这个字段记录跟原始检查绑
/// </summary>
[Comment("为了不影响原始检查,跟任务绑定的 NoneDicomStudyId 为guid空 这个字段记录跟原始检查绑")]
public Guid? OriginNoneDicomStudyId { get; set; }
#endregion
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SCPImageUpload
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("SCPImageUpload")]
public class SCPImageUpload : BaseAddAuditEntity
{
@ -24,4 +21,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid TrialId { get; set; }
public Guid TrialSiteId { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("SCPInstance")]
public class SCPInstance : BaseFullAuditEntity, IEntitySeqId
{
@ -38,4 +37,3 @@
public long? FileSize { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("SCPPatient")]
public class SCPPatient : BaseFullAuditEntity
{
@ -28,4 +27,3 @@
public Guid TrialId { get; set; }
public Guid TrialSiteId { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("SCPSeries")]
public class SCPSeries : BaseFullDeleteAuditEntity, IEntitySeqId
{
@ -38,4 +37,3 @@
public string ImageResizePath { get; set; } = string.Empty;
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("SCPStudy")]
public class SCPStudy : BaseFullDeleteAuditEntity, IEntitySeqId
{
@ -64,4 +63,3 @@
public Guid? SubjectVisitId { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SystemAnonymization
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("SystemAnonymization")]
public class SystemAnonymization : BaseFullAuditEntity
{
@ -22,4 +19,3 @@ namespace IRaCIS.Core.Domain.Models
public bool IsFixed { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
public class TaskInstance : BaseFullAuditEntity, IEntitySeqId
{
#region 导航属性
@ -44,4 +43,3 @@
public long? FileSize { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
public class TaskSeries : BaseFullDeleteAuditEntity, IEntitySeqId
{
#region 导航属性
@ -39,4 +38,3 @@
public string ImageResizePath { get; set; } = string.Empty;
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
public class TaskStudy : BaseFullDeleteAuditEntity, IEntitySeqId
{
#region 导航属性
@ -55,4 +54,3 @@
public string ModalityForEdit { get; set; } = string.Empty;
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///DicomAE
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("TrialDicomAE")]
public class TrialDicomAE : BaseFullAuditEntity
{
@ -22,4 +19,3 @@ namespace IRaCIS.Core.Domain.Models
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("TrialImageDownload")]
public class TrialImageDownload : BaseFullAuditEntity
{
@ -41,4 +40,3 @@
DicomAndNoneDicom = 3
};
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("Hospital")]
public class Hospital : BaseFullAuditEntity
{
@ -22,9 +21,6 @@
public string CountryCN { get; set; } = string.Empty;
public string ProvinceCN { get; set; } = string.Empty;
public string CityCN { get; set; } = string.Empty;
/// <summary>
/// 中心Id
/// </summary>
[Comment("中心Id")]
public Guid? SiteId { get; set; } = Guid.Empty;
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("Site")]
public partial class Site : BaseFullAuditEntity
{
@ -34,4 +33,3 @@ namespace IRaCIS.Core.Domain.Models
public string ContactName { get; set; } = string.Empty;
public string ContactPhone { get; set; } = string.Empty;
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("Sponsor")]
public partial class Sponsor : BaseFullAuditEntity
{
@ -14,4 +13,3 @@ namespace IRaCIS.Core.Domain.Models
public bool IsTrialLevel { get; set; }
public Guid? TrialId { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("Menu")]
public class Menu : BaseFullAuditEntity
{
@ -49,4 +48,3 @@
public string Redirect { get; set; } = string.Empty;
public string LanguageMark { get; set; } = string.Empty;
}
}

View File

@ -1,10 +1,7 @@
using IRaCIS.Core.Domain.Share.Management;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SystemNotice
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("SystemNotice")]
public class SystemNotice : BaseFullAuditEntity
{
@ -43,4 +40,3 @@ namespace IRaCIS.Core.Domain.Models
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SystemNoticeUserRead
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("SystemNoticeUserRead")]
public class SystemNoticeUserRead : BaseAddAuditEntity
{
@ -14,4 +11,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid SystemNoticeId { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SystemNoticeUserType
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("SystemNoticeUserType")]
public class SystemNoticeUserType : BaseAddAuditEntity
{
@ -18,4 +15,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid UserTypeId { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("Role")]
public partial class Role : BaseFullAuditEntity
{
@ -14,4 +13,3 @@ namespace IRaCIS.Core.Domain.Models
public int PrivilegeLevel { get; set; } //权限级别
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///UserFeedBack
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("UserFeedBack")]
public class UserFeedBack : BaseFullAuditEntity
{
@ -34,4 +31,3 @@ namespace IRaCIS.Core.Domain.Models
public string ScreenshotListStr { get; set; } = string.Empty;
}
}

View File

@ -1,8 +1,7 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///UserLog
///</summary>
using System.ComponentModel;
namespace IRaCIS.Core.Domain.Models;
[Table("UserLog")]
public class UserLog : BaseAddAuditEntity
{
@ -24,30 +23,20 @@ namespace IRaCIS.Core.Domain.Models
}
/// <summary>
/// 登录或者登出 锁定类型
/// </summary>
[Description("登录或者登出 锁定类型")]
public enum UserOptType
{
/// <summary>
/// 用户登录
/// </summary>
[Description("用户登录")]
Login = 1,
/// <summary>
/// 用户登出
/// </summary>
[Description("用户登出")]
LoginOut = 2,
/// <summary>
///账号或者密码错误
/// </summary>
[Description("账号或者密码错误")]
AccountOrPasswordError = 3,
/// <summary>
/// 账号锁定
/// </summary>
[Description("账号锁定")]
AccountLocked = 4,
//账号启用
@ -73,4 +62,3 @@ namespace IRaCIS.Core.Domain.Models
MFALoginFail = 13,
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///UserPassWordLog
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("UserPassWordLog")]
public class UserPassWordLog : BaseAddAuditEntity
{
@ -10,14 +7,9 @@ namespace IRaCIS.Core.Domain.Models
#endregion
/// <summary>
/// 用户Id
/// </summary>
[Comment("用户Id")]
public Guid UserId { get; set; }
/// <summary>
/// 密码
/// </summary>
[Comment("密码")]
public string PassWord { get; set; } = string.Empty;
}
}

View File

@ -1,7 +1,6 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
public class UserType : Entity
{
#region 导航属性
@ -29,4 +28,3 @@ namespace IRaCIS.Core.Domain.Models
public bool IsEnable { get; set; } = true;
public string PermissionStr { get; set; } = string.Empty;
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///UserTypeGroup
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("UserTypeGroup")]
public class UserTypeGroup : Entity
{
@ -19,4 +16,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid DictionaryId { get; set; }
}
}

View File

@ -1,5 +1,4 @@
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
[Table("UserTypeMenu")]
public partial class UserTypeMenu : Entity
{
@ -15,4 +14,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid UserTypeId { get; set; }
public Guid MenuId { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///PreviousHistory
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("PreviousHistory")]
public class PreviousHistory : BaseAddAuditEntity
{
@ -22,4 +19,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid ClinicalDataTrialSetId { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///PreviousOther
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("PreviousOther")]
public class PreviousOther : BaseAddAuditEntity
{
@ -22,12 +19,9 @@ namespace IRaCIS.Core.Domain.Models
public string FileName { get; set; } = String.Empty;
public string TreatmentType { get; set; } = String.Empty;
/// <summary>
/// 临床数据类型Id
/// </summary>
[Comment("临床数据类型Id")]
[Required]
public Guid ClinicalDataTrialSetId { get; set; }
}
}

View File

@ -1,9 +1,6 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///PreviousPDF
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("PreviousPDF")]
public class PreviousPDF : BaseAddAuditEntity
{
@ -19,19 +16,13 @@ namespace IRaCIS.Core.Domain.Models
public string FileName { get; set; } = string.Empty;
public bool? IsVisist { get; set; }
/// <summary>
/// 临床级别
/// </summary>
[Comment("临床级别")]
public ClinicalLevel? ClinicalLevel { get; set; }
/// <summary>
/// 数据类型
/// </summary>
[Comment("数据类型")]
public ClinicalDataType? DataType { get; set; }
/// <summary>
/// 上传方式
/// </summary>
[Comment("上传方式")]
public ClinicalUploadType? UploadType { get; set; }
public Guid? TrialId { get; set; }
@ -39,4 +30,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid? SubjectId { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///PreviousSurgery
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("PreviousSurgery")]
public class PreviousSurgery : BaseAddAuditEntity
{
@ -22,10 +19,7 @@ namespace IRaCIS.Core.Domain.Models
public string OperationName { get; set; } = String.Empty;
/// <summary>
/// 临床数据类型Id
/// </summary>
[Comment("临床数据类型Id")]
[Required]
public Guid ClinicalDataTrialSetId { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
/// 一致性核查文件
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Comment("一致性核查文件")]
[Table("InspectionFile")]
public class InspectionFile : BaseAddAuditEntity
{
@ -15,4 +12,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid TrialId { get; set; }
}
}

View File

@ -1,7 +1,6 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
public class QCChallenge : BaseAddAuditEntity
{
#region 导航属性
@ -54,4 +53,3 @@ namespace IRaCIS.Core.Domain.Models
public UserTypeEnum UserTypeEnum { get; set; }
public string ChallengeType { get; set; } = string.Empty;
}
}

View File

@ -1,7 +1,6 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
namespace IRaCIS.Core.Domain.Models;
public class QCChallengeDialog : BaseAddAuditEntity
{
#region 导航属性
@ -17,4 +16,3 @@ namespace IRaCIS.Core.Domain.Models
public UserTypeEnum UserTypeEnum { get; set; }
}
}

View File

@ -1,9 +1,6 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///QCQuestionConfigure
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("QCQuestion")]
public class QCQuestion : BaseFullAuditEntity
{
@ -30,4 +27,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid? ParentId { get; set; }
public int ShowOrder { get; set; }
}
}

View File

@ -1,9 +1,6 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TrialQCQuestionConfigure
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("TrialQCQuestion")]
public class TrialQCQuestion : BaseFullAuditEntity
{
@ -35,4 +32,3 @@ namespace IRaCIS.Core.Domain.Models
public bool? IsConfirm { get; set; }
}
}

View File

@ -1,9 +1,6 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TrialQCQuestionRecord
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("TrialQCQuestionAnswer")]
public class TrialQCQuestionAnswer : BaseFullAuditEntity
{
@ -23,4 +20,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid SubjectVisitId { get; set; }
public Guid TrialQCQuestionConfigureId { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SubjectAdditionalEvaluationResult
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("SubjectAdditionalEvaluationResult")]
public class SubjectAdditionalEvaluationResult : BaseFullAuditEntity
{
@ -22,30 +19,21 @@ namespace IRaCIS.Core.Domain.Models
public string Answer { get; set; } = string.Empty;
/// <summary>
/// 附加评估答案翻译字典
/// </summary>
[Comment("附加评估答案翻译字典")]
public string TranslateDictionaryCode { get; set; } = string.Empty;
/// <summary>
/// 是否是最终结果
/// </summary>
[Comment("是否是最终结果")]
public bool IsFinalResult { get; set; }
/// <summary>
/// 最终结果
/// </summary>
[Comment("最终结果")]
public string FinalAnswer { get; set; } = string.Empty;
/// <summary>
/// 最终结果翻字典
/// </summary>
[Comment("最终结果翻字典")]
public string FinalTranslateDictionaryCode { get; set; } = string.Empty;
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SubjectCriteriaEvaluation
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("SubjectCriteriaEvaluation")]
public class SubjectCriteriaEvaluation : BaseFullAuditEntity
{
@ -21,9 +18,6 @@ namespace IRaCIS.Core.Domain.Models
public Guid TrialReadingCriterionId { get; set; }
/// <summary>
/// 是否参与评估
/// </summary>
[Comment("是否参与评估")]
public bool IsJoinEvaluation { get; set; }
}
}

View File

@ -1,8 +1,7 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SubjectCriteriaEvaluationVisitFilter
///</summary>
using System.ComponentModel;
namespace IRaCIS.Core.Domain.Models;
[Table("SubjectCriteriaEvaluationVisitFilter")]
public class SubjectCriteriaEvaluationVisitFilter : BaseFullAuditEntity
{
@ -21,26 +20,18 @@ namespace IRaCIS.Core.Domain.Models
public Guid TrialReadingCriterionId { get; set; }
public Guid SubjectVisitId { get; set; }
/// <summary>
/// 影像筛选状态
/// </summary>
[Comment("影像筛选状态")]
public ImageFilterState ImageFilterState { get; set; }
/// <summary>
/// 影像判断结果
/// </summary>
[Comment("影像判断结果")]
public ImageDeterminationResultState ImageDeterminationResultState { get; set; }
/// <summary>
/// 是否已生成任务
/// </summary>
[Comment("是否已生成任务")]
public bool IsGeneratedTask { get; set; }
}
/// <summary>
/// 影像确认结果
/// </summary>
[Description("影像确认结果")]
public enum ImageDeterminationResultState
{
//待定
@ -49,9 +40,7 @@ namespace IRaCIS.Core.Domain.Models
Passed = 1,
}
/// <summary>
/// 影像筛选状态
/// </summary>
[Description("影像筛选状态")]
public enum ImageFilterState
{
//默认值 待筛选
@ -63,4 +52,3 @@ namespace IRaCIS.Core.Domain.Models
Finished = 2
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///SubjectCriteriaEvaluationVisitStudyFilter
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("SubjectCriteriaEvaluationVisitStudyFilter")]
public class SubjectCriteriaEvaluationVisitStudyFilter : BaseFullAuditEntity
{
@ -32,4 +29,3 @@ namespace IRaCIS.Core.Domain.Models
public bool IsReading { get; set; }
}
}

View File

@ -1,10 +1,7 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
/// 项目的临床数据
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Comment("项目的临床数据")]
[Table("ReadingClinicalData")]
public class ReadingClinicalData : BaseAddAuditEntity
{
@ -36,48 +33,33 @@ namespace IRaCIS.Core.Domain.Models
public ReadModule ReadModule { get; set; }
/// <summary>
/// PDF文件
/// </summary>
[Comment("PDF文件")]
[JsonIgnore]
public List<ReadingClinicalDataPDF> ReadingClinicalDataPDFList { get; set; }
#endregion
public Guid TrialId { get; set; }
/// <summary>
/// 访视Id 或者模块Id
/// </summary>
[Comment("访视Id 或者模块Id")]
public Guid ReadingId { get; set; }
public Guid? StudyId { get; set; }
public Guid SubjectId { get; set; }
/// <summary>
/// 临床数据类型Id
/// </summary>
[Comment("临床数据类型Id")]
public Guid ClinicalDataTrialSetId { get; set; }
/// <summary>
/// 是否为访视
/// </summary>xiu
[Comment("是否为访视")]
public bool IsVisit { get; set; }
/// <summary>
/// 是否签名
/// </summary>
[Comment("是否签名")]
public bool IsSign { get; set; }
/// <summary>
/// 是否盲化
/// </summary>
[Comment("是否盲化")]
public bool? IsBlind { get; set; }
/// <summary>
/// 是否完整
/// </summary>
[Comment("是否完整")]
public bool? IsComplete { get; set; }
public int FileCount { get; set; }
//临床数据状态
public ReadingClinicalDataStatus ReadingClinicalDataState { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
/// 项目的临床数据
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Comment("项目的临床数据")]
[Table("ReadingClinicalDataPDF")]
public class ReadingClinicalDataPDF : BaseAddAuditEntity
{
@ -12,9 +9,7 @@ namespace IRaCIS.Core.Domain.Models
public ReadingClinicalData ReadingClinicalData { get; set; }
#endregion
/// <summary>
/// 阅片临床数据ID
/// </summary>
[Comment("阅片临床数据ID")]
public Guid ReadingClinicalDataId { get; set; }
public string Path { get; set; } = string.Empty;
@ -23,4 +18,3 @@ namespace IRaCIS.Core.Domain.Models
public string Type { get; set; } = string.Empty;
}
}

View File

@ -1,10 +1,7 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
/// 一致性分析临床数据
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Comment("一致性分析临床数据")]
[Table("ReadingConsistentClinicalData")]
public class ReadingConsistentClinicalData : BaseAddAuditEntity
{
@ -38,54 +35,35 @@ namespace IRaCIS.Core.Domain.Models
public ReadModule ReadModule { get; set; }
/// <summary>
/// PDF文件
/// </summary>
[Comment("PDF文件")]
[JsonIgnore]
public List<ReadingConsistentClinicalDataPDF> ReadingClinicalDataPDFList { get; set; }
#endregion
/// <summary>
/// 项目ID
/// </summary>
[Comment("项目ID")]
public Guid TrialId { get; set; }
/// <summary>
/// 访视Id 或者模块Id
/// </summary>
[Comment("访视Id 或者模块Id")]
public Guid ReadingId { get; set; }
public Guid? StudyId { get; set; }
/// <summary>
/// 受试者ID
/// </summary>
[Comment("受试者ID")]
public Guid SubjectId { get; set; }
/// <summary>
/// 临床数据类型Id
/// </summary>
[Comment("临床数据类型Id")]
public Guid ClinicalDataTrialSetId { get; set; }
/// <summary>
/// 是否为访视
/// </summary>xiu
[Comment("是否为访视")]
public bool IsVisit { get; set; }
/// <summary>
/// 是否签名
/// </summary>
[Comment("是否签名")]
public bool IsSign { get; set; }
/// <summary>
/// 是否盲化
/// </summary>
[Comment("是否盲化")]
public bool? IsBlind { get; set; } = false;
/// <summary>
/// 是否完整
/// </summary>
[Comment("是否完整")]
public bool? IsComplete { get; set; } = true;
public int FileCount { get; set; }
//临床数据状态
public ReadingClinicalDataStatus ReadingClinicalDataState { get; set; }
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
/// 一致性分析临床数据
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Comment("一致性分析临床数据")]
[Table("ReadingConsistentClinicalDataPDF")]
public class ReadingConsistentClinicalDataPDF : BaseAddAuditEntity
{
@ -12,9 +9,7 @@ namespace IRaCIS.Core.Domain.Models
public ReadingConsistentClinicalData ReadingConsistentClinicalData { get; set; }
#endregion
/// <summary>
/// 阅片临床数据ID
/// </summary>
[Comment("阅片临床数据ID")]
public Guid ReadingConsistentClinicalDataId { get; set; }
public string Path { get; set; } = string.Empty;
@ -22,9 +17,6 @@ namespace IRaCIS.Core.Domain.Models
public int Size { get; set; } = 0;
/// <summary>
/// 文件类型
/// </summary>
[Comment("文件类型")]
public string Type { get; set; } = string.Empty;
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///TrialClinicalDataSetCriterion
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("TrialClinicalDataSetCriterion")]
public class TrialClinicalDataSetCriterion : BaseFullAuditEntity
{
@ -21,4 +18,3 @@ namespace IRaCIS.Core.Domain.Models
public Guid TrialReadingCriterionId { get; set; }
}
}

View File

@ -1,17 +1,12 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///系统临床数据问题
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Comment("系统临床数据问题")]
[Table("SystemClinicalQuestion")]
public class SystemClinicalQuestion : BaseAddAuditEntity
{
#region 导航属性
/// <summary>
/// 分组
/// </summary>
[Comment("分组")]
[JsonIgnore]
[ForeignKey("GroupId")]
public SystemClinicalQuestion GroupQuestin { get; set; }
@ -36,118 +31,71 @@ namespace IRaCIS.Core.Domain.Models
}
}
#endregion
/// <summary>
/// 项目临床数据Id
/// </summary>
[Comment("项目临床数据Id")]
public Guid SystemClinicalId { get; set; }
/// <summary>
/// 问题名称
/// </summary>
[Comment("问题名称")]
public string QuestionName { get; set; } = string.Empty;
/// <summary>
/// 问题英文名称
/// </summary>
[Comment("问题英文名称")]
public string QuestionEnName { get; set; } = string.Empty;
/// <summary>
/// 临床问题类型(分组,单选。)
/// </summary>
[Comment("临床问题类型(分组,单选。)")]
public string ClinicalQuestionType { get; set; } = string.Empty;
/// <summary>
/// 问题标识
/// </summary>
[Comment("问题标识")]
public ClinicalQuestionMark? ClinicalQuestionMarkEnum { get; set; }
/// <summary>
/// 最大长度
/// </summary>
[Comment("最大长度")]
public int? MaxAnswerLength { get; set; }
/// <summary>
/// 最大行数
/// </summary>
[Comment("最大行数")]
public int? MaxQuestionCount { get; set; }
/// <summary>
/// 临床数据选项类型(无,自定义)
/// </summary>
[Comment("临床数据选项类型(无,自定义)")]
public ClinicalOptionType ClinicalOptionTypeEnum { get; set; }
/// <summary>
/// 分组Id
/// </summary>
[Comment("分组Id")]
public Guid? GroupId { get; set; }
/// <summary>
/// 自定义选项
/// </summary>
[Comment("自定义选项")]
public string TypeValue { get; set; } = string.Empty;
/// <summary>
/// 字典Code
/// </summary>
[Comment("字典Code")]
public string DictionaryCode { get; set; } = string.Empty;
/// <summary>
/// 排序
/// </summary>
[Comment("排序")]
public int ShowOrder { get; set; } = 0;
/// <summary>
/// 是否必填
/// </summary>
[Comment("是否必填")]
public IsRequired IsRequired { get; set; }
/// <summary>
/// 关联Value
/// </summary>
[Comment("关联Value")]
public string RelevanceValue { get; set; } = string.Empty;
/// <summary>
/// 关联ID
/// </summary>
[Comment("关联ID")]
public Guid? RelevanceId { get; set; }
/// <summary>
/// 父问题Id
/// </summary>
[Comment("父问题Id")]
public Guid? ParentId { get; set; }
/// <summary>
/// 父问题触发值
/// </summary>
[Comment("父问题触发值")]
public string ParentTriggerValue { get; set; } = string.Empty;
/// <summary>
/// 显示类型
/// </summary>
[Comment("显示类型")]
public ClinicalQuestionShow ClinicalQuestionShowEnum { get; set; } = ClinicalQuestionShow.Show;
/// <summary>
/// 是否是检查日期
/// </summary>
[Comment("是否是检查日期")]
public bool IsCheckDate { get; set; }
/// <summary>
/// 小数点位数
/// </summary>
[Comment("小数点位数")]
public int? DigitPlaces { get; set; }
/// <summary>
/// 单位
/// </summary>
[Comment("单位")]
public string Unit { get; set; } = string.Empty;
/// <summary>
/// 自定义计算标记
/// </summary>
[Comment("自定义计算标记")]
public ClinicalCalculateMark? CustomCalculateMark { get; set; }
/// <summary>
/// 自定义计算问题
/// </summary>
[Comment("自定义计算问题")]
public string CalculateQuestions { get; set; } = "[]";
}
}

View File

@ -1,11 +1,8 @@
using IRaCIS.Core.Domain.Share;
using System.Linq;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
/// 系统临床表格问题
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Comment("系统临床表格问题")]
[Table("SystemClinicalTableQuestion")]
public class SystemClinicalTableQuestion : BaseAddAuditEntity
{
@ -28,83 +25,50 @@ namespace IRaCIS.Core.Domain.Models
}
#endregion
/// <summary>
/// 系统临床数据Id
/// </summary>
[Comment("系统临床数据Id")]
public Guid SystemClinicalId { get; set; }
/// <summary>
/// 问题名称
/// </summary>
[Comment("问题名称")]
public string QuestionName { get; set; } = string.Empty;
/// <summary>
/// 问题英文名称
/// </summary>
[Comment("问题英文名称")]
public string QuestionEnName { get; set; } = string.Empty;
/// <summary>
/// 临床问题类型(分组,单选。)
/// </summary>
[Comment("临床问题类型(分组,单选。)")]
public string ClinicalTableQuestionType { get; set; } = string.Empty;
/// <summary>
/// 问题标识
/// </summary>
[Comment("问题标识")]
public ClinicalTableQuestionMark? ClinicalTableQuestionMarkEnum { get; set; }
/// <summary>
/// 最大长度
/// </summary>
[Comment("最大长度")]
public int? MaxAnswerLength { get; set; }
/// <summary>
/// 临床数据选项类型(无,自定义)
/// </summary>
[Comment("临床数据选项类型(无,自定义)")]
public ClinicalOptionType ClinicalOptionTypeEnum { get; set; }
/// <summary>
/// 自定义选项
/// </summary>
[Comment("自定义选项")]
public string TypeValue { get; set; } = string.Empty;
/// <summary>
/// 字典Code
/// </summary>
[Comment("字典Code")]
public string DictionaryCode { get; set; } = string.Empty;
/// <summary>
/// 排序
/// </summary>
[Comment("排序")]
public int ShowOrder { get; set; }
/// <summary>
/// 是否必填
/// </summary>
[Comment("是否必填")]
public IsRequired IsRequired { get; set; }
/// <summary>
/// 外层问题Id
/// </summary>
[Comment("外层问题Id")]
public Guid QuestionId { get; set; }
/// <summary>
/// 小数点位数
/// </summary>
[Comment("小数点位数")]
public int? DigitPlaces { get; set; }
/// <summary>
/// 单位
/// </summary>
[Comment("单位")]
public string Unit { get; set; } = string.Empty;
/// <summary>
/// 关联ID
/// </summary>
[Comment("关联ID")]
public Guid? RelevanceId { get; set; }
/// <summary>
/// 关联Value
/// </summary>
[Comment("关联Value")]
public string RelevanceValue { get; set; } = string.Empty;
}
}

View File

@ -1,10 +1,7 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///项目临床数据问题
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Comment("项目临床数据问题")]
[Table("TrialClinicalQuestion")]
public class TrialClinicalQuestion : BaseAddAuditEntity
{
@ -33,129 +30,78 @@ namespace IRaCIS.Core.Domain.Models
public ClinicalDataTrialSet ClinicalDataTrialSet { get; set; }
#endregion
/// <summary>
/// 项目临床数据Id
/// </summary>
[Comment("项目临床数据Id")]
public Guid TrialClinicalId { get; set; }
/// <summary>
/// 问题名称
/// </summary>
[Comment("问题名称")]
public string QuestionName { get; set; } = string.Empty;
/// <summary>
/// 问题英文名称
/// </summary>
[Comment("问题英文名称")]
public string QuestionEnName { get; set; } = string.Empty;
/// <summary>
/// 临床问题类型(分组,单选。)
/// </summary>
[Comment("临床问题类型(分组,单选。)")]
public string ClinicalQuestionType { get; set; } = string.Empty;
/// <summary>
/// 问题标识
/// </summary>
[Comment("问题标识")]
public ClinicalQuestionMark? ClinicalQuestionMarkEnum { get; set; }
/// <summary>
/// 最大长度
/// </summary>
[Comment("最大长度")]
public int? MaxAnswerLength { get; set; }
/// <summary>
/// 最大行数
/// </summary>
[Comment("最大行数")]
public int? MaxQuestionCount { get; set; }
/// <summary>
/// 临床数据选项类型(无,自定义)
/// </summary>
[Comment("临床数据选项类型(无,自定义)")]
public ClinicalOptionType ClinicalOptionTypeEnum { get; set; }
/// <summary>
/// 分组Id
/// </summary>
[Comment("分组Id")]
public Guid? GroupId { get; set; }
/// <summary>
/// 自定义选项
/// </summary>
[Comment("自定义选项")]
public string TypeValue { get; set; } = string.Empty;
/// <summary>
/// 字典Code
/// </summary>
[Comment("字典Code")]
public string DictionaryCode { get; set; } = string.Empty;
/// <summary>
/// 排序
/// </summary>
[Comment("排序")]
public int ShowOrder { get; set; } = 0;
/// <summary>
/// 是否必填
/// </summary>
[Comment("是否必填")]
public IsRequired IsRequired { get; set; }
/// <summary>
/// 关联Value
/// </summary>
[Comment("关联Value")]
public string RelevanceValue { get; set; } = string.Empty;
/// <summary>
/// 关联ID
/// </summary>
[Comment("关联ID")]
public Guid? RelevanceId { get; set; }
/// <summary>
/// 系统临床问题Id
/// </summary>
[Comment("系统临床问题Id")]
public Guid? SystemClinicalQuestionId { get; set; }
/// <summary>
/// 父问题Id
/// </summary>
[Comment("父问题Id")]
public Guid? ParentId { get; set; }
/// <summary>
/// 父问题触发值
/// </summary>
[Comment("父问题触发值")]
public string ParentTriggerValue { get; set; } = string.Empty;
/// <summary>
/// 显示类型
/// </summary>
[Comment("显示类型")]
public ClinicalQuestionShow ClinicalQuestionShowEnum { get; set; } = ClinicalQuestionShow.Show;
/// <summary>
/// 是否是检查日期
/// </summary>
[Comment("是否是检查日期")]
public bool IsCheckDate { get; set; }
/// <summary>
/// 自定义计算标记
/// </summary>
[Comment("自定义计算标记")]
public ClinicalCalculateMark? CustomCalculateMark { get; set; }
/// <summary>
/// 分组
/// </summary>
[Comment("分组")]
[JsonIgnore]
[ForeignKey("GroupId")]
public TrialClinicalQuestion GroupQuestin { get; set; }
/// <summary>
/// 自定义计算问题
/// </summary>
[Comment("自定义计算问题")]
public string CalculateQuestions { get; set; } = "[]";
/// <summary>
/// 小数点位数
/// </summary>
[Comment("小数点位数")]
public int? DigitPlaces { get; set; }
/// <summary>
/// 单位
/// </summary>
[Comment("单位")]
public string Unit { get; set; } = string.Empty;
}
}

View File

@ -1,11 +1,8 @@
using IRaCIS.Core.Domain.Share;
using System.Linq;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
/// 项目临床表格问题
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Comment("项目临床表格问题")]
[Table("TrialClinicalTableQuestion")]
public class TrialClinicalTableQuestion : BaseAddAuditEntity
{
@ -29,99 +26,60 @@ namespace IRaCIS.Core.Domain.Models
}
#endregion
/// <summary>
/// 项目临床数据Id
/// </summary>
[Comment("项目临床数据Id")]
public Guid TrialClinicalId { get; set; }
/// <summary>
/// 问题名称
/// </summary>
[Comment("问题名称")]
public string QuestionName { get; set; } = string.Empty;
/// <summary>
/// 问题英文名称
/// </summary>
[Comment("问题英文名称")]
public string QuestionEnName { get; set; } = string.Empty;
/// <summary>
/// 临床问题类型(分组,单选。)
/// </summary>
[Comment("临床问题类型(分组,单选。)")]
public string ClinicalTableQuestionType { get; set; } = string.Empty;
/// <summary>
/// 问题标识
/// </summary>
[Comment("问题标识")]
public ClinicalTableQuestionMark? ClinicalTableQuestionMarkEnum { get; set; }
/// <summary>
/// 最大长度
/// </summary>
[Comment("最大长度")]
public int? MaxAnswerLength { get; set; }
/// <summary>
/// 临床数据选项类型(无,自定义)
/// </summary>
[Comment("临床数据选项类型(无,自定义)")]
public ClinicalOptionType ClinicalOptionTypeEnum { get; set; }
/// <summary>
/// 自定义选项
/// </summary>
[Comment("自定义选项")]
public string TypeValue { get; set; } = string.Empty;
/// <summary>
/// 字典Code
/// </summary>
[Comment("字典Code")]
public string DictionaryCode { get; set; } = string.Empty;
/// <summary>
/// 排序
/// </summary>
[Comment("排序")]
public int ShowOrder { get; set; }
/// <summary>
/// 是否必填
/// </summary>
[Comment("是否必填")]
public IsRequired IsRequired { get; set; }
/// <summary>
/// 外层问题Id
/// </summary>
[Comment("外层问题Id")]
public Guid QuestionId { get; set; }
/// <summary>
/// 系统表格问题Id
/// </summary>
[Comment("系统表格问题Id")]
public Guid? SystemTableQuestionId { get; set; }
/// <summary>
/// 自定义计算标记
/// </summary>
[Comment("自定义计算标记")]
public ClinicalCalculateMark? ClinicalCalculateMarkEnum { get; set; }
/// <summary>
/// 自定义计算问题
/// </summary>
[Comment("自定义计算问题")]
public string CalculateQuestions { get; set; } = "[]";
/// <summary>
/// 小数点位数
/// </summary>
[Comment("小数点位数")]
public int? DigitPlaces { get; set; }
/// <summary>
/// 单位
/// </summary>
[Comment("单位")]
public string Unit { get; set; } = string.Empty;
/// <summary>
/// 关联ID
/// </summary>
[Comment("关联ID")]
public Guid? RelevanceId { get; set; }
/// <summary>
/// 关联Value
/// </summary>
[Comment("关联Value")]
public string RelevanceValue { get; set; } = string.Empty;
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///ReadModuleCriterionFrom
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Table("ReadModuleCriterionFrom")]
public class ReadModuleCriterionFrom : BaseAddAuditEntity
{
@ -18,9 +15,6 @@ namespace IRaCIS.Core.Domain.Models
public Guid TrialId { get; set; }
/// <summary>
/// 表单Id
/// </summary>
[Comment("表单Id")]
public Guid ClinicalFormId { get; set; }
}
}

View File

@ -1,10 +1,7 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///阅片医学审核对话
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Comment("阅片医学审核对话")]
[Table("ReadingMedicalReviewDialog")]
public class ReadingMedicalReviewDialog : BaseAddAuditEntity
{
@ -12,9 +9,7 @@ namespace IRaCIS.Core.Domain.Models
[JsonIgnore]
[ForeignKey("TaskMedicalReviewId")]
public TaskMedicalReview TaskMedicalReview { get; set; }
/// <summary>
/// 文件
/// </summary>
[Comment("文件")]
[NotMapped]
public List<OSSImageInfo> FileList
{
@ -35,71 +30,42 @@ namespace IRaCIS.Core.Domain.Models
}
#endregion
/// <summary>
/// 医学审核Id
/// </summary>
[Comment("医学审核Id")]
public Guid TaskMedicalReviewId { get; set; }
/// <summary>
/// 任务Id
/// </summary>
[Comment("任务Id")]
public Guid VisitTaskId { get; set; }
/// <summary>
/// 对话内容
/// </summary>
[Comment("对话内容")]
public string Content { get; set; } = string.Empty;
/// <summary>
/// 用户角色
/// </summary>
[Comment("用户角色")]
public string UserTypeShortName { get; set; } = string.Empty;
/// <summary>
/// 医学审核对话关闭原因
/// </summary>
[Comment("医学审核对话关闭原因")]
public MedicalDialogClose? MedicalDialogCloseEnum { get; set; }
/// <summary>
/// 用户角色枚举
/// </summary>
[Comment("用户角色枚举")]
public int UserTypeEnumInt { get; set; }
/// <summary>
/// 阅片人是否认同
/// </summary>
[Comment("阅片人是否认同")]
public MedicalReviewDoctorUserIdea DoctorUserIdeaEnum { get; set; } = MedicalReviewDoctorUserIdea.defalut;
/// <summary>
/// 是否有问题
/// </summary>
[Comment("是否有问题")]
public bool IsHaveQuestion { get; set; } = false;
/// <summary>
/// 质询问题
/// </summary>
[Comment("质询问题")]
public string Questioning { get; set; } = string.Empty;
/// <summary>
/// 审核建议
/// </summary>
[Comment("审核建议")]
public AuditAdvice AuditAdviceEnum { get; set; } = AuditAdvice.None;
/// <summary>
/// 不同意重阅原因
/// </summary>
[Comment("不同意重阅原因")]
public string DisagreeReason { get; set; } = string.Empty;
/// <summary>
/// 是否申请重阅
/// </summary>
[Comment("是否申请重阅")]
public bool? IsApplyHeavyReading { get; set; }
/// <summary>
/// 图片路径
/// </summary>
[Comment("图片路径")]
public string ImagePath { get; set; } = string.Empty;
/// <summary>
/// 文件名称
/// </summary>
[Comment("文件名称")]
public string FileName { get; set; } = string.Empty;
}
}

View File

@ -1,8 +1,5 @@
namespace IRaCIS.Core.Domain.Models
{
///<summary>
/// 阅片医学问题答案
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Comment("阅片医学问题答案")]
[Table("ReadingMedicineQuestionAnswer")]
public class ReadingMedicineQuestionAnswer : BaseFullAuditEntity
{
@ -12,18 +9,13 @@ namespace IRaCIS.Core.Domain.Models
public TaskMedicalReview TaskMedicalReview { get; set; }
#endregion
/// <summary>
/// 医学审核问题Id
/// </summary>
[Comment("医学审核问题Id")]
public Guid ReadingMedicineQuestionId { get; set; }
/// <summary>
/// 医学审核Id
/// </summary>
[Comment("医学审核Id")]
public Guid TaskMedicalReviewId { get; set; }
public Guid VisitTaskId { get; set; }
public string Answer { get; set; } = string.Empty;
}
}

View File

@ -1,10 +1,7 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
/// 阅片医学审核系统问题
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Comment("阅片医学审核系统问题")]
[Table("ReadingMedicineSystemQuestion")]
public class ReadingMedicineSystemQuestion : BaseFullAuditEntity
{
@ -19,54 +16,33 @@ namespace IRaCIS.Core.Domain.Models
// [NotMapped]
// public List<int> CriterionEnumList => CriterionEnumStr.Split('|', StringSplitOptions.RemoveEmptyEntries).Where(t => !string.IsNullOrEmpty(t)).Select(t=> Convert.ToInt32(t.Trim()) ).ToList(
#endregion
/// <summary>
/// 类型
/// </summary>
[Comment("类型")]
public string Type { get; set; } = string.Empty;
/// <summary>
/// 父问题触发
/// </summary>
[Comment("父问题触发")]
public string ParentTriggerValue { get; set; } = string.Empty;
/// <summary>
/// 问题名称
/// </summary>
[Comment("问题名称")]
public string QuestionName { get; set; } = string.Empty;
/// <summary>
/// 语言类型
/// </summary>
[Comment("语言类型")]
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
/// <summary>
/// 是否是必须
/// </summary>
[Comment("是否是必须")]
public bool IsRequired { get; set; }
/// <summary>
/// 排序
/// </summary>
[Comment("排序")]
public int ShowOrder { get; set; }
/// <summary>
/// 父问题ID
/// </summary>
[Comment("父问题ID")]
public Guid? ParentId { get; set; }
/// <summary>
/// 类型值
/// </summary>
[Comment("类型值")]
public string TypeValue { get; set; } = string.Empty;
/// <summary>
/// 是否启用
/// </summary>
[Comment("是否启用")]
public bool IsEnable { get; set; }
/// <summary>
/// 任务类型
/// </summary>
[Comment("任务类型")]
public ReadingCategory ReadingCategory { get; set; }
public CriterionType? CriterionTypeEnum { get; set; }
public bool IsGeneral { get; set; }
}
}

View File

@ -1,9 +1,6 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
{
///<summary>
///阅片医学审核项目问题
///</summary>
namespace IRaCIS.Core.Domain.Models;
[Comment("阅片医学审核项目问题")]
[Table("ReadingMedicineTrialQuestion")]
public class ReadingMedicineTrialQuestion : BaseFullAuditEntity
{
@ -14,69 +11,42 @@ namespace IRaCIS.Core.Domain.Models
public ReadingMedicineTrialQuestion ParentQuestion { get; set; }
#endregion
/// <summary>
/// 类型
/// </summary>
[Comment("类型")]
public string Type { get; set; } = string.Empty;
/// <summary>
/// 父问题触发值
/// </summary>
[Comment("父问题触发值")]
public string ParentTriggerValue { get; set; } = string.Empty;
/// <summary>
/// 问题名称
/// </summary>
[Comment("问题名称")]
public string QuestionName { get; set; } = string.Empty;
/// <summary>
/// 语言类型
/// </summary>
[Comment("语言类型")]
public LanguageType LanguageType { get; set; } = LanguageType.Chinese;
/// <summary>
/// 类型值
/// </summary>
[Comment("类型值")]
public string TypeValue { get; set; } = string.Empty;
/// <summary>
/// 项目ID
/// </summary>
[Comment("项目ID")]
public Guid TrialId { get; set; }
/// <summary>
/// 是否启用
/// </summary>
[Comment("是否启用")]
public bool IsEnable { get; set; }
/// <summary>
/// 是否必须
/// </summary>
[Comment("是否必须")]
public bool IsRequired { get; set; }
/// <summary>
/// 排序
/// </summary>
[Comment("排序")]
public int ShowOrder { get; set; }
/// <summary>
/// 父问题
/// </summary>
[Comment("父问题")]
public Guid? ParentId { get; set; }
/// <summary>
/// 是否确认
/// </summary>
[Comment("是否确认")]
public bool IsConfirm { get; set; }
/// <summary>
/// 任务类型
/// </summary>
[Comment("任务类型")]
public ReadingCategory ReadingCategory { get; set; }
/// <summary>
/// 项目标准
/// </summary>
[Comment("项目标准")]
public Guid TrialReadingCriterionId { get; set; }
public Guid? SystemQuestionId { get; set; }
}
}

Some files were not shown because too many files have changed in this diff Show More