diff --git a/WEB-INF/conf/sysds_Report_template.xml b/WEB-INF/conf/sysds_Report_template.xml index e546c4c..ede7520 100644 --- a/WEB-INF/conf/sysds_Report_template.xml +++ b/WEB-INF/conf/sysds_Report_template.xml @@ -3100,5 +3100,335 @@ select '' 费用类别1,'' 金额1,'' 费用类别2,'' 金额2,'' 费用类别3, - + + + + + + + + SELECT + '' 卡片ID, + '' 卡片类别, + '' 患者姓名, + '' 患者家长姓名, + '' 性别1, + '' 性别2, + '' 联系电话, + '' 出生日期, + '' 民族, + '' 工作单位, + '' 职业01, + '' 职业02, + '' 职业03, + '' 职业04, + '' 职业05, + '' 职业06, + '' 职业07, + '' 职业08, + '' 职业09, + '' 职业10, + '' 职业11, + '' 职业12, + '' 职业13, + '' 职业14, + '' 职业15, + '' 职业16, + '' 职业17, + '' 职业18, + '' 职业20, + '' 职业99, + '' 具体的其它职业信息, + '' 病人属于01, + '' 病人属于02, + '' 病人属于03, + '' 病人属于04, + '' 病人属于05, + '' 病人属于06, + '' 现住地址省份, + '' 现住地址城市, + '' 现住地址县, + '' 现住地址镇, + '' 现住地址村, + '' 详细现住地址, + '' 身份证号码, + '' 文化程度, + '' 婚姻状况10, + '' 婚姻状况20, + '' 婚姻状况21, + '' 婚姻状况22, + '' 婚姻状况23, + '' 婚姻状况30, + '' 婚姻状况40, + '' 婚姻状况90, + '' 疾病名称, + '' 其它病名称, + '' 诊断日期, + '' 死亡日期, + '' 备注, + '' 户籍地类型01, + '' 户籍地类型02, + '' 户籍地类型03, + '' 户籍地类型04, + '' 户籍地类型05, + '' 户籍地类型06, + '' 户籍地址省份, + '' 户籍地址城市, + '' 户籍地址县, + '' 户籍地址镇, + '' 户籍地址村, + '' 户籍地详细地址, + '' 诊断类型1, + '' 诊断类型2, + '' 诊断类型3, + '' 诊断类型4, + '' 诊断类型5, + '' 诊断类型6, + '' 病例分类1, + '' 病例分类2, + '' 病例分类3, + '' 发病日期, + '' 密接者有无相同症状1, + '' 密接者有无相同症状0, + '' 临床严重程度2, + '' 临床严重程度3, + '' 临床严重程度4, + '' 临床严重程度5, + '' 临床严重程度6, + '' 输入病例1, + '' 输入病例0, + '' 死亡原因是否与新冠感染有关1, + '' 死亡原因是否与新冠感染有关0, + '' 直接死亡诊断, + '' 收治状态0, + '' 收治状态1, + '' 收治状态3, + '' 样本来源, + '' 样本来源其它, + '' 最有可能感染途径, + '' 感染途径其它, + '' 注射毒品史, + '' 与患者共用过注射器的人数, + '' 输血血制品史, + '' 其他, + '' 非婚异性性接触史, + '' 人有过非婚性行为, + '' 母亲阳性, + '' 非商业, + '' 配偶固定性伴阳性, + '' 职业暴露史, + '' 商业, + '' 男男性行为史, + '' 人有过同性性行为, + '' 手术史, + '' 献血浆史, + '' 不详, + '' 接触史其他, + '' 艾滋病诊断日期, + '' 实验室检测结论01, + '' 实验室检测结论02, + '' 实验室检测结论03, + '' 检测阳性日期, + '' 检测单位, + '' 性病史1, + '' 性病史2, + '' 性病史9, + '' 生殖道沙眼衣原体感染01, + '' 生殖道沙眼衣原体感染02, + '' 重症患者1, + '' 重症患者0, + '' 实验室结果1, + '' 实验室结果2, + '' 实验室结果3, + '' 乙肝HBsAg阳性时间1, + '' 乙肝HBsAg阳性时间2, + '' 乙肝HBsAg阳性时间3, + '' 首次出现乙肝症状和体征时间, + '' 首次出现乙肝症状和体征时间不详, + '' 乙肝本次ALT, + '' 抗检测结果1, + '' 抗检测结果2, + '' 抗检测结果3, + '' 肝穿检测结果1, + '' 肝穿检测结果2, + '' 肝穿检测结果3, + '' 恢复期血清1, + '' 恢复期血清2, + '' 恢复期血清3, + '' 检验结果, + '' 诊疗史, + '' 特征性临床表现, + '' 报告科室, + '' 报告单位编码, + '' 填卡医生, + '' 报告单位名称, + '' 报告日期, + '' 报告单位联系电话 +FROM + dual +WHERE + 1 = 2 + +//卡片ID,卡片类别,患者姓名,患者家长姓名,性别1,性别2,联系电话,出生日期,民族,工作单位,职业01,职业02,职业03,职业04,职业05,职业06,职业07,职业08,职业09,职业10,职业11,职业12,职业13,职业14,职业15,职业16,职业17,职业18,职业20,职业99,具体的其它职业信息,病人属于01,病人属于02,病人属于03,病人属于04,病人属于05,病人属于06,现住地址省份,现住地址城市,现住地址县,现住地址镇,现住地址村,详细现住地址,身份证号码,文化程度,婚姻状况10,婚姻状况20,婚姻状况21,婚姻状况22,婚姻状况23,婚姻状况30,婚姻状况40,婚姻状况90,疾病名称,其它病名称,诊断日期,死亡日期,备注,户籍地类型01,户籍地类型02,户籍地类型03,户籍地类型04,户籍地类型05,户籍地类型06,户籍地址省份,户籍地址城市,户籍地址县,户籍地址镇,户籍地址村,户籍地详细地址,诊断类型1,诊断类型2,诊断类型3,诊断类型4,诊断类型5,诊断类型6,病例分类1,病例分类2,病例分类3,发病日期,密接者有无相同症状1,密接者有无相同症状0,临床严重程度2,临床严重程度3,临床严重程度4,临床严重程度5,临床严重程度6,输入病例1,输入病例0,死亡原因是否与新冠感染有关1,死亡原因是否与新冠感染有关0,直接死亡诊断,收治状态0,收治状态1,收治状态3,样本来源,样本来源其它,最有可能感染途径,感染途径其它,注射毒品史,与患者共用过注射器的人数,输血血制品史,其他,非婚异性性接触史,人有过非婚性行为,母亲阳性,非商业,配偶固定性伴阳性,职业暴露史,商业,男男性行为史,人有过同性性行为,手术史,献血浆史,不详,接触史其他,艾滋病诊断日期,实验室检测结论01,实验室检测结论02,实验室检测结论03,检测阳性日期,检测单位,性病史1,性病史2,性病史9,生殖道沙眼衣原体感染01,生殖道沙眼衣原体感染02,重症患者1,重症患者0,实验室结果1,实验室结果2,实验室结果3,乙肝HBSAG阳性时间1,乙肝HBSAG阳性时间2,乙肝HBSAG阳性时间3,首次出现乙肝症状和体征时间,首次出现乙肝症状和体征时间不详,乙肝本次ALT,抗检测结果1,抗检测结果2,抗检测结果3,肝穿检测结果1,肝穿检测结果2,肝穿检测结果3,恢复期血清1,恢复期血清2,恢复期血清3,检验结果,诊疗史,特征性临床表现,报告科室,报告单位编码,填卡医生,报告单位名称,报告日期,报告单位联系电话 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WEB-INF/conf/sysds_his.xml b/WEB-INF/conf/sysds_his.xml index 08d538d..8ba3c9f 100644 --- a/WEB-INF/conf/sysds_his.xml +++ b/WEB-INF/conf/sysds_his.xml @@ -4756,27 +4756,118 @@ - select - YNZT, - YNSHRY, - YNSCRY, - XZDZ_SHENG, - XZDZ_SHI, - XZDZ_XIAN, - XZDZ_ZHEN, - XZDZ_CUN, - HJDZ_SHENG, - HJDZ_SHI, - HJDZ_XIAN, - HJDZ_ZHEN, - HJDZ_CUN, - SBRY,SBZT,SBSJ, - PKEY,ID,LX,NAME,JZ_NAME,SEX,LXDH,BRDY,MZ,GZDW,ZY,QTZY,BRSY,XZDZ,XZDZ_XX,SFZH,WHCD,HYZK,JBMC,QTJBBM,QTJBMC,JBBM,ZDRQ,SWRQ,BZ,HJDLX,HJDZ, - HZDZ_XX,ZDLX,BLFL,FBRQ,MJZYWXTZZ,XG_LCYZCD,XG_SRBL,XG_SWYY,XG_ZJSWZD,JHB_SZZT,HIV_ybly,HIV_yblyqt,ZYKNGRTJ,GRTJQT,JCS_DP,JCS_DPZSRS,JSC_SX,JSC_QT, - JSC_XJCS,JSC_XJCSRS,JSC_MQYX,JSC_FSY,JSC_PO,JSC_ZYBLS,JSC_SY,JSC_NN,JSC_NNRS,JSC_SSS,JSC_XXS,JSC_BX,JSC_QTNR,HIVZDRQ,SYSJCJL,HIV_JCYXRQ,HIV_JCDW,XBS,SZDSYYYTGR, - SZK_ZZHZ,SZK_SYSJG,HB_YXSJ,HB_SCSJ,HB_SCSJCHECK,HB_ALT,HB_1000,HB_GCJCJG,HB_SAG,MD_JCJG,MD_ZLS,MD_LCBX,MDBGKS,BGDWBM,TKYS,BGDWMC,BGRQ,BGDWLXDH,CJRQ,CJR,XGR,XGRQ,JGID, - SCBZ,CARDID,EVENTID - from crb_info where JGID=? and PKEY=? + SELECT + YNZT, + YNSHRY, + YNSCRY, + XZDZ_SHENG, + XZDZ_SHI, + XZDZ_XIAN, + XZDZ_ZHEN, + XZDZ_CUN, + HJDZ_SHENG, + HJDZ_SHI, + HJDZ_XIAN, + HJDZ_ZHEN, + HJDZ_CUN, + SBRY, + SBZT, + SBSJ, + PKEY, + ID, + LX, + NAME, + JZ_NAME, + SEX, + LXDH, + BRDY, + MZ, + GZDW, + ZY, + QTZY, + BRSY, + XZDZ, + XZDZ_XX, + SFZH, + WHCD, + HYZK, + JBMC, + QTJBBM, + QTJBMC, + JBBM, + ZDRQ, + SWRQ, + BZ, + HJDLX, + HJDZ, + HZDZ_XX, + ZDLX, + BLFL, + FBRQ, + MJZYWXTZZ, + XG_LCYZCD, + XG_SRBL, + XG_SWYY, + XG_ZJSWZD, + JHB_SZZT, + HIV_ybly, + HIV_yblyqt, + ZYKNGRTJ, + GRTJQT, + JCS_DP, + JCS_DPZSRS, + JSC_SX, + JSC_QT, + JSC_XJCS, + JSC_XJCSRS, + JSC_MQYX, + JSC_FSY, + JSC_PO, + JSC_ZYBLS, + JSC_SY, + JSC_NN, + JSC_NNRS, + JSC_SSS, + JSC_XXS, + JSC_BX, + JSC_QTNR, + HIVZDRQ, + SYSJCJL, + HIV_JCYXRQ, + HIV_JCDW, + XBS, + SZDSYYYTGR, + SZK_ZZHZ, + SZK_SYSJG, + HB_YXSJ, + HB_SCSJ, + HB_SCSJCHECK, + HB_ALT, + HB_1000, + HB_GCJCJG, + HB_SAG, + MD_JCJG, + MD_ZLS, + MD_LCBX, + MDBGKS, + BGDWBM, + TKYS, + BGDWMC, + BGRQ, + BGDWLXDH, + CJRQ, + CJR, + XGR, + XGRQ, + JGID, + SCBZ, + CARDID, + EVENTID + FROM + crb_info + WHERE + JGID =? + AND PKEY =? diff --git a/WEB-INF/src/com/his/crb/CrbManager.java b/WEB-INF/src/com/his/crb/CrbManager.java index 0b5d099..af8f7a1 100644 --- a/WEB-INF/src/com/his/crb/CrbManager.java +++ b/WEB-INF/src/com/his/crb/CrbManager.java @@ -32,7 +32,7 @@ package com.his.crb; import java.io.StringReader; import java.sql.Timestamp; im yncxshAction(); }else if("ynsc".equals(command)) { ynscAction(); - } } private void changetime(){ Calendar begin = Calendar.getInstance(); Calendar end = Calendar.getInstance(); int selected = combobox1.getSelectedIndex(); if (selected == 0) { begin.set(Calendar.HOUR_OF_DAY, 0); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 0); begin.set(Calendar.HOUR_OF_DAY, 0); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 0); end.set(Calendar.HOUR_OF_DAY, 23); end.set(Calendar.MINUTE, 59); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } else if (selected == 1) { begin.set(Calendar.DAY_OF_MONTH,begin.get(Calendar.DAY_OF_MONTH) - 1); begin.set(Calendar.HOUR_OF_DAY, 0); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 0); end.set(Calendar.DAY_OF_MONTH, end.get(Calendar.DAY_OF_MONTH) - 1); end.set(Calendar.HOUR_OF_DAY, 23); end.set(Calendar.MINUTE, 59); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } else if (selected == 2) { begin.set(Calendar.MONTH, begin.get(Calendar.MONTH) - 1); begin.set(Calendar.DAY_OF_MONTH, 1); begin.set(Calendar.HOUR_OF_DAY, 0); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 0); end.set(Calendar.DAY_OF_MONTH, 1); end.set(Calendar.DAY_OF_MONTH, end.get(Calendar.DAY_OF_MONTH) - 1); end.set(Calendar.HOUR_OF_DAY, 23); end.set(Calendar.MINUTE, 59); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } else if (selected == 3) { begin.set(Calendar.DAY_OF_MONTH, 1); begin.set(Calendar.HOUR_OF_DAY, 0); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 0); end.set(Calendar.MONTH, begin.get(Calendar.MONTH) + 1); end.set(Calendar.DAY_OF_MONTH, 1); end.set(Calendar.DAY_OF_MONTH, end.get(Calendar.DAY_OF_MONTH) - 1); end.set(Calendar.HOUR_OF_DAY, 23); end.set(Calendar.MINUTE, 59); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } else if (selected == 4) { begin.set(Calendar.MONTH, 0); begin.set(Calendar.DAY_OF_MONTH, 1); begin.set(Calendar.DAY_OF_MONTH,begin.get(Calendar.DAY_OF_MONTH) - 1); begin.set(Calendar.HOUR_OF_DAY, 0); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 0); end.set(Calendar.MONTH, begin.get(Calendar.MONTH) + 1); end.set(Calendar.DAY_OF_MONTH, 1); end.set(Calendar.DAY_OF_MONTH, end.get(Calendar.DAY_OF_MONTH) - 1); end.set(Calendar.HOUR_OF_DAY, 23); end.set(Calendar.MINUTE, 59); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } else if (selected == 5) { begin.set(Calendar.HOUR_OF_DAY, 8); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 1); end.set(Calendar.HOUR_OF_DAY, 12); end.set(Calendar.MINUTE, 0); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } else if (selected == 6) { begin.set(Calendar.HOUR_OF_DAY, 13); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 1); end.set(Calendar.HOUR_OF_DAY, 17); end.set(Calendar.MINUTE, 30); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } else if (selected == 7) { begin.set(Calendar.HOUR_OF_DAY, 20); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 1); end.set(Calendar.DAY_OF_MONTH, end.get(Calendar.DAY_OF_MONTH) + 1); end.set(Calendar.HOUR_OF_DAY, 0); end.set(Calendar.MINUTE, 0); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } } + }else if("preview".equals(command)) { previewAction(); } } private void changetime(){ Calendar begin = Calendar.getInstance(); Calendar end = Calendar.getInstance(); int selected = combobox1.getSelectedIndex(); if (selected == 0) { begin.set(Calendar.HOUR_OF_DAY, 0); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 0); begin.set(Calendar.HOUR_OF_DAY, 0); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 0); end.set(Calendar.HOUR_OF_DAY, 23); end.set(Calendar.MINUTE, 59); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } else if (selected == 1) { begin.set(Calendar.DAY_OF_MONTH,begin.get(Calendar.DAY_OF_MONTH) - 1); begin.set(Calendar.HOUR_OF_DAY, 0); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 0); end.set(Calendar.DAY_OF_MONTH, end.get(Calendar.DAY_OF_MONTH) - 1); end.set(Calendar.HOUR_OF_DAY, 23); end.set(Calendar.MINUTE, 59); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } else if (selected == 2) { begin.set(Calendar.MONTH, begin.get(Calendar.MONTH) - 1); begin.set(Calendar.DAY_OF_MONTH, 1); begin.set(Calendar.HOUR_OF_DAY, 0); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 0); end.set(Calendar.DAY_OF_MONTH, 1); end.set(Calendar.DAY_OF_MONTH, end.get(Calendar.DAY_OF_MONTH) - 1); end.set(Calendar.HOUR_OF_DAY, 23); end.set(Calendar.MINUTE, 59); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } else if (selected == 3) { begin.set(Calendar.DAY_OF_MONTH, 1); begin.set(Calendar.HOUR_OF_DAY, 0); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 0); end.set(Calendar.MONTH, begin.get(Calendar.MONTH) + 1); end.set(Calendar.DAY_OF_MONTH, 1); end.set(Calendar.DAY_OF_MONTH, end.get(Calendar.DAY_OF_MONTH) - 1); end.set(Calendar.HOUR_OF_DAY, 23); end.set(Calendar.MINUTE, 59); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } else if (selected == 4) { begin.set(Calendar.MONTH, 0); begin.set(Calendar.DAY_OF_MONTH, 1); begin.set(Calendar.DAY_OF_MONTH,begin.get(Calendar.DAY_OF_MONTH) - 1); begin.set(Calendar.HOUR_OF_DAY, 0); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 0); end.set(Calendar.MONTH, begin.get(Calendar.MONTH) + 1); end.set(Calendar.DAY_OF_MONTH, 1); end.set(Calendar.DAY_OF_MONTH, end.get(Calendar.DAY_OF_MONTH) - 1); end.set(Calendar.HOUR_OF_DAY, 23); end.set(Calendar.MINUTE, 59); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } else if (selected == 5) { begin.set(Calendar.HOUR_OF_DAY, 8); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 1); end.set(Calendar.HOUR_OF_DAY, 12); end.set(Calendar.MINUTE, 0); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } else if (selected == 6) { begin.set(Calendar.HOUR_OF_DAY, 13); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 1); end.set(Calendar.HOUR_OF_DAY, 17); end.set(Calendar.MINUTE, 30); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } else if (selected == 7) { begin.set(Calendar.HOUR_OF_DAY, 20); begin.set(Calendar.MINUTE, 0); begin.set(Calendar.SECOND, 1); end.set(Calendar.DAY_OF_MONTH, end.get(Calendar.DAY_OF_MONTH) + 1); end.set(Calendar.HOUR_OF_DAY, 0); end.set(Calendar.MINUTE, 0); end.set(Calendar.SECOND, 59); datetimepicker1.setTime(begin.getTimeInMillis()); datetimepicker2.setTime(end.getTimeInMillis()); } } private void ynshAction() { String jgid=MainUtil.getCurCompanyID(); String pkey=dbgrid1.getColumnValueAsString(dbgrid1.getSelectedRow(), "PKEY"); DxNormalDataManager crb_infodao = (DxNormalDataManager)DaoCreator.getNormalDao(this,"crb_infodao_bypkey"); crb_infodao.reload(new Object[] {jgid,pkey}); crb_infodao.setColumnValue("YNSHRY",MainUtil.getCurUserAccount()); crb_infodao.setColumnValue("YNZT","1"); if(crb_infodao.commit()) { dlg.messageDlg("院内审核成功"); panelBar3selectAction(); }else { dlg.messageDlg("院内审核失败"); } } private void yncxshAction() { String jgid=MainUtil.getCurCompanyID(); String pkey=dbgrid1.getColumnValueAsString(dbgrid1.getSelectedRow(), "PKEY"); DxNormalDataManager crb_infodao = (DxNormalDataManager)DaoCreator.getNormalDao(this,"crb_infodao_bypkey"); crb_infodao.reload(new Object[] {jgid,pkey}); crb_infodao.setColumnValue("YNSHRY",MainUtil.getCurUserAccount()); crb_infodao.setColumnValue("YNZT","0"); if(crb_infodao.commit()) { dlg.messageDlg("院内撤销审核成功"); panelBar3selectAction(); }else { dlg.messageDlg("院内审核失败"); } } private void ynscAction() { String jgid=MainUtil.getCurCompanyID(); String pkey=dbgrid1.getColumnValueAsString(dbgrid1.getSelectedRow(), "PKEY"); DxNormalDataManager crb_infodao = (DxNormalDataManager)DaoCreator.getNormalDao(this,"crb_infodao_bypkey"); crb_infodao.reload(new Object[] {jgid,pkey}); crb_infodao.setColumnValue("YNSCRY",MainUtil.getCurUserAccount()); crb_infodao.setColumnValue("YNZT","2"); if(crb_infodao.commit()) { dlg.messageDlg("院内删除成功"); panelBar3selectAction(); }else { dlg.messageDlg("院内删除失败"); } } @@ -71,6 +71,6 @@ package com.his.crb; import java.io.StringReader; import java.sql.Timestamp; im dataList.add(dbgrid1.getDataObjectManager()); Object result = Delphi.transCommit(dataList, this, "保存失败"); if("ok".equals(result)){ - this.setWinParams("saveflag", "true"); setLabelShow("提示:编辑保存成功!"); return; } else{ setLabelShow("提示:编辑保存失败!"); return; } } private void closeAction() { if("true".equals(getWinParams("saveflag"))) { this.doModalCallbackAction(null); } } //上报 private void upAction() { String jgid=MainUtil.getCurCompanyID(); String pkey=dbgrid1.getColumnValueAsString(dbgrid1.getSelectedRow(), "PKEY"); DxNormalDataManager crbdata = DaoCreator.getNormalDao(this,"crbupdao"); crbdata.reload(new Object[] {jgid,pkey}); String str=""; String type=""; if("0".equals(crbdata.getColumnValueAsString("SBZT"))) {//上报状态 0 待上报 1 待审核 2已经审核 3 删除 type="Add"; }else if("1".equals(crbdata.getColumnValueAsString("SBZT"))) { //type="Mod";无修改权限 //type="Edit"; type="Add"; }else if("2".equals(crbdata.getColumnValueAsString("SBZT"))) { //type="Mod"; type="Edit"; }else if("3".equals(crbdata.getColumnValueAsString("SBZT"))) { type="Res"; }else { type="Add"; } SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd"); /** * "" */ String eventId=crbdata.getColumnValueAsString("BGDWBM")+"-"+MainUtil.format(System.currentTimeMillis(), "yyyyMMddHHmmss")+"-"+crbdata.getColumnValueAsString("ID").substring(crbdata.getColumnValueAsString("ID").length() - 3); String CardID=crbdata.getColumnValueAsString("CARDID"); if ("Add".equals(type)) { CardID=""; }else { eventId=crbdata.getColumnValueAsString("EVENTID"); } //D8 2003-01-05 //D10 2003-01-05 09 //D12 2003-01-05 09:48 //D14 2003-01-05 09:48:43 String DiagnosisDate=MainUtil.format(crbdata.getColumnValueAsLong("ZDRQ"),"yyyy-MM-dd HH");//D10 String CardFillingTime=MainUtil.format(crbdata.getColumnValueAsLong("BGRQ"),"yyyy-MM-dd");//D8 String CreatingTime=MainUtil.format(crbdata.getColumnValueAsLong("CJRQ"),"yyyy-MM-dd HH:mm:ss");//D14 String OnsetDate=MainUtil.format(crbdata.getColumnValueAsLong("FBRQ"),"yyyy-MM-dd");//D8 // String Customer=crbdata.getColumnValueAsString("CJR"); // DxNormalDataManager crbuserdao = DaoCreator.getNormalDao(this,"crbuserdao"); // crbuserdao.reload(new Object[] {Customer}); // Customer=crbuserdao.getColumnValueAsString("IDENTITYID");//证件号 String Customer=crbdata.getColumnValueAsString("CRB_USER");//传染病上报账号 录入人/操作人需要与上报账号相同 String IDR_OccupationCode=crbdata.getColumnValueAsString("ZY"); String OtherOccupationName=crbdata.getColumnValueAsString("QTZY"); if (!"99".equals(IDR_OccupationCode)) { OtherOccupationName=""; } DxNormalDataManager regiondic = DaoCreator.getNormalDao(this,"regiondic"); String XZDZ_SHENG=regiondic.getDicValue(crbdata.getColumnValueAsString("XZDZ_SHENG")); String XZDZ_SHI=regiondic.getDicValue(crbdata.getColumnValueAsString("XZDZ_SHI")); String XZDZ_XIAN=regiondic.getDicValue(crbdata.getColumnValueAsString("XZDZ_XIAN")); String XZDZ_ZHEN=regiondic.getDicValue(crbdata.getColumnValueAsString("XZDZ_ZHEN")); String XZDZ_CUN=regiondic.getDicValue(crbdata.getColumnValueAsString("XZDZ_CUN")); String LivingAddressName=XZDZ_SHENG+XZDZ_SHI+XZDZ_XIAN+XZDZ_ZHEN+XZDZ_CUN; str="" + "" + "" + ""+eventId+"" + "IDR" + ""+type+"" + "" + "" + "" + ""+crbdata.getColumnValueAsString("NAME")+"" + ""+sdf.format(crbdata.getColumnValueAsLong("BRDY"))+"" + ""+crbdata.getColumnValueAsString("SEX")+"" + ""+crbdata.getColumnValueAsString("SEX_MC")+"" + ""+crbdata.getColumnValueAsString("MZ")+"" + ""+crbdata.getColumnValueAsString("MZ_MC")+"" + ""+crbdata.getColumnValueAsString("GZDW")+"" + ""+IDR_OccupationCode+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" + ""+crbdata.getColumnValueAsString("ZY_MC")+"" + ""+OtherOccupationName+"" + ""+crbdata.getColumnValueAsString("JZ_NAME")+"" + ""+crbdata.getColumnValueAsString("LXDH")+"" + "51343400" + "四川省凉山彝族自治州越西县" + ""+crbdata.getColumnValueAsString("BGDWBM")+"" + ""+crbdata.getColumnValueAsString("BGDWMC")+"" + ""+crbdata.getColumnValueAsString("BRSY")+"" + ""+crbdata.getColumnValueAsString("BRSY_MC")+"" + ""+crbdata.getColumnValueAsString("XZDZ")+"" + ""+LivingAddressName+"" + ""+LivingAddressName+crbdata.getColumnValueAsString("XZDZ_XX")+"" + "1" + ""+crbdata.getColumnValueAsString("SFZH")+"" + ""+DiagnosisDate+"" + ""+crbdata.getColumnValueAsString("JBBM")+"" + ""+crbdata.getColumnValueAsString("JBMC")+"" //+ ""+crbdata.getColumnValueAsString("JBBM")+"" + "" + ""+crbdata.getColumnValueAsString("BZ")+""//备注信息 + ""+crbdata.getColumnValueAsString("SWRQ")+"" + ""+crbdata.getColumnValueAsString("TKYS")+"" + ""+CardFillingTime+"" + ""+crbdata.getColumnValueAsString("HJDZ")+"" + ""+crbdata.getColumnValueAsString("HJDZ_MC")+"" + ""+crbdata.getColumnValueAsString("HZDZ_XX")+"" + ""+crbdata.getColumnValueAsString("HJDLX")+"" + ""+crbdata.getColumnValueAsString("HJDLX_MC")+"" + "中国大陆" + ""+crbdata.getColumnValueAsString("HYZK")+"" + ""+crbdata.getColumnValueAsString("HYZK_MC")+"" + ""+crbdata.getColumnValueAsString("WHCD")+"" + ""+crbdata.getColumnValueAsString("WHCD_MC")+"" // + ""+crbdata.getColumnValueAsString("XZDZ")+" " // + ""+crbdata.getColumnValueAsString("XZDZ")+"" // + ""// // + "1" // + ""//-户籍所在村编码 + "2" + ""+crbdata.getColumnValueAsString("ZDLX")+"" + ""+crbdata.getColumnValueAsString("ZDLX_MC")+"" + ""+crbdata.getColumnValueAsString("ZYH")+"" + ""+CardID+""// + ""+CreatingTime+"" + "" // + "" + ""+crbdata.getColumnValueAsString("BLFL")+"" + ""+crbdata.getColumnValueAsString("BLFL_MC")+"" + ""+crbdata.getColumnValueAsString("QTJBMC")+"" + ""+OnsetDate+"" + ""+crbdata.getColumnValueAsString("MJZYWXTZZ")+"" + ""+crbdata.getColumnValueAsString("MJZYWXTZZ_MC")+"" + ""+Customer+"" + "" + "" + "" // + "" // + "" // + "" // + "" // + "" // + "" // + "" //艾滋病 + "" + ""+CardID+"" + ""+crbdata.getColumnValueAsString("JCS")+"" + ""+crbdata.getColumnValueAsString("JCS_MC")+"" + ""+crbdata.getColumnValueAsString("JCS_DPZSRS")+"" + ""+crbdata.getColumnValueAsString("JSC_XJCSRS")+"" + ""+crbdata.getColumnValueAsString("JSC_NNRS")+"" + ""+crbdata.getColumnValueAsString("JSC_QTNR")+"" + ""+crbdata.getColumnValueAsString("XBS")+"" + ""+crbdata.getColumnValueAsString("XBS_MC")+"" + ""+crbdata.getColumnValueAsString("ZYKNGRTJ")+"" + ""+crbdata.getColumnValueAsString("ZYKNGRTJ_MC")+"" + ""+crbdata.getColumnValueAsString("GRTJQT")+"" + ""+crbdata.getColumnValueAsString("HIV_YBLY")+"" + ""+crbdata.getColumnValueAsString("HIV_YBLY_MC")+"" + ""+crbdata.getColumnValueAsString("HIV_YBLYQT")+"" + ""+crbdata.getColumnValueAsString("SYSJCJL")+"" + ""+crbdata.getColumnValueAsString("SYSJCJL_MC")+"" + ""+crbdata.getColumnValueAsString("HIV_JCYXRQ")+"" + ""+crbdata.getColumnValueAsString("HIV_JCDW")+"" + ""+crbdata.getColumnValueAsString("HIVZDRQ")+"" + ""+crbdata.getColumnValueAsString("SZDSYYYTGR")+"" + ""+crbdata.getColumnValueAsString("SZDSYYYTGR_MC")+"" + "" //" + ""+CardID+"" + ""+crbdata.getColumnValueAsString("SZK_ZZHZ")+"" + ""+crbdata.getColumnValueAsString("SZK_ZZHZ_MC")+"" + ""+crbdata.getColumnValueAsString("SZK_SYSJG")+"" + ""+crbdata.getColumnValueAsString("SZK_SYSJG_MC")+"" + "" //HB乙肝填写此栏 +"" + ""+CardID+"" + ""+crbdata.getColumnValueAsString("HB_YXSJ")+"" + ""+crbdata.getColumnValueAsString("HB_YXSJ_MC")+"" + ""+crbdata.getColumnValueAsString("HB_SCSJ")+"" + ""+crbdata.getColumnValueAsString("HB_ALT")+"" + ""+crbdata.getColumnValueAsString("HB_1000")+"" + ""+crbdata.getColumnValueAsString("HB_1000_MC")+"" + ""+crbdata.getColumnValueAsString("HB_GCJCJG")+"" + ""+crbdata.getColumnValueAsString("HB_GCJCJG_MC")+"" + ""+crbdata.getColumnValueAsString("HB_SAG")+"" + ""+crbdata.getColumnValueAsString("HB_SAG_MC")+"" + ""+crbdata.getColumnValueAsString("HB_SCSJCHECK")+"" + "" //" //+ " "+crbdata.getColumnValueAsString("ID")+"" //+ "" //+ " "+crbdata.getColumnValueAsString("BRSY")+"" //+ " "+crbdata.getColumnValueAsString("BRSY_MC")+"" //+ " " //+ " "+crbdata.getColumnValueAsString("")+"" //+ "" //+ " "+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ " "+crbdata.getColumnValueAsString("")+"" //+ "" //+ " "+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ " " //+ " " //+ "" //+ "" //+ "< PalsySymptom >"+crbdata.getColumnValueAsString("")+"" //+ "" + "" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "33020300" //+ "330203002" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "1" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //" */ String eventId=crbdata.getColumnValueAsString("BGDWBM")+"-"+MainUtil.format(System.currentTimeMillis(), "yyyyMMddHHmmss")+"-"+crbdata.getColumnValueAsString("ID").substring(crbdata.getColumnValueAsString("ID").length() - 3); String CardID=crbdata.getColumnValueAsString("CARDID"); if ("Add".equals(type)) { CardID=""; }else { eventId=crbdata.getColumnValueAsString("EVENTID"); } //D8 2003-01-05 //D10 2003-01-05 09 //D12 2003-01-05 09:48 //D14 2003-01-05 09:48:43 String DiagnosisDate=MainUtil.format(crbdata.getColumnValueAsLong("ZDRQ"),"yyyy-MM-dd HH");//D10 String CardFillingTime=MainUtil.format(crbdata.getColumnValueAsLong("BGRQ"),"yyyy-MM-dd");//D8 String CreatingTime=MainUtil.format(crbdata.getColumnValueAsLong("CJRQ"),"yyyy-MM-dd HH:mm:ss");//D14 String OnsetDate=MainUtil.format(crbdata.getColumnValueAsLong("FBRQ"),"yyyy-MM-dd");//D8 // String Customer=crbdata.getColumnValueAsString("CJR"); // DxNormalDataManager crbuserdao = DaoCreator.getNormalDao(this,"crbuserdao"); // crbuserdao.reload(new Object[] {Customer}); // Customer=crbuserdao.getColumnValueAsString("IDENTITYID");//证件号 String Customer=crbdata.getColumnValueAsString("CRB_USER");//传染病上报账号 录入人/操作人需要与上报账号相同 String IDR_OccupationCode=crbdata.getColumnValueAsString("ZY"); String OtherOccupationName=crbdata.getColumnValueAsString("QTZY"); if (!"99".equals(IDR_OccupationCode)) { OtherOccupationName=""; } DxNormalDataManager regiondic = DaoCreator.getNormalDao(this,"regiondic"); String XZDZ_SHENG=regiondic.getDicValue(crbdata.getColumnValueAsString("XZDZ_SHENG")); String XZDZ_SHI=regiondic.getDicValue(crbdata.getColumnValueAsString("XZDZ_SHI")); String XZDZ_XIAN=regiondic.getDicValue(crbdata.getColumnValueAsString("XZDZ_XIAN")); String XZDZ_ZHEN=regiondic.getDicValue(crbdata.getColumnValueAsString("XZDZ_ZHEN")); String XZDZ_CUN=regiondic.getDicValue(crbdata.getColumnValueAsString("XZDZ_CUN")); String LivingAddressName=XZDZ_SHENG+XZDZ_SHI+XZDZ_XIAN+XZDZ_ZHEN+XZDZ_CUN; str="" + "" + "" + ""+eventId+"" + "IDR" + ""+type+"" + "" + "" + "" + ""+crbdata.getColumnValueAsString("NAME")+"" + ""+sdf.format(crbdata.getColumnValueAsLong("BRDY"))+"" + ""+crbdata.getColumnValueAsString("SEX")+"" + ""+crbdata.getColumnValueAsString("SEX_MC")+"" + ""+crbdata.getColumnValueAsString("MZ")+"" + ""+crbdata.getColumnValueAsString("MZ_MC")+"" + ""+crbdata.getColumnValueAsString("GZDW")+"" + ""+IDR_OccupationCode+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" + ""+crbdata.getColumnValueAsString("ZY_MC")+"" + ""+OtherOccupationName+"" + ""+crbdata.getColumnValueAsString("JZ_NAME")+"" + ""+crbdata.getColumnValueAsString("LXDH")+"" + "51343400" + "四川省凉山彝族自治州越西县" + ""+crbdata.getColumnValueAsString("BGDWBM")+"" + ""+crbdata.getColumnValueAsString("BGDWMC")+"" + ""+crbdata.getColumnValueAsString("BRSY")+"" + ""+crbdata.getColumnValueAsString("BRSY_MC")+"" + ""+crbdata.getColumnValueAsString("XZDZ")+"" + ""+LivingAddressName+"" + ""+LivingAddressName+crbdata.getColumnValueAsString("XZDZ_XX")+"" + "1" + ""+crbdata.getColumnValueAsString("SFZH")+"" + ""+DiagnosisDate+"" + ""+crbdata.getColumnValueAsString("JBBM")+"" + ""+crbdata.getColumnValueAsString("JBMC")+"" //+ ""+crbdata.getColumnValueAsString("JBBM")+"" + "" + ""+crbdata.getColumnValueAsString("BZ")+""//备注信息 + ""+crbdata.getColumnValueAsString("SWRQ")+"" + ""+crbdata.getColumnValueAsString("TKYS")+"" + ""+CardFillingTime+"" + ""+crbdata.getColumnValueAsString("HJDZ")+"" + ""+crbdata.getColumnValueAsString("HJDZ_MC")+"" + ""+crbdata.getColumnValueAsString("HZDZ_XX")+"" + ""+crbdata.getColumnValueAsString("HJDLX")+"" + ""+crbdata.getColumnValueAsString("HJDLX_MC")+"" + "中国大陆" + ""+crbdata.getColumnValueAsString("HYZK")+"" + ""+crbdata.getColumnValueAsString("HYZK_MC")+"" + ""+crbdata.getColumnValueAsString("WHCD")+"" + ""+crbdata.getColumnValueAsString("WHCD_MC")+"" // + ""+crbdata.getColumnValueAsString("XZDZ")+" " // + ""+crbdata.getColumnValueAsString("XZDZ")+"" // + ""// // + "1" // + ""//-户籍所在村编码 + "2" + ""+crbdata.getColumnValueAsString("ZDLX")+"" + ""+crbdata.getColumnValueAsString("ZDLX_MC")+"" + ""+crbdata.getColumnValueAsString("ZYH")+"" + ""+CardID+""// + ""+CreatingTime+"" + "" // + "" + ""+crbdata.getColumnValueAsString("BLFL")+"" + ""+crbdata.getColumnValueAsString("BLFL_MC")+"" + ""+crbdata.getColumnValueAsString("QTJBMC")+"" + ""+OnsetDate+"" + ""+crbdata.getColumnValueAsString("MJZYWXTZZ")+"" + ""+crbdata.getColumnValueAsString("MJZYWXTZZ_MC")+"" + ""+Customer+"" + "" + "" + "" // + "" // + "" // + "" // + "" // + "" // + "" // + "" //艾滋病 + "" + ""+CardID+"" + ""+crbdata.getColumnValueAsString("JCS")+"" + ""+crbdata.getColumnValueAsString("JCS_MC")+"" + ""+crbdata.getColumnValueAsString("JCS_DPZSRS")+"" + ""+crbdata.getColumnValueAsString("JSC_XJCSRS")+"" + ""+crbdata.getColumnValueAsString("JSC_NNRS")+"" + ""+crbdata.getColumnValueAsString("JSC_QTNR")+"" + ""+crbdata.getColumnValueAsString("XBS")+"" + ""+crbdata.getColumnValueAsString("XBS_MC")+"" + ""+crbdata.getColumnValueAsString("ZYKNGRTJ")+"" + ""+crbdata.getColumnValueAsString("ZYKNGRTJ_MC")+"" + ""+crbdata.getColumnValueAsString("GRTJQT")+"" + ""+crbdata.getColumnValueAsString("HIV_YBLY")+"" + ""+crbdata.getColumnValueAsString("HIV_YBLY_MC")+"" + ""+crbdata.getColumnValueAsString("HIV_YBLYQT")+"" + ""+crbdata.getColumnValueAsString("SYSJCJL")+"" + ""+crbdata.getColumnValueAsString("SYSJCJL_MC")+"" + ""+crbdata.getColumnValueAsString("HIV_JCYXRQ")+"" + ""+crbdata.getColumnValueAsString("HIV_JCDW")+"" + ""+crbdata.getColumnValueAsString("HIVZDRQ")+"" + ""+crbdata.getColumnValueAsString("SZDSYYYTGR")+"" + ""+crbdata.getColumnValueAsString("SZDSYYYTGR_MC")+"" + "" //" + ""+CardID+"" + ""+crbdata.getColumnValueAsString("SZK_ZZHZ")+"" + ""+crbdata.getColumnValueAsString("SZK_ZZHZ_MC")+"" + ""+crbdata.getColumnValueAsString("SZK_SYSJG")+"" + ""+crbdata.getColumnValueAsString("SZK_SYSJG_MC")+"" + "" //HB乙肝填写此栏 +"" + ""+CardID+"" + ""+crbdata.getColumnValueAsString("HB_YXSJ")+"" + ""+crbdata.getColumnValueAsString("HB_YXSJ_MC")+"" + ""+crbdata.getColumnValueAsString("HB_SCSJ")+"" + ""+crbdata.getColumnValueAsString("HB_ALT")+"" + ""+crbdata.getColumnValueAsString("HB_1000")+"" + ""+crbdata.getColumnValueAsString("HB_1000_MC")+"" + ""+crbdata.getColumnValueAsString("HB_GCJCJG")+"" + ""+crbdata.getColumnValueAsString("HB_GCJCJG_MC")+"" + ""+crbdata.getColumnValueAsString("HB_SAG")+"" + ""+crbdata.getColumnValueAsString("HB_SAG_MC")+"" + ""+crbdata.getColumnValueAsString("HB_SCSJCHECK")+"" + "" //" //+ " "+crbdata.getColumnValueAsString("ID")+"" //+ "" //+ " "+crbdata.getColumnValueAsString("BRSY")+"" //+ " "+crbdata.getColumnValueAsString("BRSY_MC")+"" //+ " " //+ " "+crbdata.getColumnValueAsString("")+"" //+ "" //+ " "+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ " "+crbdata.getColumnValueAsString("")+"" //+ "" //+ " "+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ " " //+ " " //+ "" //+ "" //+ "< PalsySymptom >"+crbdata.getColumnValueAsString("")+"" //+ "" + "" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "33020300" //+ "330203002" //+ ""+crbdata.getColumnValueAsString("")+"" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "1" //+ ""+crbdata.getColumnValueAsString("")+"" //+ "" // \ No newline at end of file + \ No newline at end of file diff --git a/WEB-INF/src/com/his/crb/CrbService.java b/WEB-INF/src/com/his/crb/CrbService.java new file mode 100644 index 0000000..620e1f9 --- /dev/null +++ b/WEB-INF/src/com/his/crb/CrbService.java @@ -0,0 +1,241 @@ +package com.his.crb; + +import com.main.authority.DesktopPageTaskbarForm; +import com.report.creator.ReportPrintFactory; +import com.report.creator.ReportPrintModel; +import com.report.design.basic.ReportDesignUtil.PrintFlag; +import com.util.MainUtil; +import com.wat.component.DxEMRShow; +import com.wat.core.component.AppInstance; +import com.wat.core.component.WatForm; +import com.wat.core.config.DaoCreator; +import com.wat.core.dal.DxNormalDataManager; +import com.wat.delphi.util.Delphi; + +/** + * + */ +public class CrbService { + + /** + * @param companyId + */ + public static void Main(String companyId) { + + } + + public static String printCrb(WatForm form,String companyId,String pkey) { + + String srtn=""; + String companyid=MainUtil.getCurCompanyID(); + + DxNormalDataManager crb_infodao_bypkey=DaoCreator.getNormalDao("crb_infodao_bypkey"); + crb_infodao_bypkey.reload(new Object[]{companyid,pkey}); + + + DesktopPageTaskbarForm pform = (DesktopPageTaskbarForm)AppInstance.getInstance().getWatDesktopTaskBar(); + String type="传染病报卡"; + DxNormalDataManager reportTemplateDao = DaoCreator.getNormalDao("reportTemplateDao"); + reportTemplateDao.setNormalParameters(new Object[] {companyid,type}); + reportTemplateDao.reload(); + if(reportTemplateDao.getSelectedRow() < 0) { + srtn="还未设置打印模板,请联系管理人员"; + }else{ + //卡片类别 + DxNormalDataManager sc_crb_kplbdao=DaoCreator.getNormalDao("sc_crb_kplbdao"); + sc_crb_kplbdao.reloadByDictionary("MC", "BH"); + //民族 + DxNormalDataManager mzdic=DaoCreator.getNormalDao("mzdic"); + mzdic.reloadByDictionary("MC", "BH"); + //地区 + DxNormalDataManager regiondic=DaoCreator.getNormalDao("regiondic"); + regiondic.reloadByDictionary("CNAME", "CODE"); + //文化程度 + DxNormalDataManager sc_crb_whcddao=DaoCreator.getNormalDao("sc_crb_whcddao"); + sc_crb_whcddao.reloadByDictionary("MC", "BH"); + //样本来源 + DxNormalDataManager sc_crb_yblydao=DaoCreator.getNormalDao("sc_crb_yblydao"); + sc_crb_yblydao.reloadByDictionary("MC", "BH"); + //感染途径 + DxNormalDataManager sc_crb_grtjdao=DaoCreator.getNormalDao("sc_crb_grtjdao"); + sc_crb_grtjdao.reloadByDictionary("MC", "BH"); + + + + + DxNormalDataManager crbbkdydao=DaoCreator.getNormalDao("crbbkdydao");//传染病报卡使用dao + crbbkdydao.reload(); + crbbkdydao.absolute(crbbkdydao.insert(0)); + crbbkdydao.setColumnValue("卡片ID", crb_infodao_bypkey.getColumnValue("ID")); + crbbkdydao.setColumnValue("卡片类别", sc_crb_kplbdao.getDicValue(crb_infodao_bypkey.getColumnValueAsString("LX"))); + crbbkdydao.setColumnValue("患者姓名", crb_infodao_bypkey.getColumnValue("NAME")); + crbbkdydao.setColumnValue("患者家长姓名", crb_infodao_bypkey.getColumnValue("JZ_NAME")); + String sex=crb_infodao_bypkey.getColumnValueAsString("SEX"); + crbbkdydao.setColumnValue("性别"+sex, "checked"); + crbbkdydao.setColumnValue("联系电话", crb_infodao_bypkey.getColumnValue("LXDH")); + crbbkdydao.setColumnValue("出生日期", Delphi.format(crb_infodao_bypkey.getColumnValueAsLong("BRDY"), "yyyy-MM-dd")); + crbbkdydao.setColumnValue("民族", mzdic.getDicValue(crb_infodao_bypkey.getColumnValueAsString("MZ"))); + + + crbbkdydao.setColumnValue("工作单位", crb_infodao_bypkey.getColumnValue("GZDW")); + String ZY=crb_infodao_bypkey.getColumnValueAsString("ZY"); + crbbkdydao.setColumnValue("职业"+ZY, "checked"); + crbbkdydao.setColumnValue("具体的其它职业信息", crb_infodao_bypkey.getColumnValue("QTZY")); + + String BRSY=crb_infodao_bypkey.getColumnValueAsString("BRSY"); + crbbkdydao.setColumnValue("病人属于"+BRSY, "checked"); + crbbkdydao.setColumnValue("现住地址省份", regiondic.getDicValue(crb_infodao_bypkey.getColumnValueAsString("XZDZ_SHENG"))); + crbbkdydao.setColumnValue("现住地址城市",regiondic.getDicValue(crb_infodao_bypkey.getColumnValueAsString("XZDZ_SHI"))); + crbbkdydao.setColumnValue("现住地址县", regiondic.getDicValue(crb_infodao_bypkey.getColumnValueAsString("XZDZ_XIAN"))); + crbbkdydao.setColumnValue("现住地址镇", regiondic.getDicValue(crb_infodao_bypkey.getColumnValueAsString("XZDZ_ZHEN"))); + crbbkdydao.setColumnValue("现住地址村", regiondic.getDicValue(crb_infodao_bypkey.getColumnValueAsString("XZDZ_CUN"))); + crbbkdydao.setColumnValue("详细现住地址", crb_infodao_bypkey.getColumnValue("XZDZ_XX")); + crbbkdydao.setColumnValue("身份证号码", crb_infodao_bypkey.getColumnValue("SFZH")); + crbbkdydao.setColumnValue("文化程度",sc_crb_whcddao.getDicValue(crb_infodao_bypkey.getColumnValueAsString("WHCD"))); + + + String HYZK=crb_infodao_bypkey.getColumnValueAsString("HYZK"); + crbbkdydao.setColumnValue("婚姻状况"+HYZK, "checked"); + + + crbbkdydao.setColumnValue("疾病名称", crb_infodao_bypkey.getColumnValue("JBMC")); + crbbkdydao.setColumnValue("其它病名称", crb_infodao_bypkey.getColumnValue("QTJBMC")); + crbbkdydao.setColumnValue("诊断日期", Delphi.format(crb_infodao_bypkey.getColumnValueAsLong("ZDRQ"), "yyyy-MM-dd HH:mm:ss")); + crbbkdydao.setColumnValue("死亡日期", Delphi.format(crb_infodao_bypkey.getColumnValueAsLong("SWRQ"), "yyyy-MM-dd HH:mm:ss")); + crbbkdydao.setColumnValue("备注", crb_infodao_bypkey.getColumnValue("BZ")); + String HJDLX=crb_infodao_bypkey.getColumnValueAsString("HJDLX"); + crbbkdydao.setColumnValue("户籍地类型"+HJDLX, "checked"); + crbbkdydao.setColumnValue("户籍地址省份", regiondic.getDicValue(crb_infodao_bypkey.getColumnValueAsString("HJDZ_SHENG"))); + crbbkdydao.setColumnValue("户籍地址城市",regiondic.getDicValue(crb_infodao_bypkey.getColumnValueAsString("HJDZ_SHI"))); + crbbkdydao.setColumnValue("户籍地址县", regiondic.getDicValue(crb_infodao_bypkey.getColumnValueAsString("HJDZ_XIAN"))); + crbbkdydao.setColumnValue("户籍地址镇", regiondic.getDicValue(crb_infodao_bypkey.getColumnValueAsString("HJDZ_ZHEN"))); + crbbkdydao.setColumnValue("户籍地址村", regiondic.getDicValue(crb_infodao_bypkey.getColumnValueAsString("HJDZ_CUN"))); + crbbkdydao.setColumnValue("户籍地详细地址", crb_infodao_bypkey.getColumnValue("HZDZ_XX")); + String ZDLX=crb_infodao_bypkey.getColumnValueAsString("ZDLX"); + crbbkdydao.setColumnValue("诊断类型"+ZDLX, "checked"); + String BLFL=crb_infodao_bypkey.getColumnValueAsString("BLFL"); + crbbkdydao.setColumnValue("病例分类"+BLFL, "checked"); + crbbkdydao.setColumnValue("发病日期", Delphi.format(crb_infodao_bypkey.getColumnValueAsLong("FBRQ"), "yyyy-MM-dd")); + String MJZYWXTZZ=crb_infodao_bypkey.getColumnValueAsString("MJZYWXTZZ"); + crbbkdydao.setColumnValue("密接者有无相同症状"+MJZYWXTZZ, "checked"); + String XG_LCYZCD=crb_infodao_bypkey.getColumnValueAsString("XG_LCYZCD"); + crbbkdydao.setColumnValue("临床严重程度"+XG_LCYZCD, "checked"); + String XG_SRBL=crb_infodao_bypkey.getColumnValueAsString("XG_SRBL"); + crbbkdydao.setColumnValue("输入病例"+XG_SRBL, "checked"); + String XG_SWYY=crb_infodao_bypkey.getColumnValueAsString("XG_SWYY"); + crbbkdydao.setColumnValue("死亡原因是否与新冠感染有关"+XG_SWYY, "checked"); + crbbkdydao.setColumnValue("直接死亡诊断", crb_infodao_bypkey.getColumnValue("XG_ZJSWZD")); + String JHB_SZZT=crb_infodao_bypkey.getColumnValueAsString("JHB_SZZT"); + crbbkdydao.setColumnValue("收治状态"+JHB_SZZT, "checked"); + + crbbkdydao.setColumnValue("样本来源", sc_crb_yblydao.getDicValue(crb_infodao_bypkey.getColumnValueAsString("HIV_YBLY"))); + crbbkdydao.setColumnValue("样本来源其它", crb_infodao_bypkey.getColumnValue("HIV_YBLYQT")); + crbbkdydao.setColumnValue("最有可能感染途径", sc_crb_grtjdao.getDicValue(crb_infodao_bypkey.getColumnValueAsString("ZYKNGRTJ"))); + crbbkdydao.setColumnValue("感染途径其它", crb_infodao_bypkey.getColumnValue("GRTJQT")); + + String JCS_DP=crb_infodao_bypkey.getColumnValueAsString("JCS_DP"); + String JSC_SX=crb_infodao_bypkey.getColumnValueAsString("JSC_SX"); + String JSC_QT=crb_infodao_bypkey.getColumnValueAsString("JSC_QT"); + String JSC_XJCS=crb_infodao_bypkey.getColumnValueAsString("JSC_XJCS"); + String JSC_MQYX=crb_infodao_bypkey.getColumnValueAsString("JSC_MQYX"); + String JSC_FSY=crb_infodao_bypkey.getColumnValueAsString("JSC_FSY"); + String JSC_PO=crb_infodao_bypkey.getColumnValueAsString("JSC_PO"); + String JSC_ZYBLS=crb_infodao_bypkey.getColumnValueAsString("JSC_ZYBLS"); + String JSC_SY=crb_infodao_bypkey.getColumnValueAsString("JSC_SY"); + String JSC_NN=crb_infodao_bypkey.getColumnValueAsString("JSC_NN"); + String JSC_SSS=crb_infodao_bypkey.getColumnValueAsString("JSC_SSS"); + String JSC_XXS=crb_infodao_bypkey.getColumnValueAsString("JSC_XXS"); + String JSC_BX=crb_infodao_bypkey.getColumnValueAsString("JSC_BX"); + + crbbkdydao.setColumnValue("注射毒品史", "1".equals(JCS_DP)?"checked":""); + crbbkdydao.setColumnValue("与患者共用过注射器的人数", crb_infodao_bypkey.getColumnValue("JCS_DPZSRS")); + crbbkdydao.setColumnValue("输血血制品史", "1".equals(JSC_SX)?"checked":""); + crbbkdydao.setColumnValue("其他", "1".equals(JSC_QT)?"checked":""); + crbbkdydao.setColumnValue("非婚异性性接触史", "1".equals(JSC_XJCS)?"checked":""); + crbbkdydao.setColumnValue("人有过非婚性行为", crb_infodao_bypkey.getColumnValue("JSC_XJCSRS")); + crbbkdydao.setColumnValue("母亲阳性", "1".equals(JSC_MQYX)?"checked":""); + crbbkdydao.setColumnValue("非商业", "1".equals(JSC_FSY)?"checked":""); + crbbkdydao.setColumnValue("配偶固定性伴阳性", "1".equals(JSC_PO)?"checked":""); + crbbkdydao.setColumnValue("职业暴露史", "1".equals(JSC_ZYBLS)?"checked":""); + crbbkdydao.setColumnValue("商业", "1".equals(JSC_SY)?"checked":""); + crbbkdydao.setColumnValue("男男性行为史", "1".equals(JSC_NN)?"checked":""); + crbbkdydao.setColumnValue("人有过同性性行为", crb_infodao_bypkey.getColumnValue("JSC_NNRS")); + crbbkdydao.setColumnValue("手术史", "1".equals(JSC_SSS)?"checked":""); + crbbkdydao.setColumnValue("献血浆史", "1".equals(JSC_XXS)?"checked":""); + crbbkdydao.setColumnValue("不详", "1".equals(JSC_BX)?"checked":""); + + + + crbbkdydao.setColumnValue("接触史其他", crb_infodao_bypkey.getColumnValue("JSC_QTNR")); + crbbkdydao.setColumnValue("艾滋病诊断日期", Delphi.format(crb_infodao_bypkey.getColumnValueAsLong("FBRQ"), "yyyy-MM-dd")); + + String SYSJCJL=crb_infodao_bypkey.getColumnValueAsString("SYSJCJL"); + crbbkdydao.setColumnValue("实验室检测结论"+SYSJCJL, "checked"); + crbbkdydao.setColumnValue("检测阳性日期", Delphi.format(crb_infodao_bypkey.getColumnValueAsLong("HIV_JCYXRQ"), "yyyy-MM-dd")); + crbbkdydao.setColumnValue("检测单位", crb_infodao_bypkey.getColumnValue("HIV_JCDW")); + String XBS=crb_infodao_bypkey.getColumnValueAsString("XBS"); + crbbkdydao.setColumnValue("性病史"+XBS, "checked"); + String SZDSYYYTGR=crb_infodao_bypkey.getColumnValueAsString("SZDSYYYTGR"); + crbbkdydao.setColumnValue("生殖道沙眼衣原体感染"+SZDSYYYTGR, "checked"); + String SZK_ZZHZ=crb_infodao_bypkey.getColumnValueAsString("SZK_ZZHZ"); + crbbkdydao.setColumnValue("重症患者"+SZK_ZZHZ, "checked"); + String SZK_SYSJG=crb_infodao_bypkey.getColumnValueAsString("SZK_SYSJG"); + crbbkdydao.setColumnValue("实验室结果"+SZK_SYSJG, "checked"); + String HB_YXSJ=crb_infodao_bypkey.getColumnValueAsString("HB_YXSJ"); + crbbkdydao.setColumnValue("乙肝HBsAg阳性时间"+HB_YXSJ, "checked"); + crbbkdydao.setColumnValue("首次出现乙肝症状和体征时间", Delphi.format(crb_infodao_bypkey.getColumnValueAsLong("HB_SCSJ"), "yyyy-MM-dd")); + + String HB_SCSJCHECK=crb_infodao_bypkey.getColumnValueAsString("HB_SCSJCHECK"); + crbbkdydao.setColumnValue("首次出现乙肝症状和体征时间不详", "Y".equals(HB_SCSJCHECK)?"checked":""); + + + crbbkdydao.setColumnValue("乙肝本次ALT", crb_infodao_bypkey.getColumnValue("HB_ALT")); + String HB_1000=crb_infodao_bypkey.getColumnValueAsString("HB_1000"); + crbbkdydao.setColumnValue("抗检测结果"+HB_1000, "checked"); + String HB_GCJCJG=crb_infodao_bypkey.getColumnValueAsString("HB_GCJCJG"); + crbbkdydao.setColumnValue("肝穿检测结果"+HB_GCJCJG, "checked"); + String HB_SAG=crb_infodao_bypkey.getColumnValueAsString("HB_SAG"); + crbbkdydao.setColumnValue("恢复期血清"+HB_SAG, "checked"); + crbbkdydao.setColumnValue("检验结果", crb_infodao_bypkey.getColumnValue("MD_JCJG")); + crbbkdydao.setColumnValue("诊疗史", crb_infodao_bypkey.getColumnValue("MD_ZLS")); + crbbkdydao.setColumnValue("特征性临床表现", crb_infodao_bypkey.getColumnValue("MD_LCBX")); + crbbkdydao.setColumnValue("报告科室", crb_infodao_bypkey.getColumnValue("MDBGKS")); + crbbkdydao.setColumnValue("报告单位编码", crb_infodao_bypkey.getColumnValue("BGDWBM")); + crbbkdydao.setColumnValue("填卡医生", crb_infodao_bypkey.getColumnValue("TKYS")); + crbbkdydao.setColumnValue("报告单位名称", crb_infodao_bypkey.getColumnValue("BGDWMC")); + crbbkdydao.setColumnValue("报告日期", Delphi.format(crb_infodao_bypkey.getColumnValueAsLong("BGRQ"), "yyyy-MM-dd")); + crbbkdydao.setColumnValue("联系电话", crb_infodao_bypkey.getColumnValue("BGDWLXDH")); + + + + + String columnDaoStr = reportTemplateDao.getColumnValueAsString("BBLDAO"); + String tableDaoStr = reportTemplateDao.getColumnValueAsString("BBSJDAO"); + + DxNormalDataManager tabledao = DaoCreator.getNormalDao(tableDaoStr); + tabledao.reload(); + + DxNormalDataManager columnDao = DaoCreator.getNormalDao(columnDaoStr);//内容 + columnDao.reload(); + columnDao.absoluteInSert(); + columnDao.copyRow(crbbkdydao); + + DxEMRShow emrshow = pform.getPrintEmrShow(); + emrshow.setUseFileServer(true); + emrshow.setEmrPath(reportTemplateDao.getColumnValueAsString("MBLJ")); + + ReportPrintModel model = new ReportPrintModel(); + model.setEmrshow(emrshow); + model.setCompanyid(MainUtil.getCurCompanyID()); + model.setReportno(type); + model.setForm(form); + model.addMaindao(columnDao); + model.addRecorddao(tabledao); + model.setPrintflag(PrintFlag.Preview); + model.setHasPageNum(false); + model.setPrinterType("传染病报卡"); + ReportPrintFactory.processPrint(model); + } + return srtn; + } +} diff --git a/file/reporttemplate/C903C18E-27EB-A242-6306-E301CB3E6AC9/传染病报卡/f120939196ca9c64f82b3cef821e2f72.xml b/file/reporttemplate/C903C18E-27EB-A242-6306-E301CB3E6AC9/传染病报卡/f120939196ca9c64f82b3cef821e2f72.xml new file mode 100644 index 0000000..2f3e2cc --- /dev/null +++ b/file/reporttemplate/C903C18E-27EB-A242-6306-E301CB3E6AC9/传染病报卡/f120939196ca9c64f82b3cef821e2f72.xml @@ -0,0 +1,1923 @@ + + + + + + + + +

