// A4: 210毫米 × 297毫米 = 793.70px *  1122.52px
// A5: 148毫米 × 210毫米 = 559.37px * 793.70px

export const statusFlags = [
    {code: 0, name: '待审核'},
    {code: 1, name: '已审核'},
    {code: 2, name: '未通过'},
]
export const yzZhuangTai = [
    {code: '0', name: '全部'},
    {code: '1', name: '待审核'},
    {code: '2', name: '已审核'},
    {code: '3', name: '未通过'},
    {code: '4', name: '已回撤'},
]

export const medTypes = [
    {code: '00', name: '全部'},
    {code: '2101', name: '普通住院'},
    {code: '2102', name: '单病种住院'},
    {code: '2106', name: '生育平产(居民)'},
    {code: '2107', name: '生育剖宫产(居民)'},
    {code: '22', name: '外伤住院'},
    {code: '52', name: '生育住院(职工)'},
    {code: '42', name: '工伤住院'},
]

export const frontSheetMedTypes = [
    {code: '01', name: '自费'},
    {code: '2101', name: '普通住院'},
    {code: '2102', name: '单病种住院'},
    {code: '2106', name: '生育平产(居民)'},
    {code: '2107', name: '生育剖宫产(居民)'},
    {code: '22', name: '外伤住院'},
    {code: '52', name: '生育住院(职工)'},
    {code: '42', name: '工伤住院'},
]

export const trueMedTypes = [
    {code: '2101', name: '普通住院'},
    {code: '2102', name: '单病种住院'},
    {code: '2106', name: '生育平产(居民)'},
    {code: '2107', name: '生育剖宫产(居民)'},
    {code: '22', name: '外伤住院'},
    {code: '52', name: '生育住院(职工)'},
    {code: '42', name: '工伤住院'},
]

export const needVerifyMedTypes = [
    {code: '2102', name: '单病种住院'},
    {code: '2106', name: '生育平产(居民)'},
    {code: '2107', name: '生育剖宫产(居民)'},
    {code: '22', name: '外伤住院'},
    {code: '52', name: '生育住院(职工)'},
    {code: '42', name: '工伤住院'},
]

export const sexes = [
    {code: 0, name: '未知'},
    {code: 1, name: '男'},
    {code: 2, name: '女'},
    {code: 9, name: '未说明的性别'},
]

