Browse Source

义乌手术史未描述规则修改

fangqw 4 years ago
parent
commit
49a479bafc

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

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