|
@@ -5,6 +5,7 @@ import com.lantone.qc.pub.model.InputInfo;
|
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
|
import com.lantone.qc.pub.model.doc.BeHospitalizedDoc;
|
|
|
import com.lantone.qc.pub.model.entity.ConjugalRelation;
|
|
|
+import com.lantone.qc.pub.model.label.MaritalLabel;
|
|
|
import com.lantone.qc.pub.util.StringUtil;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.stereotype.Component;
|
|
@@ -37,7 +38,12 @@ public class BEH0056 extends QCCatalogue {
|
|
|
status.set("0");
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
+ //硬规则 匹配未婚
|
|
|
+ MaritalLabel maritalLabel = beHospitalizedDoc.getMaritalLabel();
|
|
|
+ if (maritalLabel != null && maritalLabel.getText().contains("未婚")) {
|
|
|
+ status.set("0");
|
|
|
+ return;
|
|
|
+ }
|
|
|
ConjugalRelation conjugalRelation = inputInfo.getBeHospitalizedDoc().getMaritalLabel().getConjugalRelation();
|
|
|
|
|
|
if (conjugalRelation != null) {
|