| | |
| | | patMedOuthosp.setPatid(patid); |
| | | PatArchive patArchive = patArchiveMapper.selectPatArchiveByPatid(patid); |
| | | patMedOuthosp.setPatname(patArchive.getName()); |
| | | patMedOuthosp.setPatno(patArchive.getPatientno()); |
| | | patMedOuthosp.setDeptcode("" + externalOutHospInfo1.getKsdm()); |
| | | patMedOuthosp.setDeptname(externalOutHospInfo1.getKsmc()); |
| | | patMedOuthosp.setDiagname(externalOutHospInfo1.getZddm()); |
| | | patMedOuthosp.setIcd10code(externalOutHospInfo1.getZdmc()); |
| | | patMedOuthosp.setDiagname(externalOutHospInfo1.getZdmc()); |
| | | patMedOuthosp.setIcd10code(externalOutHospInfo1.getZddm()); |
| | | patMedOuthosp.setDrcode(externalOutHospInfo1.getYsdm().toString()); |
| | | patMedOuthosp.setDrname(externalOutHospInfo1.getYsmc()); |
| | | patMedOuthosp.setAdmitdate(externalOutHospInfo1.getJzrq()); |
| | |
| | | public Boolean getExternalLeaveHospPatientInfo30Day() { |
| | | try { |
| | | // 固定开始时间 |
| | | String fixedStartTime = "2025-03-25"; |
| | | // String fixedStartTime = "2025-03-25"; |
| | | String fixedStartTime = "2025-02-01"; |
| | | SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd"); |
| | | String today = formatter.format(new Date()); |
| | | |
| | |
| | | |
| | | try { |
| | | startCal.setTime(formatter.parse(fixedStartTime)); |
| | | endCal.setTime(formatter.parse(today)); |
| | | endCal.setTime(formatter.parse("2025-06-08")); |
| | | // endCal.setTime(formatter.parse(today)); |
| | | } catch (ParseException e) { |
| | | log.error("日期解析失败:{}", e.getMessage(), e); |
| | | return false; |