| | |
| | | public AjaxResult Outpincreateapply (TjCustomer customer) { |
| | | Map<String, Object> map = new HashMap<> (); |
| | | if (null != customer.getPationId () && !customer.getPationId().equals("0")) { |
| | | map.put ("pationid", customer.getPationId ()); |
| | | map.put ("Pationid", customer.getPationId ()); |
| | | } else { |
| | | map.put ("pationid", null); |
| | | map.put ("Pationid", null); |
| | | } |
| | | map.put ("brxm", customer.getCusName ()); |
| | | map.put ("brxb", customer.getCusSex ()); |
| | | Long cusSex = customer.getCusSex(); |
| | | if(cusSex==0L){ |
| | | map.put ("brxb",1); |
| | | }else if(cusSex==1L){ |
| | | map.put ("brxb",2); |
| | | }else { |
| | | map.put ("brxb",9); |
| | | } |
| | | map.put ("csrq", DateUtil.format(customer.getCusBrithday(),"yyyy-MM-dd")); |
| | | map.put ("brnl", customer.getAge ()); |
| | | map.put ("brnldw", customer.getAgeUnit ()); |
| | |
| | | Map<String, Object> map = new HashMap<> (); |
| | | map.put ("his_registration_id", hisRegistrationId); |
| | | map.put ("czybm", czybm); |
| | | map.put ("zflxbm", sqdh); |
| | | map.put ("sqdh", sqdh); |
| | | String post = HttpClientUtils.sendPost (HIS_URL+"Outpindeltestapply", map); |
| | | return AjaxResult.success ().put ("data", post); |
| | | } |
| | |
| | | Map<String, Object> map = new HashMap<> (); |
| | | map.put ("his_registration_id", hisRegistrationId); |
| | | map.put ("czybm", czybm); |
| | | map.put ("zflxbm", sqdh); |
| | | map.put ("sqdh", sqdh); |
| | | String post = HttpClientUtils.sendPost (HIS_URL+"Outpindelexamapply", map); |
| | | return AjaxResult.success ().put ("data", post); |
| | | } |
| | |
| | | Map<String, Object> map = new HashMap<> (); |
| | | map.put ("his_registration_id", hisRegistrationId); |
| | | map.put ("czybm", czybm); |
| | | map.put ("zflxbm", sqdh); |
| | | map.put ("sqdh", sqdh); |
| | | String post = HttpClientUtils.sendPost (HIS_URL+"Outpindelmedapply", map); |
| | | return AjaxResult.success ().put ("data", post); |
| | | } |
| | |
| | | Map<String, Object> map = new HashMap<> (); |
| | | map.put ("his_registration_id", hisRegistrationId); |
| | | map.put ("czybm", czybm); |
| | | map.put ("zflxbm", sqdh); |
| | | map.put ("sqdh", sqdh); |
| | | String post = HttpClientUtils.sendPost (HIS_URL+"Outpintdelreatapply", map); |
| | | return AjaxResult.success ().put ("data", post); |
| | | } |
| | |
| | | // map.put ("pationid", pationid); |
| | | // map.put ("pagecount", pagecount); |
| | | // map.put ("page", page); |
| | | |
| | | String post = HttpClientUtils.sendPost (HIS_URL+"Getlabreportinfo", map); |
| | | return AjaxResult.success ().put ("data", post); |
| | | } |
| | |
| | | return AjaxResult.success ().put ("data", post); |
| | | } |
| | | |
| | | // @ApiOperation(value = "2.4.3 获取检验结果记录信息") |
| | | public AjaxResult Getlabdetailinfo (Map<String ,Object> map) { |
| | | String post = HttpClientUtils.sendPost (HIS_URL+"Getlabdetailinfo", map); |
| | | return AjaxResult.success ().put ("data", post); |