| | |
| | | String zlsqdh = orderService.getHuoQuZlsqdh(order.getCardId()); |
| | | |
| | | //2.1.6.5 作废门诊检查申请 |
| | | if (null !=jcsqdh){ |
| | | AjaxResult result = controller.Outpindelexamapply(order.getCardId(), "00029", jcsqdh); |
| | | String result1 = getAjaxResult(result); |
| | | JSONObject object = getJSONObject(result1); |
| | |
| | | }else { |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | |
| | | //2.1.6.3 作废门诊检验申请 |
| | | AjaxResult ajaxResult = controller.Outpindeltestapply(order.getCardId(), "00029", jysqdh); |
| | | String result2 = getAjaxResult(ajaxResult); |
| | | JSONObject object1 = getJSONObject(result2); |
| | | String code1 = object1.getStr("ResultCode"); |
| | | |
| | | AjaxResult ajaxResult =null; |
| | | String result2 =null; |
| | | JSONObject object1 =null; |
| | | String code1 =null; |
| | | |
| | | if(null !=jysqdh){ |
| | | ajaxResult = controller.Outpindeltestapply(order.getCardId(), "00029", jysqdh); |
| | | result2 = getAjaxResult(ajaxResult); |
| | | object1 = getJSONObject(result2); |
| | | code1 = object1.getStr("ResultCode"); |
| | | if (code1.equals("0")) { |
| | | orderService.delHuoQuJysqdh(order.getCardId()); |
| | | }else { |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | //2.1.6.9 作废门诊治疗处置申请 |
| | | if(null !=zlsqdh){ |
| | | ajaxResult = controller.Outpintdelreatapply(order.getCardId(), "00029", zlsqdh); |
| | | result2 = getAjaxResult(ajaxResult); |
| | | object1 = getJSONObject(result2); |
| | |
| | | if (!code1.equals("0")){ |
| | | return false; |
| | | } |
| | | } |
| | | //2.1.3 门诊医生取消接诊 |
| | | ajaxResult = controller.Outpinunconapply(order.getCardId(), date, "00029"); |
| | | result2 = getAjaxResult(ajaxResult); |