zhoutg 5 лет назад
Родитель
Сommit
614aac5d37

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

@@ -38,7 +38,9 @@ public class BEH0449 extends QCCatalogue {
         BeHospitalizedDoc beHospitalizedDoc = inputInfo.getBeHospitalizedDoc();
         String chief_text = beHospitalizedDoc.getChiefLabel().getText();
         if (chief_text.contains("检查") || chief_text.contains("术后") || chief_text.contains("药物")
-                || chief_text.contains("发现")) {
+                || chief_text.contains("发现") || chief_text.contains("体检") || chief_text.contains("确诊")
+                || chief_text.contains("复查") || chief_text.contains("诊断")
+        ) {
             status.set("0");
             return;
         } else {

+ 5 - 5
kernel/src/main/java/com/lantone/qc/kernel/catalogue/deathrecord/DEAR0340.java

@@ -4,7 +4,6 @@ import com.lantone.qc.kernel.catalogue.QCCatalogue;
 import com.lantone.qc.kernel.util.CatalogueUtil;
 import com.lantone.qc.pub.model.InputInfo;
 import com.lantone.qc.pub.model.OutputInfo;
-import org.apache.commons.lang3.StringUtils;
 import org.springframework.stereotype.Component;
 
 import java.util.Map;
@@ -21,10 +20,11 @@ public class DEAR0340 extends QCCatalogue {
         status.set("0");
         if (inputInfo.getDeathRecordDoc() != null && inputInfo.getDeathRecordDoc().getStructureMap() != null) {
             Map<String, String> deathRecordStructureMap = inputInfo.getDeathRecordDoc().getStructureMap();
-            if(StringUtils.isBlank(deathRecordStructureMap.get("主诉"))){
-                status.set("-1");
-                return;
-            }
+            // 与任燕青确认,统一只需要判断入院情况,
+            // if(StringUtils.isBlank(deathRecordStructureMap.get("主诉"))){
+            //     status.set("-1");
+            //     return;
+            // }
             if (CatalogueUtil.isEmpty(deathRecordStructureMap.get("入院情况"))) {
                 status.set("-1");
             }