Browse Source

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

hujing 5 years ago
parent
commit
949dd0917a

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