export const siDictTypes = [
    {code: 'psn_type', name: '人员类别'},
    {code: 'med_type', name: '医疗类别'},
    {code: 'insutype', name: '险种类型'},
    {code: 'adm_way', name: '入院途径'},
    {code: 'dscg_way', name: '离院方式'},
    {code: 'psn_cert_type', name: '人员证件类型'},
    {code: 'mdtrt_cert_type', name: '就诊凭证类型'},
    {code: 'gend', name: '性别'},
    {code: 'naty', name: '民族'},
    {code: 'ipt_med_type', name: '住院医疗类型'},
    {code: 'trt_type', name: '治疗类别'},
    {code: 'dcla_souc', name: '申报来源'},
    {code: 'matn_type', name: '生育类别'},
    {code: 'birctrl_type', name: '计划生育手术类别'},
    {code: 'hosp_appr_flag', name: '医院审批标志'},
    {code: 'tcmdrug_used_way', name: '中药使用方式'},
    {code: 'fixmedins_type', name: '定点医疗服务机构类型'},
    {code: 'prodplac_type', name: '生产地类别'},
    {code: 'chrgitm_lv', name: '收费项目等级'},
    {code: 'agnter_rlts', name: '代办人关系'},
    {code: 'clr_type', name: '清算类别'},
    {code: 'clr_way', name: '清算方式'},
    {code: 'pay_loc', name: '支付地点'},
    {code: 'cvlserv_lv', name: '公务员等级'},
    {code: 'list_sp_item_flag', name: '目录特项标志'},
    {code: 'dedc_hosp_lv', name: '起付线医院等级'},
    {code: 'lmtpric_hosp_lv', name: '限价医院等级'},
    {code: 'med_chrgitm_type', name: '医疗收费项目类别'},
    {code: 'drord_type', name: '医嘱类别'},
    {code: 'turnaround_hosp_lv', name: '转往医院等级'},
    {code: 'fund_pay_type', name: '基金支付类型'},
    {code: 'list_type', name: '目录类别'},
    {code: 'biz_appy_type', name: '业务申请类型'},
    {code: 'inv_chg_type', name: '库存变更类型'},
    {code: 'hi_feesetl_type', name: '医保费用结算类型'},
    {code: 'inout_diag_type', name: '出入院诊断类别'},
    {code: 'diag_type', name: '诊断类别'},
    {code: 'bank_type_code', name: '银行行别代码'},
    {code: 'hosp_lv', name: '医院等级'},
    {code: 'fix_onln_open_flag', name: '定点联网开通标志'},
    {code: 'drug_dosform', name: '药品剂型'},
    {code: 'tcmpat_flag', name: '中成药标志'},
    {code: 'prcunt_type', name: '计价单位类型'},
    {code: 'pacmatl', name: '包装材质'},
    {code: 'min_useunt', name: '最小使用单位'},
    {code: 'servitem_type', name: '服务项目类别'},
    {code: 'prod_pacmatl', name: '产品包装材质'},
    {code: 'impt_itvt_clss_flag', name: '植入或介入类标志'},
    {code: 'trt_chk_type', name: '待遇检查类型'},
    {code: 'vola_amt_stas', name: '违规金额计算状态'},
    {code: 'sev_deg', name: '违规严重程度'},
    {code: 'vola_bhvr_type', name: '违规行为分类'},
    {code: 'vola_item_type', name: '违规明细类型'},
    {code: 'transaction_type', name: '交易类型'},
    {code: 'nwb_adm_type', name: '新生儿入院类型'},
    {code: 'psn_idet_type', name: '人员身份类别'},
    {code: 'disa_lv', name: '残疾等级'},
    {code: 'nat_regn_code', name: '国家地区代码'},
    {code: 'hi_paymtd', name: '医保支付方式'},
    {code: 'dept', name: '科室代码'},
    {code: 'rgst_type_code', name: '挂号类别代码'},
    {code: 'rgst_way_code', name: '挂号方式代码'},
    {code: 'ordr_way_code', name: '预约途径代码'},
    {code: 'aise_code', name: '过敏源代码'},
    {code: 'disa_info_code', name: '残疾情况代码'},
    {code: 'symp_code', name: '症状代码'},
    {code: 'rx_type_code', name: '处方类别代码'},
    {code: 'rx_item_type_code', name: '处方项目分类代码'},
    {code: 'tcmdrug_type_code', name: '中药类别代码'},
    {code: 'medn_type_code', name: '药物类型代码'},
    {code: 'drug_medc_way_code', name: '药物使用-途径代码'},
    {code: 'mrg_stas', name: '婚姻状况类别代码'},
    {code: 'blotype_abo', name: 'ABO血型代码'},
    {code: 'blotype_rh', name: 'Rh血型代码'},
    {code: 'medcas_qlt_code', name: '住院病例病案质量代码'},
    {code: 'days_rinp_flag_31', name: '出院31天内再住院计划标志'},
    {code: 'ipt_dise_crsp', name: '住院患者疾病诊断对照代码'},
    {code: 'ipt_dise_inscp_code', name: '住院患者诊断符合情况代码'},
    {code: 'dscg_trt_rslt_code', name: '出院诊疗结果代码'},
    {code: 'hbsag', name: '乙肝表面抗原'},
    {code: 'hcv-ab', name: '丙型肝炎抗体'},
    {code: 'hiv-ab', name: '艾滋病毒抗体'},
    {code: 'hif_pay_code', name: '医保付费方式代码'},
    {code: 'medfee_paymtd_code', name: '医疗费用支付方式代码'},
    {code: 'ipt_dise_type_code', name: '住院患者疾病诊断类型代码'},
    {code: 'adm_dise_cond_code', name: '入院疾病病情代码'},
    {code: 'adm_cond_code', name: '入院时情况代码'},
    {code: 'high_dise_evid', name: '最高诊断依据'},
    {code: 'bkup_deg_code', name: '分化程度代码'},
    {code: 'oprn_oprt_lv_code', name: '手术级别代码'},
    {code: 'sinc_heal_lv_code', name: '手术切口愈合等级代码'},
    {code: 'anst_mtd_code', name: '麻醉-方法代码'},
    {code: 'oprn_oper_part_code', name: '手术操作部位代码'},
    {code: 'anst_lv_code', name: '麻醉分级代码'},
    {code: 'oprn_patn_type _code', name: '手术患者类型'},
    {code: 'drord_item_type', name: '医嘱项目分类代码'},
    {code: 'exam_test_type', name: '检验检查类别'},
    {code: 'rpt_type_code', name: '报告单类别代码'},
    {code: 'reta_rslt_code', name: '抗药结果代码'},
    {code: 'exam_test', name: '检查/检验标志'},
    {code: 'bld_natu_code', name: '输血性质代码'},
    {code: 'bld_cat_code', name: '输血品种代码'},
    {code: 'bld_defs_type_code', name: '输血反应类型代码'},
    {code: 'matn_stas', name: '生育状态'},
    {code: 'drord_dr_profttl', name: '开单医生职称'},
    {code: 'lmt_cpnd_type', name: '限复方使用类型'},
    {code: 'matn_trt_dclaer_type', name: '生育待遇申报人类别'},
    {code: 'medins_psn_type', name: '医务人员类别'},
    {code: 'rute', name: '给药途径'},
    {code: 'adm_cond_type', name: '入院病情类型'},
    {code: 'hi_setl_lv', name: '医保结算等级'},
    {code: 'hilist_lmtprc_type', name: '医保目录限价类型'},
    {code: 'selfpay_prop_psn_type', name: '医保目录自付比例人员类型'},
    {code: 'selfpay_prop_type', name: '目录自付比例类别'},
    {code: 'refl_type', name: '转院类型'},
    {code: 'oprn_oprt_type', name: '手术操作类别'},
    {code: 'patn_cert_type', name: '患者证件类别'},
    {code: 'prfs', name: '职业'},
    {code: 'patn_rlts', name: '与患者关系'},
    {code: 'mdcs_type', name: '医疗保障类型'},
    {code: 'sp_psn_type', name: '特殊人员类型'},
    {code: 'psn_setlway', name: '个人结算方式'},
    {code: 'used_frqu', name: '使用频次'},
    {code: 'hlcon', name: '健康状况'},
    {code: 'delv_stas_codg', name: '配送状态'},
    {code: 'delver_geo_type', name: '配送位置经纬度类型'},
    {code: 'hilist_lmtpric_type', name: '医保目录限价类型'},
]