中华人民共和国传染病报告卡

+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +





































+
卡片ID:
+
+
$卡片ID$
+
+
卡片类别:
+
+
$卡片类别$
+
+
患者姓名:
+
+
$患者姓名$
+
+
患者家长姓名:
+
+
$患者家长姓名$
+
+
性别:
+
+
+ 男 + + 女 + +
+
+
联系电话:
+
+
$联系电话$
+
+
出生日期:
+
+
$出生日期$
+
+
民族:
+
+
$民族$
+
+
工作单位:
+
+
$工作单位$
+
+
职业:
+
+
+ 幼托儿童 + +
+
+
+ 保育员及保姆 + +
+
+
+ 医务人员 + +
+
+
+ 牧民 + +
+
+
+ 离退人员 + +
+
+ +
+ 散居儿童 + +
+
+
+ 餐饮食品业 + +
+
+
+ 工人 + +
+
+
+ 渔(船)民 + +
+
+
+ 家务及待业 + +
+
+ +
+ 学生 + +
+
+
+ 公共场所服务员 + +
+
+
+ 民工 + +
+
+
+ 海员及长途驾驶员 + +
+
+
+ 不详 + +
+
+ +
+ 教师 + +
+
+
+ 商业服务 + +
+
+
+ 农民 + +
+
+
+ 干部职员 + +
+
+
+ 其他 + +
+
+
具体的其它职业信息:
+
+
$具体的其它职业信息$
+
+
病人属于:
+
+
+ 本县区 + +
+
+
+ 本市其它县区 + +
+
+
+ 本省其它地市 + +
+
+
+ 其他省 + +
+
+
+ 港澳台 + +
+
+
+ 外籍 + +
+
+
现住地址:
+
+
省份
+
+
$现住地址省份$
+
+
城市
+
+
$现住地址城市$
+
+
+
+
$现住地址县$
+
+
+
+
$现住地址镇$
+
+
+
+
$现住地址村$
+
+
详细现住地址:
+
+
$详细现住地址$
+
+
身份证号码:
+
+
$身份证号码$
+
+
文化程度:
+
+
$文化程度$
+
+
婚姻状况:
+
+
+ 未婚 + +
+
+
+ 已婚 + +
+
+
+ 初婚 + +
+
+
+ 再婚 + +
+
+
+ 复婚 + +
+
+
+ 丧偶 + +
+
+
+ 离婚 + +
+
+
+ 未说明的婚姻状况 + +
+
+
疾病名称:
+
+
$疾病名称$
+
+
其它病名称:
+
+
$其它病名称$
+
+
诊断日期:
+
+
$诊断日期$
+
+
死亡日期:
+
+
$死亡日期$
+
+
备注:
+
+
$备注$
+
+
户籍地类型:
+
+
+ 本县区 + +
+
+
+ 本市其它县区 + +
+
+
+ 本省其它地市 + +
+
+
+ 其他省 + +
+
+
+ 港澳台 + +
+
+
+ 外籍 + +
+
+
户籍地址:
+
+
省份
+
+
$户籍地址省份$
+
+
城市
+
+
$户籍地址城市$
+
+
+
+
$户籍地址县$
+
+
+
+
$户籍地址镇$
+
+
+
+
$户籍地址村$
+
+
户籍地详细地址:
+
+
$户籍地详细地址$
+
+
诊断类型:
+
+
+ 临床诊断病例 + +
+
+
+ 确诊病例 + +
+
+
+ 疑似病例 + +
+
+
+ 病原携带者 + +
+
+
+ 阳性检测 + +
+
+
+ 埃博拉留观病例 + +
+
+
病例分类:
+
+
+ 急性 + +
+
+
+ 慢性 + +
+
+
+ 未分型 + +
+
+
发病日期:
+
+
$发病日期$
+
+
密接者有无相同症状:
+
+
+ 有 + +
+
+
+ 无 + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

