| | |
| | | Integer num = 0; |
| | | |
| | | //景宁 存在相同诊断的门诊记录则新增再次随访,否则新增随访 |
| | | if(patMedOuthosp.getOrgid().equals("47255004333112711A1001")){ |
| | | if(ObjectUtils.isNotEmpty(patMedOuthosp.getOrgid()) && |
| | | patMedOuthosp.getOrgid().equals("47255004333112711A1001")){ |
| | | PatMedOuthosp patMedOuthospVo = new PatMedOuthosp(); |
| | | List<PatMedOuthosp> patMedOuthosps = new ArrayList<>(); |
| | | patMedOuthospVo.setOrgid(patMedOuthosp.getOrgid()); |
| | |
| | | serviceSubtaskEntity0.setSendstates(new ArrayList<>(Arrays.asList(1L, 2L, 3L, 7L))); |
| | | serviceSubtaskEntity0.setPatid(patid); |
| | | //景宁根据诊断再次随访 |
| | | if(patMedOuthosp.getOrgid().equals("47255004333112711A1001") && !CollectionUtils.isEmpty(inhospids)){ |
| | | if(ObjectUtils.isNotEmpty(patMedOuthosp.getOrgid()) && |
| | | patMedOuthosp.getOrgid().equals("47255004333112711A1001") && !CollectionUtils.isEmpty(inhospids)){ |
| | | serviceSubtaskEntity0.setInhospids(inhospids); |
| | | }else { |
| | | serviceSubtaskEntity0.setDeptcode(deptcode); |