|
@@ -6,6 +6,7 @@ import com.lantone.qc.pub.model.OutputInfo;
|
|
import com.lantone.qc.pub.model.entity.General;
|
|
import com.lantone.qc.pub.model.entity.General;
|
|
import com.lantone.qc.pub.model.entity.GeneralDesc;
|
|
import com.lantone.qc.pub.model.entity.GeneralDesc;
|
|
import com.lantone.qc.pub.model.label.PresentLabel;
|
|
import com.lantone.qc.pub.model.label.PresentLabel;
|
|
|
|
+import com.lantone.qc.pub.util.StringUtil;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
@@ -25,7 +26,7 @@ public class BEH0022 extends QCCatalogue {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
PresentLabel presentLabel = inputInfo.getBeHospitalizedDoc().getPresentLabel();
|
|
PresentLabel presentLabel = inputInfo.getBeHospitalizedDoc().getPresentLabel();
|
|
- if (presentLabel == null) {
|
|
|
|
|
|
+ if (presentLabel == null || StringUtil.isBlank(presentLabel.getText())) {
|
|
status.set("0");
|
|
status.set("0");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -39,6 +40,5 @@ public class BEH0022 extends QCCatalogue {
|
|
status.set("0");
|
|
status.set("0");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|