const  MettaSvr_Common =
{   
    APP_VERSION: "v0.0.12",
    ITEMS_PER_PAGE: 5,
    ODATA_Keys:{
        CountKey: "@odata.count",
        ValueKey: "value"
    },
    FILE_NAMES: {
        SubscriptionReport: "Subscription_Report",
        PatientDailyLogReport: "Patient_Daily_Log_Report",
        PatientLabReport: "Patient_Lab_Report",
        PatientMedicalHistoryReport: "Patient_Medical_History_Report",
    },
    //TODO:
    CIPHER_DEV_KEY:'DoNotUseInProduction', //REACT_APP_SECRET_KEY
    DateFormat: "DD-MM-YYYY",
    DateFormatV1: "dd-MM-yyyy",    
    SaveDateFormat: "yyyy-MM-DD",
    YearOnlyDateFormat: "yyyy",
    TimeFormat:"HH:mm",
    SaveTimeFormat:"HH:mm",
    APIResponseStatus:
    {
        Success: 1,
        Error: 2,
        NotFound: 3,
        Created: 4            
    },

    CodeType:
    {
        Roles :1 ,
        UserTypes: 2,
        Genders: 3,
        Salutations: 4
    },

    RoleEnum:
    {
        SuperAdmin: 1,
        Admin: 2,
        Assistant: 3,
        User: 4,
        Visitor: 5,
    },
    UserTypeEnum:
    {
        Doctor: 6,
        Educator: 7,
        Patients: 8,
        Visitor: 58,
    },
    
    GenderEnum:
    {
        Male: 9,
        Female: 10,
        Others: 11
    },

    SalutationEnum:
    {
        MR: 12,
        MS: 13,
        DR: 14
    },
    NotificationTypeEnum:
    {
        Working: 33,
        HealthStatus: 34,
        System: 35
    },
    PatientStatusEnum:
    {
        Normal: 46,
        Moderate: 47,
        Severe: 48
    }
}

const SubscriptionCode_Type_Enum = {
    Created: 53,
    Activated: 54,
    Renewed: 55,
    Deactivated: 56,
    Processing: 57
}

const DailyLog_Enums = {
    DailyLogsCTEnum:
    {
        InsulinUnit: 36,
        SugarValue: 37,
        BloodPressure: 38,
        Food: 39,
        Exercise: 40,
        Medication: 41,
        AnyOtherValue: 42,
    },
    CriticalityStatusEnum:
    {
        Normal: 43,
        Warning: 44,
        Danger: 45
    },
    ChatMessageTypeEnum:
    {
        Text: 49,
        Image: 50,
        System: 51,
        Error: 52
    }
}

const LabTestStatusIndicator_Enum = {
        Normal: 59,
        Moderate: 60,
        Severe: 61
    }

const MedicalLog_Enums = {
    FamilyHistoryCTEnum:
    {
        HeartAttack: 15,
        Stroke: 16,
        Diabetes: 17,
        Hypertension: 18,
        Cancer: 19,
        Other: 20,
        NA: 21
    },

    MedicalHistoryCTEnum:
    {
        HeartAttack: 22,
        Stroke: 23,
        Diabetes: 24,
        Hypertension: 25,
        Cancer: 26,
        Other: 27,
        NA: 28
    },
    
    MedicalHistoryCTEnumToText:
    {
        HeartAttack: "Heart Attack",
        Stroke: "Stroke",
        Diabetes: "Diabetes",
        Hypertension: "Hypertension",
        Cancer: "Cancer",
        Other: "Other",
        NA: "None"
    },

    AddictionCTEnum:
    {
        Smoking: 29,
        Alcohol: 30,
        PanGhutka: 31,
        Other: 32,
        NA: 33 //local
    }
}

const UserProfile_Enum ={
    WorkExperienceUpdateEnum:{
        QualificationDetails: 111,
        WorkExpDetails: 112,
        CertificateDetails: 113
    },
    WorkExperienceUpdateKeyEnum:{
        QualificationDetails: "Qualification",
        WorkExpDetails:"WorkExperience",
        CertificateDetails: "Certification"
    },
    UpdateType:{
        PersonalDetails: 114,
        AddressDetails: 115,
        OtherDetails: 116
    }
}
export {MettaSvr_Common, DailyLog_Enums, MedicalLog_Enums, SubscriptionCode_Type_Enum, 
    LabTestStatusIndicator_Enum, UserProfile_Enum}