|
@@ -4,6 +4,7 @@ import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
import com.lantone.qc.pub.model.entity.Contact;
|
|
import com.lantone.qc.pub.model.entity.Contact;
|
|
|
|
+import com.lantone.qc.pub.model.label.PastLabel;
|
|
import com.lantone.qc.pub.model.label.PersonalLabel;
|
|
import com.lantone.qc.pub.model.label.PersonalLabel;
|
|
import com.lantone.qc.pub.util.StringUtil;
|
|
import com.lantone.qc.pub.util.StringUtil;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
@@ -45,6 +46,15 @@ public class BEH0048 extends QCCatalogue {
|
|
if (contact != null && StringUtil.isNotBlank(contact.getName())) {
|
|
if (contact != null && StringUtil.isNotBlank(contact.getName())) {
|
|
status.set("0");
|
|
status.set("0");
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ PastLabel pastLabel = inputInfo.getBeHospitalizedDoc().getPastLabel();
|
|
|
|
+ if(pastLabel != null && StringUtil.isNotBlank(pastLabel.getText())){
|
|
|
|
+ String pastLabelText = pastLabel.getText();
|
|
|
|
+ if(pastLabelText.contains("放射") || pastLabelText.contains("粉尘") || pastLabelText.contains("毒物")){
|
|
|
|
+ status.set("0");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|