| 
					
				 | 
			
			
				@ -1908,7 +1908,7 @@ public class DsyyEntranceService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (StringUtils.isNoneBlank(hismzlsh)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("hismzlsh",hismzlsh); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//        object.put("trade_type","5"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        object.put("trade_type","5"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        object.put("accountType","01"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        object.put("sfxsjs","Y"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        condition = object.toJSONString(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -2847,6 +2847,14 @@ public class DsyyEntranceService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    infoDO.getUsageName()+"|"+infoDO.getDays()+"|"+infoDO.getQuantity()+"|"+infoDO.getPackUnit()+"|"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            info = info.substring(0,info.length()-1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        BasePatientDO patientDO = patientDao.findById(prescriptionDO.getPatientCode()).get(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String sexName="未知"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (patientDO.getSex()==1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            sexName="男"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }else if (patientDO.getSex()==2){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            sexName="女"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        Integer age = DateUtil.getAgeForIdcard(patientDO.getIdcard()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String condition = "<MESSAGE><PATIENT_ID>"+patientMappingDO.getMappingCode()+"</PATIENT_ID>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<HIS_REGISTER_PK>"+outpatientDO.getRegisterNo()+"</HIS_REGISTER_PK>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<VISIT_ID>"+(visitId==0?"":visitId)+"</VISIT_ID>"+ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -2855,12 +2863,12 @@ public class DsyyEntranceService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<CREATE_USER_ID>"+doctorMappingDO.getMappingCode()+"</CREATE_USER_ID>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<CREATE_USER_NAME>"+prescriptionDO.getDoctorName()+"</CREATE_USER_NAME>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<CREATE_DATE_TIME>"+DateUtil.dateToStrLong(prescriptionDO.getCreateTime())+"</CREATE_DATE_TIME>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<MR_CODE>EMR10.00.18_36</MR_CODE>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<MR_CODE>EMR02.00.01_1588</MR_CODE>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<TOPIC>互联网医院专用</TOPIC>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<HOSPITAL_NO>42661889-5</HOSPITAL_NO>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<DEPT_CODE>"+prescriptionDO.getDept()+"</DEPT_CODE>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<DEPT_NAME>"+prescriptionDO.getDeptName()+"</DEPT_NAME>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<FILE_FLAG>1</FILE_FLAG>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<FILE_FLAG>C</FILE_FLAG>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<SHCZZT_FLAG>"+doctorMappingDO.getMappingCode()+"</SHCZZT_FLAG>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<CA_SIGN_PIC>"+stamp+"</CA_SIGN_PIC>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<Structured_medical>" + 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -2873,6 +2881,14 @@ public class DsyyEntranceService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<门诊处置>"+info+"</门诊处置>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<检验></检验>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<检查></检查>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<姓名>"+outpatientDO.getPatientName()+"</姓名>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<性别>"+sexName+"</性别>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<年龄>"+age+"岁</年龄>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<科室>"+outpatientDO.getDeptName()+"</科室>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<ID号>"+outpatientDO.getRegisterNo()+"</ID号>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<就诊状态>复诊</就诊状态>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<就诊时间>"+DateUtil.dateToStrShort(outpatientDO.getRegisterDate())+"</就诊时间>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "<起草医师>"+outpatientDO.getDoctorName()+"</起草医师>"+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "</Structured_medical>" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "</MESSAGE>"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String str  = StringEscapeUtils.escapeXml(condition); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -2885,7 +2901,6 @@ public class DsyyEntranceService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            hashType = data.getString("hashType"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String baseSign=""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        BasePatientDO patientDO = patientDao.findById(outpatientDO.getPatient()).get(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (patientDO!=null&&doctorDO!=null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String patientName = patientDO.getName(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            Integer patientAge = IdCardUtil.getAgeForIdcard(patientDO.getIdcard()); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -2994,6 +3009,72 @@ public class DsyyEntranceService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * 通用查询检查、检验报告详情接口 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @param serverCode 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @param patientId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @param visitNo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @throws Exception 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public JSONArray selectReportInfo(String serverCode,String patientId,String visitNo) throws Exception { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String url = "HTTP://10.95.8.41:51221"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String xml = "{\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    \"serverCode\": \""+serverCode+"\",\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    \"sysCode\": \"HLW\",\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    \"pageSize\": \"10\",\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    \"pageNo\": \"1\",\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "  \t\"orders\": [\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "\t\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "\t],\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "\t\"condition\": [\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "\t\t{\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "\t\t\t\"column\": \"PATIENT_ID\",\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "\t\t\t\"type\": \"eq\",\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "\t\t\t\"value\": \""+patientId+"\"\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "\t\t},\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "        \t{\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "\t\t\t\"column\": \"VISIT_ID\",\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "\t\t\t\"type\": \"eq\",\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "\t\t\t\"value\": \""+visitNo+"\"\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "\t\t}\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "\t]\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "}"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        logger.info("xml"+xml); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String response = httpClientUtil.postHeadBodyText(url,xml); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        logger.info("response===="+response); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        JSONArray jsonArray =new JSONArray(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        Object json = JSON.parse(response); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (json instanceof JSONObject) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            JSONObject jsonObject = (JSONObject) json; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if (jsonObject.getString("code").equalsIgnoreCase("401")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                throw new Exception(jsonObject.getString("message")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } else if (json instanceof JSONArray) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            JSONArray array = (JSONArray) json; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            array = JSONArray.parseArray(response); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            for (int i=0;i<array.size();i++){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                JSONObject object = array.getJSONObject(i); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                String EMRPDF=object.getString("EMRPDF"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                byte[] emrByte = Base64.decodeBase64(EMRPDF); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                String emrDecode = new String(emrByte, "GBK"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                object.put("EMRPDFHTMl", emrDecode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            jsonArray = array; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        WlyyHttpLogDO httpLogDO = new WlyyHttpLogDO(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        httpLogDO.setCode("selectEmrInfo"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        httpLogDO.setName("查下电子病历"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        httpLogDO.setRequest(xml); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        httpLogDO.setResponse(response); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        httpLogDO.setStatus("1"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        wlyyHttpLogDao.save(httpLogDO); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return jsonArray; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public String dzblIcd10Save(String prescriptionId)throws Exception{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        WlyyPrescriptionDO prescriptionDO = prescriptionDao.findById(prescriptionId).get(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (prescriptionDO==null){ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -3036,11 +3117,11 @@ public class DsyyEntranceService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <PATIENT_ID>"+patientMappingDO.getMappingCode()+"</PATIENT_ID>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <VISIT_ID>"+visitId+"</VISIT_ID>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <NAME>"+outpatientDO.getPatientName()+"</NAME>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <NAME_PHONETIC>CS</NAME_PHONETIC>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <NAME_PHONETIC></NAME_PHONETIC>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <SEX>"+sexName+"</SEX>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <ID_NO>"+patientDO.getIdcard()+"</ID_NO>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <CITIZENSHIP>中国</CITIZENSHIP>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <DATE_OF_BIRTH>"+patientDO.getBirthday()+"</DATE_OF_BIRTH>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <DATE_OF_BIRTH>"+DateUtil.dateToStrShort(patientDO.getBirthday())+"</DATE_OF_BIRTH>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <CARD_NO>"+outpatientDO.getCardNo()+"</CARD_NO>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <CREATE_DATE></CREATE_DATE>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <AGE>"+DateUtil.getAgeForIdcard(patientDO.getIdcard())+"岁</AGE>\n" + 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -3112,6 +3193,14 @@ public class DsyyEntranceService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    infoDO.getUsageName()+"|"+infoDO.getDays()+"|"+infoDO.getQuantity()+"|"+infoDO.getPackUnit()+"|"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            info = info.substring(0,info.length()-1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        BasePatientDO patientDO = patientDao.findById(prescriptionDO.getPatientCode()).get(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String sexName="未知"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (patientDO.getSex()==1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            sexName="男"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }else if (patientDO.getSex()==2){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            sexName="女"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        Integer age = DateUtil.getAgeForIdcard(patientDO.getIdcard()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String condition = "<MESSAGE>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <PATIENT_ID>"+patientMappingDO.getMappingCode()+"</PATIENT_ID>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <HIS_REGISTER_PK>"+outpatientDO.getRegisterNo()+"</HIS_REGISTER_PK>\n" + 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -3124,14 +3213,14 @@ public class DsyyEntranceService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <CREATE_USER_ID>"+doctorMappingDO.getMappingCode()+"</CREATE_USER_ID>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <CREATE_USER_NAME>"+prescriptionDO.getDoctorName()+"</CREATE_USER_NAME>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <CREATE_DATE_TIME>"+DateUtil.dateToStrLong(prescriptionDO.getCreateTime())+"</CREATE_DATE_TIME>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <MR_CODE>EMR10.00.18_36</MR_CODE>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <MR_CODE>EMR02.00.01_1588</MR_CODE>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <TOPIC>互联网医院专用</TOPIC>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <HOSPITAL_NO>42661889-5</HOSPITAL_NO>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <DEPT_CODE>"+prescriptionDO.getDept()+"</DEPT_CODE>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <DEPT_NAME>"+prescriptionDO.getDeptName()+"</DEPT_NAME>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <FILE_FLAG>1</FILE_FLAG>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <FILE_FLAG>C</FILE_FLAG>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <SHCZZT_FLAG>"+doctorMappingDO.getMappingCode()+"</SHCZZT_FLAG>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <CA_SIGN_PIC></CA_SIGN_PIC>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <CA_SIGN_PIC>"+stamp+"</CA_SIGN_PIC>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    <Structured_medical>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "      <主诉>"+prescriptionEmrDO.getComplaint()+"</主诉>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "      <流行病学史>"+prescriptionEmrDO.getPopularHistory()+"</流行病学史>\n" + 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -3142,6 +3231,14 @@ public class DsyyEntranceService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "      <门诊处置>"+info+"</门诊处置>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "      <检验></检验>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "      <检查></检查>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "      <姓名>"+outpatientDO.getPatientName()+"</姓名>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "      <性别>"+sexName+"</性别>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "      <年龄>"+age+"岁</年龄>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "      <科室>"+outpatientDO.getDeptName()+"</科室>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "      <ID号>"+outpatientDO.getRegisterNo()+"</ID号>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "      <就诊状态>复诊</就诊状态>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "      <就诊时间>"+DateUtil.dateToStrShort(outpatientDO.getRegisterDate())+"</就诊时间>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "      <起草医师>"+outpatientDO.getDoctorName()+"</起草医师>"+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "    </Structured_medical>\n" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "  </MESSAGE>"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String pInput=condition; 
			 |