Parcourir la source

患者病历书写与性别不符(入院记录) 加入若是性别为男出现女性特征的情况下若是出现”母孕期“、”分娩“则不会触发规则

zhanghang il y a 3 ans
Parent
commit
97b89e136c

+ 6 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/behospitalized/BEH02966.java

@@ -51,6 +51,12 @@ public class BEH02966 extends QCCatalogue {
 
         for (String noMatchWord : noMatchWords) {
             if (text.contains(noMatchWord)) {
+                if(gender.contains("男")){
+                    if(noMatchWord.contains("母孕期")||noMatchWord.contains("分娩")){
+                        status.set("0");
+                        return;
+                    }
+                }
                 status.set("-1");
                 info.set(noMatchWord);
                 return;