| | |
| | | e.setDrname(d.getDrname()); |
| | | e.setManagementDoctor(d.getManagementDoctor()); |
| | | e.setManagementDoctorCode(d.getManagementDoctorCode()); |
| | | // 2026-11:deptcode/deptname 列已改名 leaveldeptcode/leaveldeptname(出院维度), |
| | | // 原 sendlimit* 四个空列复用为 hospitaldistrictcode/name(在院病区)、deptcode/name(在院科室)。 |
| | | e.setLeaveldeptcode(d.getLeaveldeptcode()); |
| | | e.setLeaveldeptname(d.getLeaveldeptname()); |
| | | // ⚠️ 这 4 列只有「出院随访」会填值(VisitSubtaskFactory 从 pat_med_inhosp 取), |
| | | // 门诊/手术/扫码/答卷等路径的草稿里仍是 null —— 与改造前这些列不写的效果一致。 |
| | | e.setDeptcode(d.getDeptcode()); |
| | | e.setDeptname(d.getDeptname()); |
| | | e.setHospitaldistrictcode(d.getHospitaldistrictcode()); |
| | | e.setHospitaldistrictname(d.getHospitaldistrictname()); |
| | | e.setLeavehospitaldistrictcode(d.getLeavehospitaldistrictcode()); |
| | | e.setLeavehospitaldistrictname(d.getLeavehospitaldistrictname()); |
| | | e.setLeaveicd10code(d.getLeaveicd10code()); |