
using System.ComponentModel.DataAnnotations;
namespace IRaCIS.Core.Domain.Share
{
    public enum ReadingCategory
    {
        //访视
        Visit = 1,

        ////阅片周期
        //ReadingPeriod = 3,

        //全局
        Global = 2,

        //裁判
        Judge = 4,

        /// <summary>
        /// 肿瘤学
        /// </summary>
        Oncology = 5,



     
    }

    public enum GenerateTaskCategory
    {
        //访视
        Visit = 1,

        ////阅片周期
        //ReadingPeriod = 3,

        //全局
        Global = 2,

        //裁判
        Judge = 4,

        /// <summary>
        /// 肿瘤学
        /// </summary>
        Oncology = 5,



        //生成任务 额外增加的  前端那边不加

        ReReading = 6,

        SelfConsistent = 7,

        GroupConsistent = 8,
    }

    public enum TaskAllocationState
    {
        //未分配
        NotAllocate = 0,

        //预分配
        InitAllocated = 1,

        //已分配
        Allocated = 2,


    }


    public enum MedicalReviewAuditState
    {
        //待审核
        WaitAudit=0,

        //审核中
        Auditing=1,

        HaveSigned=2
    }

    public enum MedicalDialogClose
    {
        /// <summary>
        /// 无
        /// </summary>
        [Display(Name = "")]
        None = 0,

        /// <summary>
        /// 问题已解决
        /// </summary>
        [Display(Name = "问题已解决")]
        ProblemSolved = 1,

        /// <summary>
        /// 问题无法解决
        /// </summary>
        [Display(Name = "问题无法解决")]
        Unresolvable = 2,

        /// <summary>
        /// IR申请重阅
        /// </summary>
        [Display(Name = "IR申请重阅")]
        IRApplyReReading = 3,

        /// <summary>
        /// 其他原因
        /// </summary>
        [Display(Name = "IR申请重阅")]
        OtherReason = 4
    }

    /// <summary>
    /// 
    /// </summary>
    public enum AuditAdvice
    { 
       /// <summary>
       /// 无
       /// </summary>
       None=0,

        /// <summary>
        /// 退回重阅
        /// </summary>
        HeavyReading = 1,

        /// <summary>
        /// 提醒注意
        /// </summary>
        Remind = 2,
    }


    public enum MedicalReviewDoctorUserIdea
    {
        defalut=0,

        Agree=1,

        NotAgree=2
    }

    public enum Arm
    {
        SingleReadingArm = 0,

        DoubleReadingArm1 = 1,

        DoubleReadingArm2 = 2,

        JudgeArm = 3,

        TumorArm = 4,

        //单独的
        GroupConsistentArm=8
    }

    /// <summary>
    /// 分配对象
    /// </summary>
    public enum TaskAllocateObj
    {
        Subject = 0,

        SubjectVisit = 1
    }

    public enum TableQuestionType
    {
        /// <summary>
        /// 自定义
        /// </summary>
        Customize=0,

        /// <summary>
        /// 关联数据
        /// </summary>
        LinkedData=1,

        /// <summary>
        /// 关联Question
        /// </summary>
        LinkedQuestion = 2,

        /// <summary>
        /// 字典
        /// </summary>
        Dictionary = 3,

    }

    public enum FormType
    {
        None=0,
         
        /// <summary>
        /// 单页
        /// </summary>
        SinglePage=1,

        /// <summary>
        /// 多页
        /// </summary>
        MultiplePage = 2,

    }

    //分配默认状态
    public enum TaskAllocateDefaultState
    {
        //默认值  看是否需要项目初始化时就给默认值 1 或者2 
        None = 0,

        //预分配
        InitAllocated = 1,

        //已分配
        Allocated = 2,
    }

    public enum ReadingTool
    {
        Dicom=0,

        NoDicom=1,
    }

    public enum ArbitrationRule
    {
        //默认值  看是否需要项目初始化时就给默认值 1 或者2 
        None = 0,

        /// <summary>
        /// 访视
        /// </summary>
        Visit=1,

        /// <summary>
        /// 阅片
        /// </summary>
        Reading = 2,

        /// <summary>
        /// 无
        /// </summary>
        NA=3,
    }


    public enum ReadingMethod
    {
        Single = 1,

        Double = 2,

        Special = 3
    }

    public enum ReadingTaskViewMethod
    {
        //受试者
        Subject = 0,

        //访视/阅片期
        ReadingPeriodOrVisit = 2,

    }

    public enum TaskState
    {
        //有效
        Effect = 0,

        //未生效
        NotEffect = 1,

        //  失效
        Adbandon = 3,

        //重置 （裁判任务做了，签名了   算工作量） 
        HaveReturned = 4,

        /// <summary>
        /// 转为IRECIST之后 之前任务的状态
        /// </summary>
        Freeze = 5,
    }

    //阅片状态
    public enum ReadingTaskState
    {
        /// <summary>
        /// 待阅
        /// </summary>
        WaitReading = 0,

        /// <summary>
        /// 阅片中
        /// </summary>
        Reading = 1,

		/// <summary>
		/// 已签名
		/// </summary>
		HaveSigned = 2,
    }

    /// <summary>
    /// 任务加急状态
    /// </summary>
    public enum TaskUrgentType
    {
        /// <summary>
        /// 入组确认
        /// </summary>
        EnrollmentConfirm=1,

        /// <summary>
        /// PD进展
        /// </summary>
        PDProgress=2,

        /// <summary>
        /// 访视加急
        /// </summary>
        VisitUrgent=3,

        /// <summary>
        /// 其他
        /// </summary>
        Other=4,
    }


    //public enum AnalysisType
    //{
    //    Default=0,

    //    Self=1,

    //    InnerGroup=2
    //}

    //
    public enum RequestReReadingType
    {
        Default = 0,

        //IR 申请
        DocotorApply = 1,

        //PM 申请
        TrialGroupApply = 2
    }

    //重阅申请结果

    public enum RequestReReadingResult
    {
        Default = 0,

        Agree = 1,

        Reject = 2
    }

    public enum ReReadingApplyState
    {
        Default = 0,


        Agree = 2,

        Reject = 3,


        //IR 申请
        DocotorHaveApplyed = 4,

        //PM 申请
        TrialGroupHaveApplyed = 5




    }

    public enum CompleteClinicalDataEnum
    {
        NA=-1,

        NotComplete=0,
        Complete=1,
    }


}
