Pārlūkot izejas kodu

不采用补充诊断来判断规则

cb 5 mēneši atpakaļ
vecāks
revīzija
34c035580b

+ 18 - 17
kernel/src/main/java/com/lantone/qc/kernel/catalogue/behospitalized/BEH03302.java

@@ -105,23 +105,24 @@ public class BEH03302 extends QCCatalogue {
                     }
                 }
               /*  String suppleDiagLabelText = inputInfo.getBeHospitalizedDoc().getSuppleDiagLabel().getText();*/
-                DiagLabel supplediagLabel = inputInfo.getBeHospitalizedDoc().getSuppleDiagLabel();
-                //对入院记录中的修正症断进行判断是否否有诊断能匹配【胎膜早破-疾病列表】中任一疾病或是否有诊断能匹配【胎膜早破-疾病列表】中任一疾病
-                if(supplediagLabel != null) {
-                    String suppleDiagLabelText = supplediagLabel.getText();
-                    if (StringUtil.isNotBlank(suppleDiagLabelText)) {
-                        if (suppleDiagLabelText.contains("胎膜早破") || suppleDiagLabelText.contains("足月胎膜早破") || suppleDiagLabelText.contains("早产胎膜早破")) {
-                            status.set("-1");
-                            return;
-                        }
-                        Pattern patternsupple = Pattern.compile(diagregex);
-                        Matcher matchersupple = patternsupple.matcher(suppleDiagLabelText);
-                        if (matchersupple.find()) {
-                            status.set("-1");
-                            return;
-                        }
-                    }
-                }
+                //不采用补充诊断
+//                DiagLabel supplediagLabel = inputInfo.getBeHospitalizedDoc().getSuppleDiagLabel();
+//                //对入院记录中的修正症断进行判断是否否有诊断能匹配【胎膜早破-疾病列表】中任一疾病或是否有诊断能匹配【胎膜早破-疾病列表】中任一疾病
+//                if(supplediagLabel != null) {
+//                    String suppleDiagLabelText = supplediagLabel.getText();
+//                    if (StringUtil.isNotBlank(suppleDiagLabelText)) {
+//                        if (suppleDiagLabelText.contains("胎膜早破") || suppleDiagLabelText.contains("足月胎膜早破") || suppleDiagLabelText.contains("早产胎膜早破")) {
+//                            status.set("-1");
+//                            return;
+//                        }
+//                        Pattern patternsupple = Pattern.compile(diagregex);
+//                        Matcher matchersupple = patternsupple.matcher(suppleDiagLabelText);
+//                        if (matchersupple.find()) {
+//                            status.set("-1");
+//                            return;
+//                        }
+//                    }
+//                }
             }
         }