瀏覽代碼

长兴bug修改

wangyu 5 年之前
父節點
當前提交
0c98e51e0e

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

@@ -34,7 +34,7 @@ public class BEH0058 extends QCCatalogue {
         MaritalLabel maritalLabel = beHospitalizedDoc.getMaritalLabel();
         if (maritalLabel != null){
             String maritalLabelText = maritalLabel.getText();
-            if (maritalLabelText.contains("未育")){
+            if (maritalLabelText.contains("未育") || maritalLabelText.contains("未婚")){
                 status.set("0");
                 return;
             }

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

@@ -45,7 +45,7 @@ public class BEH0376 extends QCCatalogue {
         }
         //硬规则 匹配未育
         String maritalLabelText = maritalLabel.getText();
-        if (maritalLabelText.contains("未育")) {
+        if (maritalLabelText.contains("未育") || maritalLabelText.contains("未婚")) {
             status.set("0");
             return;
         }

+ 3 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/behospitalized/BEH0408.java

@@ -25,6 +25,9 @@ public class BEH0408 extends QCCatalogue {
         Map<String, String> structureMap = inputInfo.getBeHospitalizedDoc().getStructureMap();
         if(structureMap != null){
             String name = structureMap.get("联系地址");
+            if(name == null && structureMap.get("现住址") != null){
+                name = structureMap.get("现住址");
+            }
 //            String name = structureMap.get("户口地址");
             if(CatalogueUtil.isEmpty(name)){
                 status.set("-1");