|
@@ -4,8 +4,11 @@ import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
import com.lantone.qc.kernel.util.CatalogueUtil;
|
|
import com.lantone.qc.kernel.util.CatalogueUtil;
|
|
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 org.apache.commons.lang3.StringUtils;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
+import java.util.Map;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* @ClassName : BEH0069
|
|
* @ClassName : BEH0069
|
|
* @Description : 家族史未填写
|
|
* @Description : 家族史未填写
|
|
@@ -16,6 +19,14 @@ import org.springframework.stereotype.Component;
|
|
public class BEH0069 extends QCCatalogue {
|
|
public class BEH0069 extends QCCatalogue {
|
|
@Override
|
|
@Override
|
|
protected void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
protected void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
|
|
+ //台州结构化
|
|
|
|
+ if(inputInfo.getBeHospitalizedDoc() != null){
|
|
|
|
+ Map<String, String> structureMap = inputInfo.getBeHospitalizedDoc().getStructureMap();
|
|
|
|
+ if(StringUtils.isNotEmpty(structureMap.get("家庭成员类似病史"))){
|
|
|
|
+ status.set("0");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
if (inputInfo.getBeHospitalizedDoc() != null && inputInfo.getBeHospitalizedDoc().getFamilyLabel() != null) {
|
|
if (inputInfo.getBeHospitalizedDoc() != null && inputInfo.getBeHospitalizedDoc().getFamilyLabel() != null) {
|
|
if (!CatalogueUtil.isEmpty(inputInfo.getBeHospitalizedDoc().getFamilyLabel().getText())) {
|
|
if (!CatalogueUtil.isEmpty(inputInfo.getBeHospitalizedDoc().getFamilyLabel().getText())) {
|
|
status.set("0");
|
|
status.set("0");
|