소스 검색

义乌无手术史规则修改

fangqw 4 년 전
부모
커밋
029aeca218
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      kernel/src/main/java/com/lantone/qc/kernel/catalogue/yiwu/behospitalized/BEH0025.java

+ 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");
         }
     }