Browse Source

北仑子女数量情况未描述增加规则匹配

wangsy 4 years ago
parent
commit
98e4775f57

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

@@ -53,7 +53,9 @@ public class BEH0058 extends QCCatalogue {
             boolean flag = maritalText.matches(regex);
             regex = ".*\\d+-\\d+-\\d+-[1-9].*";
             boolean matches = maritalText.matches(regex);
-            if (flag || matches) {
+            regex = ".*\\d+,\\d+,\\d+,[1-9].*|.*\\d个.*";
+            boolean isComma = maritalText.matches(regex);
+            if (flag || matches || isComma) {
                 status.set("0");
                 return;
             }