| 
					
				 | 
			
			
				@ -364,8 +364,14 @@ public class YkyyPrescriptionService extends BaseJpaService<WlyyPrescriptionDO, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public JSONArray getDrugUse(String drugNo, String pyKey) throws Exception { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<Map<String,Object>> mapList = ykyyEntranceService.findYpyf(pyKey); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        JSONArray array = new JSONArray(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        for (Map<String,Object> map:mapList){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            JSONObject object = new JSONObject(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("supply_code",map.get("pydm")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("supply_name",map.get("xmmc")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            array.add(object); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return array; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    /** 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -374,20 +380,75 @@ public class YkyyPrescriptionService extends BaseJpaService<WlyyPrescriptionDO, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public JSONArray getDrugFrequency() throws Exception { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<Map<String,Object>> mapList = ykyyEntranceService.findSypc(null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        JSONArray array = new JSONArray(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        for (Map<String,Object> map:mapList){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            JSONObject object = new JSONObject(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("FREQ_CODE",map.get("pcmc")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("FREQ_NAME",map.get("pcmc1")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            array.add(object); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return array; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * 检查模板选择接口 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * 获取检查检验 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     *  "action": "select", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     "name": "丙型肝炎RNA测定(全自动荧光定量分析)", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     "charge_unit": "项", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     "charge_amount": "150", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     "py_code": "BXGYRNAC", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     "d_code": "GGEORNAI", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     "code": "393333", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     "exec_unit": "2160000", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     "win_no": "0", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     "exec_unit_name": "检验科" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @param bz_code 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @param flag 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @throws Exception 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public JSONArray getJcmb(String bz_code, String tc_no, String flag) throws Exception { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public JSONArray getInspectionDictionary(String pyKey, String codes, String winNo) throws Exception { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<Map<String,Object>> mapList = ykyyEntranceService.findYkJcxm(pyKey); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        JSONArray array = new JSONArray(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        for (Map<String,Object> map:mapList){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            JSONObject object = new JSONObject(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("name",map.get("xmmc")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("code",map.get("zlxmid")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("py_code",map.get("pydm")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("wbdm",map.get("wbdm")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("jxdm",map.get("jxdm")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("qtdm",map.get("qtdm")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("ydyzlb",map.get("ydyzlb")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("mlbh",map.get("mlbh")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("zxpc",map.get("zxpc")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("jfpc",map.get("jfpc")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("jsfs",map.get("jsfs")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("jszq",map.get("jszq")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("charge_unit",map.get("jsdw")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("syxb",map.get("syxb")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("mxsy",map.get("mxsy")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("zysy",map.get("zysy"));//住院使用 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("tjsy",map.get("tjsy")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("zxlb",map.get("zxlb"));//执行类别 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("exec_unit",map.get("zxks"));//执行科室 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("zxgzid",map.get("zxgzid"));//执行规则 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("ywzx",map.get("ywzx")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("zxap",map.get("zxap")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("cpzx",map.get("cpzx")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("szzx",map.get("szzx")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("jjlx",map.get("jjlx")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("ycxzsl",map.get("ycxzsl")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("yblx",map.get("yblx")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("zxbz",map.get("zxbz")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("txid",map.get("txid")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("bgbh",map.get("bgbh")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("czsy",map.get("czsy")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("lzsy",map.get("lzsy")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("lccs",map.get("lccs")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("bwbz",map.get("bwbz")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("yblb",map.get("yblb")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            array.add(object); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return array; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				} 
			 |