| 
					
				 | 
			
			
				@ -1372,7 +1372,6 @@ public class XzzxEntranceService{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (!StringUtils.isEmpty(DiagnosisCode)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            condition += "<DiagnosisCode>"+DiagnosisCode+"</DiagnosisCode>"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        condition+="<ChnSymPtomsCode>"+"</ChnSymPtomsCode>"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        condition+="<ChnSymPtomsName>"+"</ChnSymPtomsName>"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        condition+="<ChnDiagnosisCode>"+"</ChnDiagnosisCode>"; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -1509,13 +1508,12 @@ public class XzzxEntranceService{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            for (WlyyPrescriptionInfoDO wlyyPrescriptionInfoDO:infos){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                int i = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                stringBuffer.append("<Advice REPEAT=\"1\" DRUG_LO_NAME=\""+wlyyPrescriptionInfoDO.getDrugName()+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" DRUG_LO_ID=\""+wlyyPrescriptionInfoDO.getHisCode()+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" ADMINISTRATION=\""+wlyyPrescriptionInfoDO.getSupplyName()+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" DRUG_LO_ID=\""+wlyyPrescriptionInfoDO.getHisCode()+"\" ADMINISTRATION=\""+wlyyPrescriptionInfoDO.getSupplyName()+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" DOSAGE=\""+wlyyPrescriptionInfoDO.getDosage()+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" DOSAGE_UNIT=\""+wlyyPrescriptionInfoDO.getUnitName()+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" FREQ_COUNT=\""+wlyyPrescriptionInfoDO.getUsageCode()+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" FREQ_INTERVAL=\"\" FREQ_INTERVAL_UNIT=\"\" START_DAY=\""+patientAndDoctor.getString("CREATE_DATE")+"\" END_DAY=\"\" DEPT_CODE=\""+patientAndDoctor.getString("DEPT_CODE")+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" DOCTOR_NAME=\""+patientAndDoctor.getString("DOCTOR_NAME")+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" FREQ_INTERVAL=\"\" FREQ_INTERVAL_UNIT=\"\" START_DAY=\""+patientAndDoctor.getString("CREATE_DATE")+"\" END_DAY=\"\"" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        " DEPT_CODE=\""+patientAndDoctor.getString("DEPT_CODE")+"\" DOCTOR_NAME=\""+patientAndDoctor.getString("DOCTOR_NAME")+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" ORDER_NO=\""+i+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" ORDER_SUB_NO=\""+1+"\" AUTHORITY_LEVELS=\"\" ALERT_LEVELS=\"\" TITLE=\""+patientAndDoctor.getString("POSITION") + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" GROUP_ID=\""+wlyyPrescriptionInfoDO.getFrequency()+"\" USER_ID=\""+patientAndDoctor.getString("doctorId")+ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -1523,8 +1521,7 @@ public class XzzxEntranceService{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" PRES_DATE=\""+patientAndDoctor.getString("CREATE_DATE")+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" PRES_SEQ_ID=\""+patientAndDoctor.getString("PATIENT_PRES_ID")+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" PK_ORDER_NO=\"\" COURSE=\""+wlyyPrescriptionInfoDO.getDays()+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" PKG_COUNT=\""+wlyyPrescriptionInfoDO.getQuantity()+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" PKG_UNIT=\""+wlyyPrescriptionInfoDO.getPackUnitName()+"\" BAK_01=\"\" BAK_02=\"\" BAK_03=\""+wlyyPrescriptionInfoDO.getUnitName()+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" PKG_COUNT=\""+wlyyPrescriptionInfoDO.getPackQuantity()+"\" PKG_UNIT=\""+wlyyPrescriptionInfoDO.getPackUnitName()+"\" BAK_01=\"\" BAK_02=\"\" BAK_03=\""+wlyyPrescriptionInfoDO.getUnitName()+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" BAK_04=\""+wlyyPrescriptionInfoDO.getSpecification()+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        "\" BAK_05=\""+wlyyPrescriptionInfoDO.getDrugPlace()+"\"  />"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                i++; 
			 |