|
@@ -44,8 +44,9 @@ public class BEH0376 extends QCCatalogue {
|
|
|
)
|
|
|
.count();
|
|
|
if (count > 0
|
|
|
- || inputInfo.getBeHospitalizedDoc().getMaritalLabel().getMaritalStatus().getName().contains("未婚")
|
|
|
- || inputInfo.getBeHospitalizedDoc().getMaritalLabel() == null) {
|
|
|
+ || (inputInfo.getBeHospitalizedDoc().getMaritalLabel().getMaritalStatus() != null
|
|
|
+ && inputInfo.getBeHospitalizedDoc().getMaritalLabel().getMaritalStatus().getName().contains("未婚"))
|
|
|
+ || inputInfo.getBeHospitalizedDoc().getMaritalLabel().getText() == null) {
|
|
|
status.set("0");
|
|
|
}
|
|
|
}
|