瀏覽代碼

义乌无手术史规则修改

fangqw 4 年之前
父節點
當前提交
029aeca218

+ 4 - 2
kernel/src/main/java/com/lantone/qc/kernel/catalogue/yiwu/behospitalized/BEH0025.java

@@ -63,14 +63,16 @@ public class BEH0025 extends QCCatalogue {
         //规则硬匹配
         String pastLabelText = pastLabel.getText();
         if (pastLabelText.contains("手术") || pastLabelText.contains("详见原病历")
-                || pastLabelText.contains("体外碎石") || pastLabelText.contains("术后")) {
+                || pastLabelText.contains("体外碎石") || pastLabelText.contains("术后")
+                || pastLabelText.matches(".*行.*术.*")) {
             status.set("0");
         }
         //现病史里出现手术记录也不报
         PresentLabel presentLabel=inputInfo.getBeHospitalizedDoc().getPresentLabel();
         String presentText=presentLabel.getText();
         if(presentText.contains("手术") || presentText.contains("详见原病历")
-                || presentText.contains("体外碎石") || presentText.contains("术后")){
+                || presentText.contains("体外碎石") || presentText.contains("术后")
+                || presentText.matches(".*行.*术.*")){
             status.set("0");
         }
     }