|
@@ -7,6 +7,11 @@ import com.lantone.qc.pub.model.label.PastLabel;
|
|
import com.lantone.qc.pub.util.StringUtil;
|
|
import com.lantone.qc.pub.util.StringUtil;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
+import java.util.ArrayList;
|
|
|
|
+import java.util.Arrays;
|
|
|
|
+import java.util.List;
|
|
|
|
+import java.util.Map;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* @Description: 既往史未填写
|
|
* @Description: 既往史未填写
|
|
* @author: rengb
|
|
* @author: rengb
|
|
@@ -21,6 +26,15 @@ public class BEH0400 extends QCCatalogue {
|
|
status.set("0");
|
|
status.set("0");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ List<String> Str = Arrays.asList("咳嗽气喘史","胸闷心悸史","腹痛腹泻史","多饮多尿史","浮肿少尿史","尿频尿痛史","抽搐史","出血史","过敏史","药物过敏史","传染病史","外伤手术史","输血史","重大疾病史和治疗史");
|
|
|
|
+ Map<String, String> structureMap = inputInfo.getBeHospitalizedDoc().getStructureMap();
|
|
|
|
+ for(String s : Str){
|
|
|
|
+ if(structureMap!=null &&structureMap.containsKey(s)){
|
|
|
|
+ status.set("0");
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
PastLabel pastLabel = inputInfo.getBeHospitalizedDoc().getPastLabel();
|
|
PastLabel pastLabel = inputInfo.getBeHospitalizedDoc().getPastLabel();
|
|
if (pastLabel != null && StringUtil.isNotBlank(pastLabel.getText())) {
|
|
if (pastLabel != null && StringUtil.isNotBlank(pastLabel.getText())) {
|
|
status.set("0");
|
|
status.set("0");
|