|
@@ -7,10 +7,12 @@ import com.lantone.qc.pub.Content;
|
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
|
import com.lantone.qc.pub.util.StringUtil;
|
|
|
+import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
+import java.util.stream.Collectors;
|
|
|
|
|
|
/**
|
|
|
* @ClassName : FIRP02992
|
|
@@ -49,6 +51,7 @@ public class FIRP02992 extends QCCatalogue {
|
|
|
}
|
|
|
String regx = ";|;|,|,|、| ";
|
|
|
List<String> fpList = Lists.newArrayList(fpAllergyDrug.split(regx));
|
|
|
+ fpList = fpList.stream().filter(x -> StringUtils.isNotBlank(x) && !x.trim().equals("其它")).collect(Collectors.toList());
|
|
|
// 全部包含
|
|
|
for (String s : fpList) {
|
|
|
if (!beDrugAllergy.contains(s)) {
|