package org.diagbot.nlp.util;

import java.util.HashMap;
import java.util.Map;

public class Constants {
    public static Map<Character, Character> chn_chars_map = new HashMap<Character, Character>(100, 0.75f);

    public final static String default_negative = "有";

    public final static String feature_type_symptom  = "1"; //症状
    public final static String feature_type_diag  = "2";    //诊断
    public final static String feature_type_vital  = "3";   //体征
    public final static String feature_type_lis = "4";      //化验
    public final static String feature_type_pacs = "5";     //检查
    public final static String feature_type_treat = "6";       //治疗
    public final static String feature_type_history = "7";       //历史
    public final static String feature_type_feature = "9"; //症状描述中的特征信息 如部位、性质等
    public final static String feature_type_time = "10";    //提取时间
    public final static String feature_type_vital_index = "42"; //体征指标
    public final static String feature_type_default = "-1"; //默认返回类型

    public static NegativeEnum[] symptom_type = new NegativeEnum[]{NegativeEnum.SYMPTOM, NegativeEnum.SYMPTOM_INDEX, NegativeEnum.SYMPTOM_PERFORMANCE};
    public static NegativeEnum[] unit_time_type = new NegativeEnum[]{NegativeEnum.EVENT_TIME, NegativeEnum.UNIT};
    public static NegativeEnum[] event_time_desc_type = new NegativeEnum[]{NegativeEnum.EVENT_TIME_DESC};
    public static NegativeEnum[] vital_type = new NegativeEnum[]{NegativeEnum.VITAL_INDEX, NegativeEnum.VITAL_RESULT, NegativeEnum.BODY_PART};
    public static NegativeEnum[] vital_index_type = new NegativeEnum[]{NegativeEnum.VITAL_INDEX};
    public static NegativeEnum[] vital_result_type = new NegativeEnum[]{NegativeEnum.VITAL_RESULT};
    public static NegativeEnum[] vital_value_type = new NegativeEnum[]{NegativeEnum.VITAL_INDEX_VALUE};
    public static NegativeEnum[] body_part_type = new NegativeEnum[]{NegativeEnum.BODY_PART};
    public static NegativeEnum[] position_type = new NegativeEnum[]{NegativeEnum.POSITION};
    public static NegativeEnum[] property_type = new NegativeEnum[]{NegativeEnum.PROPERTY};
    public static NegativeEnum[] degree_type = new NegativeEnum[]{NegativeEnum.DEEP};
    public static NegativeEnum[] cause_type = new NegativeEnum[]{NegativeEnum.CAUSE};
    public static NegativeEnum[] negative_type = new NegativeEnum[]{NegativeEnum.FEMININE};
    public static NegativeEnum[] lis_name_type = new NegativeEnum[]{NegativeEnum.LIS_NAME};
    public static NegativeEnum[] lis_result_type = new NegativeEnum[]{NegativeEnum.LIS_RESULT};
    public static NegativeEnum[] pacs_name_type = new NegativeEnum[]{NegativeEnum.PACS_NAME};
    public static NegativeEnum[] pacs_result_type = new NegativeEnum[]{NegativeEnum.PACS_RESULT};
    public static NegativeEnum[] treatment_type = new NegativeEnum[]{NegativeEnum.TREATMENT};
    public static NegativeEnum[] medicine_type = new NegativeEnum[]{NegativeEnum.MEDICINE};

    public static String[] negative_words = new String[]{"无", "未", "未及", "无殊", "否认", "未见", "不", "未闻", "未闻及", "欠", "非", "无明显", "不伴", "不伴有", "不规则"};

    public final static String word_property_time = "2";
    public final static String word_property_unit = "9";
    public final static String word_property_number = "28";

    public static String[] vital_filter_data = new String[] {
            "神清","神志清","睡眠可","精神可","精神佳","二便无殊","体重无明显减轻","睡眠一般","小便无殊","大便无殊","胃纳可","食欲可", "大小便正常"
    };

    public final static String word_property_timestamp = "40";
    public final static String word_property_symptom = "1";
    public final static String word_property_bodypart = "3";
    public final static String word_property_prop = "4";
    public final static String word_property_cause = "5";
    public final static String word_property_degree = "6";
    public final static String word_property_neg = "7";
    public final static String word_property_med = "53";
    public final static String word_property_med_com = "54";
    public final static String word_property_treat = "11";
    public final static String word_property_LIS = "12";
    public final static String word_property_LIS_Detail = "13";
    public final static String word_property_LIS_Result = "14";
    public final static String word_property_PACS = "15";
    public final static String word_property_PACS_Detail = "16";
    public final static String word_property_PACS_Result = "17";
    public final static String word_property_diagnose = "18";
    public final static String word_property_direction = "20";
    public final static String word_property_freq = "27";
    public final static String word_property_vital_idx = "33";
    public final static String word_property_vital_value = "34";
    public final static String word_property_vital_result = "35";
    public final static String word_property_degree_quan = "43";
    public final static String word_property_other = "44";


}
