Browse Source

入院记录规则更新

kongwz 5 years ago
parent
commit
7cec392921

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

@@ -28,7 +28,7 @@ public class BEH0014 extends QCCatalogue {
             Cause cause = clinical.getCause();
             if(cause == null){
                 int causeIndex = inputInfo.getBeHospitalizedDoc().getPresentLabel().getText().indexOf("因");
-                if (causeIndex < 15) {
+                if (causeIndex < 15 && causeIndex > -1) {
                     status.set("0");
                 } else {
                     info.set(clinicalName);

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

@@ -23,7 +23,7 @@ public class BEH0442 extends QCCatalogue {
         BeHospitalizedDoc beHospitalizedDoc = inputInfo.getBeHospitalizedDoc();
         if(beHospitalizedDoc != null && beHospitalizedDoc.getPresentLabel() != null){
             String text = beHospitalizedDoc.getPresentLabel().getText();
-            if(text != null && (text.contains("便") || text.contains("尿"))){
+            if(text != null && (text.contains("便") || text.contains("血尿") || text.contains("多尿"))){
                 return;
             }else {
                 status.set("-1");