|
@ -320,7 +320,9 @@ public class RehabilitationPlanService extends BaseJpaService<RehabilitationPlan
|
|
|
|
|
|
planDO.setMedicalRecordsCode(medicalRecordsCode);
|
|
|
String patientInfoCode = planDO.getPatientInfoCode();
|
|
|
|
|
|
planDO.setStatus(3);//待分配 执行医生和科室
|
|
|
|
|
|
planDO.setTitle(planDO.getName()+"的康复计划");
|
|
|
planDO.setHealthStatusCode("2");
|
|
|
planDO.setPlanType(1);
|
|
@ -341,6 +343,11 @@ public class RehabilitationPlanService extends BaseJpaService<RehabilitationPlan
|
|
|
detail.setUpdateTime(new Date());
|
|
|
detail.setPlanId(planDO.getId());
|
|
|
detail.setFrequencyCode(frequency_code);
|
|
|
// //补充的科室和医生--有单独的分配接口
|
|
|
// detail.setDoctor(detailDO.getDoctor());
|
|
|
// detail.setDoctorName(detailDO.getDoctorName());
|
|
|
// detail.setDept(detailDO.getDept());
|
|
|
// detail.setDeptName(detailDO.getDeptName());
|
|
|
detailDOList.add(detail);
|
|
|
}
|
|
|
rehabilitationDetailDao.saveAll(detailDOList);
|