export const tuiFeiLeiXin = [
    {code: 0, name: '未退'},
    {code: 1, name: '已退'},
    {code: 2, name: '被退'},
    {code: 3, name: '全部'},
]

export const yiZhuTuiFeiLeiXing = [
    {code: 0, name: '护士'},
    {code: 2, name: '全部'},
    {code: 1, name: '医嘱'},
    {code: 3, name: '医技'},
]

export const feiYongLeiXing = [
    {code: 0, name: '项目'},
    {code: 1, name: '药品'},
]

export const admdvses = [
    {code: '119900', name: '北京市市本级'},
    {code: '129900', name: '天津市市本级'},
    {code: '139900', name: '河北省省本级'},
    {code: '149900', name: '山西省省本级'},
    {code: '159900', name: '内蒙古自治区区本级'},
    {code: '219900', name: '辽宁省省本级'},
    {code: '229900', name: '吉林省省本级'},
    {code: '239900', name: '黑龙江省省本级'},
    {code: '319900', name: '上海市市本级'},
    {code: '329900', name: '江苏省省本级'},
    {code: '339900', name: '浙江省省本级'},
    {code: '349900', name: '安徽省省本级'},
    {code: '359900', name: '福建省省本级'},
    {code: '369900', name: '江西省省本级'},
    {code: '379900', name: '山东省省本级'},
    {code: '419900', name: '河南省省本级'},
    {code: '429900', name: '湖北省省本级'},
    {code: '439900', name: '湖南省省本级'},
    {code: '810000', name: '香港特别行政区'},
    {code: '820000', name: '澳门特别行政区'},
    {code: '430199', name: '长沙市市本级'},
    {code: '430102', name: '长沙市芙蓉区'},
    {code: '430103', name: '长沙市天心区'},
    {code: '430104', name: '长沙市岳麓区'},
    {code: '430105', name: '长沙市开福区'},
    {code: '430111', name: '长沙市雨花区'},
    {code: '430140', name: '长沙市高新区'},
    {code: '430121', name: '长沙市长沙县'},
    {code: '430112', name: '长沙市望城区'},
    {code: '430181', name: '浏阳市'},
    {code: '430182', name: '宁乡市'},
    {code: '449900', name: '广东省省本级'},
    {code: '459900', name: '广西壮族自治区区本级'},
    {code: '469900', name: '海南省省本级'},
    {code: '509900', name: '重庆市市本级'},
    {code: '519900', name: '四川省省本级'},
    {code: '529900', name: '贵州省省本级'},
    {code: '539900', name: '云南省省本级'},
    {code: '549900', name: '西藏自治区区本级'},
    {code: '619900', name: '陕西省省本级'},
    {code: '629900', name: '甘肃省省本级'},
    {code: '639900', name: '青海省省本级'},
    {code: '649900', name: '宁夏回族自治区区本级'},
    {code: '659900', name: '新疆维吾尔自治区区本级'},
    {code: '669900', name: '新疆生产建设兵团本级'},
]

