|
@@ -16,8 +16,10 @@ import org.springframework.stereotype.Component;
|
|
|
public class BEH0079 extends QCCatalogue {
|
|
|
@Override
|
|
|
protected void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
|
- if (CatalogueUtil.isEmpty(inputInfo.getBeHospitalizedDoc().getVitalLabelSpecial().getText())) {
|
|
|
- status = "0";
|
|
|
+ if (inputInfo.getBeHospitalizedDoc() != null && inputInfo.getBeHospitalizedDoc().getVitalLabelSpecial() != null) {
|
|
|
+ if (CatalogueUtil.isEmpty(inputInfo.getBeHospitalizedDoc().getVitalLabelSpecial().getText())) {
|
|
|
+ status = "0";
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|