|
@@ -50,7 +50,8 @@ public class BEH0014 extends QCCatalogue {
|
|
|
PresentLabel presentLabel = inputInfo.getBeHospitalizedDoc().getPresentLabel();
|
|
|
//既往史
|
|
|
PastLabel pastLabel = beHospitalizedDoc.getPastLabel();
|
|
|
- if ((presentLabel == null || StringUtil.isBlank(presentLabel.getText())) && StringUtil.isBlank(pastLabel.getText())) {
|
|
|
+ if ((presentLabel == null || StringUtil.isBlank(presentLabel.getText()) || "。".equals(presentLabel.getText()))
|
|
|
+ && (StringUtil.isBlank(pastLabel.getText()) || "。".equals(pastLabel.getText()))) {
|
|
|
status.set("0");
|
|
|
return;
|
|
|
}
|
|
@@ -65,10 +66,6 @@ public class BEH0014 extends QCCatalogue {
|
|
|
}
|
|
|
//硬规则匹配 前30个字有"体检"或"发现"或"检查"(containList)字样
|
|
|
String present = presentLabel.getText();
|
|
|
- if("。".equals(present)){
|
|
|
- status.set("0");
|
|
|
- return;
|
|
|
- }
|
|
|
if (StringUtils.isNotEmpty(present)) {
|
|
|
if (present.length() > 30) {
|
|
|
present = present.substring(0, 30);
|