|
@@ -9,17 +9,20 @@ import com.lantone.qc.pub.model.label.ChiefLabel;
|
|
|
import com.lantone.qc.pub.util.StringUtil;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
+import java.util.Arrays;
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
/**
|
|
|
* @ClassName : BEH0006
|
|
|
* @Description :主诉症状缺少近期时间描述
|
|
|
+ * 1.张志勇提议如果主诉中包含术后不报
|
|
|
* @Author : 楼辉荣
|
|
|
* @Date: 2020-03-06 17:28
|
|
|
*/
|
|
|
@Component
|
|
|
public class BEH0006 extends QCCatalogue {
|
|
|
+ private List<String> containList = Arrays.asList("半年", "术后");
|
|
|
public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
|
// status.set("0");
|
|
|
if (inputInfo.getBeHospitalizedDoc() == null) {
|
|
@@ -32,8 +35,13 @@ public class BEH0006 extends QCCatalogue {
|
|
|
return;
|
|
|
}
|
|
|
String chiefText = chiefLabel.getText();
|
|
|
- if (StringUtil.isNotBlank(chiefText) && chiefText.contains("半年")) {
|
|
|
- status.set("0");
|
|
|
+ if (StringUtil.isNotBlank(chiefText)) {
|
|
|
+ for (String fild:containList) {
|
|
|
+ if(chiefText.contains(fild)){
|
|
|
+ status.set("0");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
} else {
|
|
|
List<PD> pds = chiefLabel.getPds();
|
|
|
if (pds != null && pds.size() > 0) {
|