export const getPsnType = [
    {code: '11', name: '在职'},
    {code: '12', name: '退休'},
    {code: '1204', name: '提前退休'},
    {code: '13', name: '离休'},
    {code: '1401', name: '新生儿'},
    {code: '1402', name: '学龄前儿童'},
    {code: '1403', name: '中小学生'},
    {code: '1404', name: '大学生'},
    {code: '1405', name: '未成年（未入学）'},
    {code: '15', name: '居民（成年）'},
    {code: '16', name: '居民（老年）'},
    {code: '1701', name: '城乡居民'},
]

export const clrOptinsData = [
    {code: '439900', name: '省本级'},
    {code: '430100', name: '长沙市'},
    {code: '430121', name: '长沙县'},
    {code: '430199', name: '长沙市市本级'},
    {code: '430102', name: '长沙市芙蓉区'},
    {code: '430103', name: '长沙市天心区'},
    {code: '430104', name: '长沙市岳麓区'},
    {code: '430105', name: '长沙市开福区'},
    {code: '430111', name: '长沙市雨花区'},
    {code: '430140', name: '长沙市高新区'},
    {code: '430112', name: '长沙市望城区'},
]

export const operations = [
    {code: '0', name: '非手术'},
    {code: '1', name: '传统手术'},
    {code: '2', name: '介入手术'},
    {code: '3', name: '微创手术'},
    {code: '4', name: '恶性肿瘤放射治疗'},
    {code: '5', name: '恶性肿瘤化学治疗'},
    {code: '6', name: '恶性肿瘤放疗加化疗'},
    {code: '7', name: '恶性肿瘤姑息治疗'},
]
export const decTypes = [
    {code: 0, name: '有对照', dis: true},
    {code: 1, name: '治疗未完成'},
    {code: 2, name: '无对照'},
    {code: 3, name: '转科'},
    {code: 4, name: '单列', dis: true},
]

export const infnos = {
    1: [
        {code: '2401', name: '入院登记'},
        {code: '2404', name: '撤销入院登记'},
        {code: '2302', name: '撤销费用上传'},
        {code: '2303', name: '住院预结算'},
        {code: '2402', name: '出院办理'},
        {code: '2405', name: '撤销出院办理'},
        {code: '2304', name: '出院结算'},
        {code: '2305', name: '撤销出院结算'},
        {code: '4101', name: '结算清单上传'},
        {code: '100001', name: '分组接口'},
        {code: '100002', name: '质控接口'},
    ],
    2: [
        {code: '2503', name: '慢特病备案'},
        {code: '2504', name: '撤销慢特病备案'},
        {code: '2201', name: '门诊挂号'},
        {code: '2202', name: '撤销门诊挂号'},
        {code: '2203', name: '就诊信息上传'},
        {code: '2204', name: '处方明细上传'},
        {code: '2205', name: '撤销处方明细上传'},
        {code: '2206', name: '门诊预结算'},
        {code: '2207', name: '门诊结算'},
        {code: '2208', name: '撤销门诊结算'},
    ],
}

export const kangJunYaoWuYongYaoFangShi = [
    {code: 1, name: '手术预防用药'},
    {code: 2, name: '非手术预防用药'},
    {code: 3, name: '治疗用药-标本已送检'},
    {code: 4, name: '治疗用药-标本未已送检'},
    {code: 5, name: '皮试用药'},
]

export const kangJunYaoWuQieKou = [
    {code: 1, name: 'Ⅰ类切口'},
    {code: 2, name: 'Ⅱ类切口'},
    {code: 3, name: 'Ⅲ类切口'},
    {code: 4, name: '微创'},
    {code: 5, name: '介入'},
    {code: 6, name: '其他'},
]

export const kangJunYaoWuYongYaoShiJian = [
    {code: 1, name: '0.5至1小时'},
    {code: 2, name: '2小时'},
    {code: 3, name: '其他'},
]

export const diagTypes = [
    {code: '1', name: '西医诊断'},
    {code: '2', name: '中医主病诊断'},
    {code: '3', name: '中医主证诊断'},
]
