Browse Source

现病史没内容现病史规则一律不触发

wangsy 4 years ago
parent
commit
79112df04c

+ 1 - 4
kernel/src/main/java/com/lantone/qc/kernel/catalogue/behospitalized/BEH0013.java

@@ -30,10 +30,7 @@ public class BEH0013 extends QCCatalogue {
         BeHospitalizedDoc beHospitalizedDoc = inputInfo.getBeHospitalizedDoc();
         //现病史
         PresentLabel presentLabel = beHospitalizedDoc.getPresentLabel();
-        //既往史
-        PastLabel pastLabel = beHospitalizedDoc.getPastLabel();
-        if ((presentLabel == null || StringUtil.isBlank(presentLabel.getText()) || "。".equals(presentLabel.getText()))
-                && (StringUtil.isBlank(pastLabel.getText()) || "。".equals(pastLabel.getText()))) {
+        if (presentLabel == null || StringUtil.isBlank(presentLabel.getText()) || "。".equals(presentLabel.getText())) {
             return;
         }
         String text = presentLabel.getText();

+ 1 - 4
kernel/src/main/java/com/lantone/qc/kernel/catalogue/behospitalized/BEH0014.java

@@ -47,10 +47,7 @@ public class BEH0014 extends QCCatalogue {
             }
         }*/
         PresentLabel presentLabel = inputInfo.getBeHospitalizedDoc().getPresentLabel();
-        //既往史
-        PastLabel pastLabel = beHospitalizedDoc.getPastLabel();
-        if ((presentLabel == null || StringUtil.isBlank(presentLabel.getText()) || "。".equals(presentLabel.getText()))
-                && (StringUtil.isBlank(pastLabel.getText()) || "。".equals(pastLabel.getText()))) {
+        if (presentLabel == null || StringUtil.isBlank(presentLabel.getText()) || "。".equals(presentLabel.getText())) {
             status.set("0");
             return;
         }