@@ -22,8 +22,7 @@ import java.util.List;
public class BEH0013 extends QCCatalogue {
public void start(InputInfo inputInfo, OutputInfo outputInfo) {
status.set("0");
- if (inputInfo.getBeHospitalizedDoc() == null
- || StringUtil.isBlank(inputInfo.getBeHospitalizedDoc().getChiefLabel().getText())) {
+ if (inputInfo.getBeHospitalizedDoc() == null) {
return;
}
PresentLabel presentLabel = inputInfo.getBeHospitalizedDoc().getPresentLabel();
@@ -35,6 +34,8 @@ public class BEH0013 extends QCCatalogue {
if (text.contains("无") || text.contains("否认")) {
+ } else {
+ return;
List<Clinical> clinicalNegative = new ArrayList<>();
List<Clinical> clinicals = presentLabel.getClinicals();
@@ -28,8 +28,7 @@ public class BEH0014 extends QCCatalogue {
, "药物", "误服", "查", "撞", "伤", "月经", "暴力", "超", "术");
@@ -45,7 +44,7 @@ public class BEH0014 extends QCCatalogue {
}*/
- if (presentLabel == null) {
+ if (presentLabel == null || StringUtil.isBlank(presentLabel.getText())) {