新型冠状病毒感染填写此栏

+
+





































+
临床严重程度:
+
+
+ 轻型 + +
+
+
+ 重型 + +
+
+
+ 危重型 + +
+
+
+ 无症状感染者 + +
+
+
+ 普通型 + +
+
+
输入病例:
+
+
+ 是 + +
+
+
+ 否 + +
+
+
死亡原因是否与新冠感染有关:
+
+
+ 是 + +
+
+
+ 否 + +
+
+
直接死亡诊断:
+
+
$直接死亡诊断$
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

结核病填写此栏

+
+





































+
收治状态:
+
+
+ 未收治 + +
+
+
+ 已收治 + +
+
+
+ 已到位未收治 + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

艾滋病/HIV等填写此栏

+
+





































+
样本来源:
+
+
$样本来源$
+
+
样本来源其它:
+
+
$样本来源其它$
+
+
最有可能感染途径:
+
+
$最有可能感染途径$
+
+
感染途径其它:
+
+
$感染途径其它$
+
+
接触史(可多选):
+
+
+ + +
+
+
与患者共用过注射器的人数:
+
+
$与患者共用过注射器的人数$
+
+
+ + +
+
+
+ + +
+
+
+
+
+ + +
+
+
记忆中与
+
+
$人有过非婚性行为$
+
+
人有过非婚性行为?
+
+
+ + +
+
+
+ + +
+
+
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
+
+
+ + +
+
+
记忆中与
+
+
$人有过同性性行为$
+
+
人有过同性性行为?
+
+
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
接触史其他:
+
+
$接触史其他$
+
+
艾滋病诊断日期:
+
+
$艾滋病诊断日期$
+
+
实验室检测结论:
+
+
+ 确认结果阳性 + +
+
+
+ 替代策略检测阳性 + +
+
+
+ 核酸检测阳性 + +
+
+
确认(替代策略)检测阳性日期:
+
+
$检测阳性日期$
+
+
确认(替代策略)检测单位:
+
+
$检测单位$
+
+
性病史:
+
+
+ 有 + +
+
+
+ 无 + +
+
+
+ 不详 + +
+
+
生殖道沙眼衣原体感染:
+
+
+ 确诊病例 + +
+
+
+ 无症状感染 + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

