|
@@ -961,11 +961,7 @@ public class YiZhuLuRuServer {
|
|
|
if (StringUtil.isBlank(item.getGroupNo())) {
|
|
|
errorMessage.add("没有药房请重新开。");
|
|
|
}
|
|
|
- if (item.getParentNo() != null && item.getActOrderNo() != null) {
|
|
|
- if (BigUtils.bigXiaoYu(item.getActOrderNo(), item.getParentNo())) {
|
|
|
- errorMessage.add("子医嘱的医嘱号,小于父医嘱号,无法成组。【原因如果子医嘱的医嘱号小于父医嘱,会导致打印乱码】");
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
if (ITEM.equals(item.getSerial())) {
|
|
|
List<XinZhenYzActOrder> projectDetails = project.get(item.getOrderCode());
|
|
|
// 如果这个项目下面没有费用明细,那么这就是一条口头医,口头医嘱每次只能开一个
|
|
@@ -1117,6 +1113,11 @@ public class YiZhuLuRuServer {
|
|
|
}
|
|
|
|
|
|
if (strictVerification) {
|
|
|
+ if (item.getParentNo() != null && item.getActOrderNo() != null) {
|
|
|
+ if (BigUtils.bigXiaoYu(item.getActOrderNo(), item.getParentNo())) {
|
|
|
+ errorMessage.add("子医嘱的医嘱号,小于父医嘱号,无法成组。【原因如果子医嘱的医嘱号小于父医嘱,会导致打印乱码】");
|
|
|
+ }
|
|
|
+ }
|
|
|
// 获取患者的入院时间
|
|
|
if (item.getOrderTime() == null) {
|
|
|
errorMessage.add("医嘱时间不能为空");
|