|
@@ -1068,8 +1068,8 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
|
|
|
if (mzPrescriptionVo.getIcdText() != null && mzPrescriptionVo.getIcdText().length() > 2000) {
|
|
|
throw new MzException("标准诊断长度超过最大值,请删除部分诊断,您可以在初步诊断继续填其他写诊断!");
|
|
|
}
|
|
|
- if (realIcdText == null && (mzPrescriptionVo.getMzBlRecord().getTentativeDiagnosis() == null || StringUtils.isBlank(mzPrescriptionVo.getMzBlRecord().getTentativeDiagnosis()))) {
|
|
|
- throw new MzException("诊断和初步诊断不能同时为空!");
|
|
|
+ if (realIcdText == null) {
|
|
|
+ throw new MzException("标准诊断不能为空!");
|
|
|
}
|
|
|
if (mzPrescriptionVo.getMzYjReqList() != null && mzPrescriptionVo.getMzYjReqList().size() > 0) {
|
|
|
if (mzPrescriptionVo.getMzBlRecord().getEmrChiefComplaint() == null || StringUtils.isBlank(mzPrescriptionVo.getMzBlRecord().getEmrChiefComplaint())) {
|