| | |
| | | serviceSubtask.setNurseName(patMedInhospList.get(0).getNurseName()); |
| | | serviceSubtask.setNurseId(patMedInhospList.get(0).getNurseId()); |
| | | serviceSubtask.setInhospid(patMedInhospList.get(0).getInhospid()); |
| | | serviceSubtask.setCampusid(patMedInhospList.get(0).getCampusid()); |
| | | serviceSubtask.setServiceType("6"); |
| | | } else if (CollectionUtils.isNotEmpty(patMedOuthosps)) { |
| | | serviceSubtask.setHospType("1"); |
| | |
| | | serviceSubtask.setDeptcode(patMedOuthosps.get(0).getDeptcode()); |
| | | serviceSubtask.setDrname(patMedOuthosps.get(0).getDrname()); |
| | | serviceSubtask.setDrcode(patMedOuthosps.get(0).getDrcode()); |
| | | serviceSubtask.setCampusid(patMedOuthosps.get(0).getCampusid()); |
| | | serviceSubtask.setServiceType("14"); |
| | | } |
| | | if (!Objects.isNull(patArchive)) { |
| | |
| | | serviceSubtask.setSfzh(patArchive.getIdcardno()); |
| | | serviceSubtask.setAddr(patArchive.getPlaceOfResidence()); |
| | | serviceSubtask.setOrgid(patArchive.getOrgid()); |
| | | // 院区兜底:住院/门急诊记录的院区在本库常为空,用患者档案的院区补上, |
| | | // 否则统计接口(@AddOrgId 按登录用户院区过滤 service_subtask.campusid)会把这些子任务整批丢掉 |
| | | if (StringUtils.isEmpty(serviceSubtask.getCampusid())) { |
| | | serviceSubtask.setCampusid(patArchive.getCampusid()); |
| | | } |
| | | } |
| | | if (StringUtils.isNotEmpty(dealDept)) { |
| | | //投诉建议的处理部门 |