手足口病填写此栏

+
+





































+
重症患者:
+
+
+ 未收治 + +
+
+
+ 已收治 + +
+
+
实验室结果:
+
+
+ 未收治 + +
+
+
+ 已收治 + +
+
+
+ 已收治 + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

HB乙肝填写此栏

+
+





































+
乙肝HBsAg阳性时间:
+
+
+ 大于6个月 + +
+
+
+ 6个月内由阴性转为阳性 + +
+
+
+ 既往未检测或结果不详 + +
+
+
首次出现乙肝症状和体征时间:
+
+
$首次出现乙肝症状和体征时间$
+
+
+ + +
+
+
乙肝本次ALT:
+
+
$乙肝本次ALT$
+
+
抗-HBcIgI1:1000检测结果:
+
+
+ 阳性 + +
+
+
+ 阴性 + +
+
+
+ 未测 + +
+
+
肝穿检测结果:
+
+
+ 大于6个月 + +
+
+
+ 6个月内由阴性转为阳性 + +
+
+
+ 既往未检测或结果不详 + +
+
+
恢复期血清HBsAg阴转,抗HBs阳转:
+
+
+ 是 + +
+
+
+ 否 + +
+
+
+ 未测 + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

梅毒病例填写此栏

+
+





































+
检验结果(含滴度):
+
+
$检验结果$
+
+
诊疗史:
+
+
$诊疗史$
+
+
特征性临床表现:
+
+
$特征性临床表现$
+
+
报告科室:
+
+
$报告科室$
+
+
+
+
报告单位编码:
+
+
$报告单位编码$
+
+
填卡医生:
+
+
$填卡医生$
+
+
报告单位名称:
+
+
$报告单位名称$
+
+
报告日期:
+
+
$报告日期$
+
+
联系电话:
+
+
$联系电话$
+
+ +]]> + + + + + \ No newline at end of file