|
@@ -26,11 +26,15 @@ import java.util.Set;
|
|
@Component
|
|
@Component
|
|
public class BEH0007 extends QCCatalogue {
|
|
public class BEH0007 extends QCCatalogue {
|
|
public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
-
|
|
|
|
|
|
+ if(inputInfo.getBeHospitalizedDoc() == null){
|
|
|
|
+ status.set("0");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
ChiefLabel chiefLabel = inputInfo.getBeHospitalizedDoc().getChiefLabel();
|
|
ChiefLabel chiefLabel = inputInfo.getBeHospitalizedDoc().getChiefLabel();
|
|
String chief_text = chiefLabel.getText();
|
|
String chief_text = chiefLabel.getText();
|
|
if(chief_text.contains("检查") || chief_text.contains("术后") || chief_text.contains("药物")){
|
|
if(chief_text.contains("检查") || chief_text.contains("术后") || chief_text.contains("药物")){
|
|
status.set("0");
|
|
status.set("0");
|
|
|
|
+ return;
|
|
}else {
|
|
}else {
|
|
List<Clinical> clinicals = chiefLabel.getClinicals();
|
|
List<Clinical> clinicals = chiefLabel.getClinicals();
|
|
if (clinicals.size() > 0) {
|
|
if (clinicals.size() > 0) {
|