소스 검색

1.现病史入院途径如果模型没有提出(不管有没有写门急诊),就不判断入院途径不一致这一条规则

hujing 5 년 전
부모
커밋
949dd0917a
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      kernel/src/main/java/com/lantone/qc/kernel/catalogue/firstpagerecord/FIRP0169.java

+ 4 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/firstpagerecord/FIRP0169.java

@@ -6,6 +6,7 @@ import com.lantone.qc.pub.Content;
 import com.lantone.qc.pub.model.InputInfo;
 import com.lantone.qc.pub.model.OutputInfo;
 import com.lantone.qc.pub.model.entity.BeHospitalizedWay;
+import com.lantone.qc.pub.util.StringUtil;
 import org.springframework.stereotype.Component;
 
 import java.util.Map;
@@ -29,6 +30,9 @@ public class FIRP0169 extends QCCatalogue {
                 return;
             }
             String beHospitalizedWayStr = beHospitalizedWay.getName();
+            if (StringUtil.isBlank(beHospitalizedWayStr)){
+                return;
+            }
             if (!CatalogueUtil.compareToken(admitPath, beHospitalizedWayStr)) {
                 status.set("-1");
             }