|
|
|
@ -5,6 +5,7 @@ import com.docus.core.util.FileUtil;
|
|
|
|
|
import com.docus.core.util.Func;
|
|
|
|
|
import com.docus.core.util.ObjectUtil;
|
|
|
|
|
import com.docus.infrastructure.core.exception.BaseException;
|
|
|
|
|
import com.docus.infrastructure.core.utils.SpringUtil;
|
|
|
|
|
import com.docus.infrastructure.web.api.CommonResult;
|
|
|
|
|
import com.docus.infrastructure.web.api.ResultCode;
|
|
|
|
|
import com.docus.server.message.busservice.SdBusinessService;
|
|
|
|
@ -91,7 +92,7 @@ public class SdBusinessServiceImpl implements SdBusinessService {
|
|
|
|
|
nodeLogAddDTO.setCreaterName("电子病历提交");
|
|
|
|
|
hospitalSubmitNodeServiceApi.addLog(nodeLogAddDTO);
|
|
|
|
|
|
|
|
|
|
trInpatientOutPatient(patientIds.get(0));
|
|
|
|
|
SpringUtil.getBean(SdBusinessService.class).trInpatientOutPatient(patientIds.get(0));
|
|
|
|
|
|
|
|
|
|
if (!isDischargeAndUpdDisDate(patientIds.get(0), recordSubmitDto.getInHospIndexNo(), recordSubmitDto.getVisitNo())) {
|
|
|
|
|
throw new BaseException("此患者未出院!");
|
|
|
|
@ -171,6 +172,8 @@ public class SdBusinessServiceImpl implements SdBusinessService {
|
|
|
|
|
nodeLogAddDTO.setCreaterName("护理提交");
|
|
|
|
|
hospitalSubmitNodeServiceApi.addLog(nodeLogAddDTO);
|
|
|
|
|
|
|
|
|
|
SpringUtil.getBean(SdBusinessService.class).trInpatientOutPatient(patientIds.get(0));
|
|
|
|
|
|
|
|
|
|
if (!isDischargeAndUpdDisDate(patientIds.get(0), inHospIndexNo, visitNo)) {
|
|
|
|
|
throw new BaseException("此患者未出院!");
|
|
|
|
|
}
|
|
|
|
|