
class GKEYS:
    #
    #USER_TYPE="user_type"   #用户类型,个人用户还是专业用户
    #USER_NAME="user_name"   #用户名，登录账号
    #PASSWORD="password"   #用户名，登录账号
    #NEWPASSWORD="newpassword"   #新密码，修改密码
    #PORTRAIT="portrait"  # 头像
    
    #
    #RES="res"
    #UID="uid"
    # 个人信息
    REALNAME="realname"  # 真实姓名
    NICKNAME="nickname"  # 昵称
    GENDER="gender"    #性别
    MARRIAGE="marriage"  #婚姻状况
    #BIRTH_DAY="birth_day"   # 出生日期
    AGE = "age"             # 年龄
    CERT_TYPE="cert_type"   #证件类型
    CERT_ID="cert_id"    #证件号码
    HEIGHT="height"   #身高
    WEIGHT="weight"   #体重
    HEIGHT_UNIT = "height_unit"  ## height unit
    WEIGHT_UNIT = "weight_unit"  ## weight unit
    
    PROVINCE="province"  #身份
    CITY="city"  #城市
    COUNTY="county"  #县区
    ZIPCODE="zipcode"  #邮编
    MOTTO="motto"  # 座右铭
    
    ADDRESS="address"  #地址
    MOBILE="mobile"   #移动电话
    TELEPHONE="telephone"   #固定电话
    EMAIL="email"    #电子邮箱
    VERIFY_CODE="veri_code"   #验证码
    
    # 糖尿病信息
    #GLUCOSE_TARGET="glucose_target"   #目标血糖
    #HYPO="hypo"   #低血糖门限
    DIABETES_TYPE="diabetes_type"  #糖尿病类型
    CONFIRM_TIME="confirm_time"  #确诊时间
    
    # 医生信息
    DOCTOR_MAJOR="major"  #医生专业
    DOCTOR_TITLE="title"  #医生职务
    DOCTOR_SERVE_FOR="serve_for"   #医生服务机构
    
    # 
    VALIDATE_FAIL_LIST="validate_fail_list"   #验证失败字段列表
    
    #
    BIRTH_YEAR="birth_year"   #出生日期-年
    BIRTH_MONTH="birth_month"   #出生日期-月
    BIRTH_DAYOM="birth_dayom"   #出生日期-日

    # 
    CONFIRM_YEAR="confirm_year"  #确诊时间-年
    CONFIRM_MONTH="confirm_month"  #确诊时间-月
    CONFIRM_DAYOM="confirm_dayom"   #确诊日期-日
    BLN="bln"  # 病龄年
    BLY="bly"  # 病龄月
    
    # 
    SUBJECT="subject"    # 主体
    OBJECT="object"    # 客体
    # 
    RELATIONS="relations"
    PATIENTS="patients"
    PRIVILEGE="privilege"
    
    # 私信
    MSG_TITLE="msg_title"
    MSG_CONTENT="msg_content"
    RECEIVER_UID="receiver_uid"
    SENDER_UID="sender_uid"
    SENDERNAME="sendername"
    SEND_RECEIVE = "send_receive"
    TIME_ORDER = "time_order"
    MAIL_TIME_RANGE = "mail_time_range"
    ATTACH_PATH = "attach_path"
    S_TIME = "s_time"
    E_TIME = "e_time"
    
    # 搜索好友
    #SEARCH_KEY="search_key"    # 搜索的关键字都用这个字符串。
    SEARCHPSN="searchpsn"
    # search in private letter
    PRIVATE_SEARCH_KEY = "private_search_key"
    
    # 通用
    FLAG="flag"
    
    # 密保
    MIBAO="mibao"
    HASMIBAO="hasmibao"
    QUESN1="quesn1"
    ANSW1="answ1"
    QUESN2="quesn2"
    ANSW2="answ2"
    QUESN3="quesn3"
    ANSW3="answ3"  
    
    # 
    #REASON="reason" 
    NEXT='next'
    MSG='msg'
    SECCODE="seccode"
    TOKEN="token"
    ACTION="action"
    VIEWOTHER="viewother"
    VIEWUID="viewuid"
    VIEW='view'
    SUBVIEW='subview'
    ######################################################

    DATE="date"   #日期    添加时间 2015.4.15
    TIME="time"   #时间   添加时间 2015.4.15
    CONTENT="content"   #内容   添加时间 2015.4.15
    EVENT="event"    #事件类型
    DETAIL="detail"  #事件详情
    DETAIL_FOOD = "detail_food"  #食量
    DETAIL_EX_TIME = "detail_ex_time" #持续时间
    DETAIL_EX_TYPE = "detail_ex_type" #运动类型
    DETAIL_HbA1c = "detail_HbA1c"     #测量值
    RESULT = "result"               #测量结果
    REMARK="remark"  #备注
    ADD_EVENT_FAIL_REASON="add_event_fail_reason" # 添加事件错误信息
    DATE_START="date_start"  #起始日期   添加时间  2015.4.15
    DATE_END="date_end"      #结束日期   添加时间  2015.4.15
    ID="id" # event id, added on 2015.4.23
    FRIEND_INFO = "friend_info"
    
    DATE_ORDER = "date_order"    
    TIME_ORDER = "time_order" 
    DATETIME_ORDER = "datetime_order"
    EVENT_ORDER = "event_order" 
    EVENT_CLICK = "event_click"
    TIME_CLICK = "time_click"
    PAGE = "page"
    ######################################################
    ######################################################
    DIAGNOSE_DATE = "diagnose_date"
    DISEASE_TYPE = "disease_type"
    MEDICINE_TYPE = "medicine_type"
    DOSAGE = "dosage"
    REMARK = "remark"
    
    EXPERIMENT_DATE = "experiment_date"
    EXPERIMENT_TYPE = "experiment_type"
    EXPERIMENT_RESULT = "experiment_result"
    STANDARD_VALUE = "standard_value"
    
    REMARK_DATE = "remark_date"
    REMARK_CONTENT = "remark_content"
    
    SUGGEST_DATE = "suggest_date"
    SUGGEST_CONTENT = "suggest_content"
    DOCTOR_ID = "doctor_id"
    DOCTOR_NAME = "doctor_name"
    
    R_5_W = "r_5_w"
    R_5_DATE = "r_5_date"
    R_5_VIEWUID = "r_5_viewuid"
    
    SUGGEST = "suggest"    
    
    #
    PDF_TYPE = "pdf_type"
    FILE_NAME = "file_name"
    CHART_TYPE = "chart_type"