|
@@ -0,0 +1,37 @@
|
|
|
+package com.lantone.qc.kernel.catalogue.behospitalized;
|
|
|
+
|
|
|
+import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
|
+import com.lantone.qc.kernel.util.RedisUtil;
|
|
|
+import com.lantone.qc.pub.model.InputInfo;
|
|
|
+import com.lantone.qc.pub.model.OutputInfo;
|
|
|
+import com.lantone.qc.pub.model.entity.Clinical;
|
|
|
+import com.lantone.qc.pub.model.entity.Degree;
|
|
|
+import com.lantone.qc.pub.model.entity.Modification;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * @ClassName : BEH0446
|
|
|
+ * @Description : 现病史症状缺少演变情况
|
|
|
+ * @Author : 楼辉荣
|
|
|
+ * @Date: 2020-03-06 17:28
|
|
|
+ */
|
|
|
+@Component
|
|
|
+public class BEH0446 extends QCCatalogue {
|
|
|
+ public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
|
+ List<Clinical> clinicals = inputInfo.getBeHospitalizedDoc().getPresentLabel().getClinicals();
|
|
|
+ if(clinicals.size()>0){
|
|
|
+ Clinical clinical = clinicals.get(0);
|
|
|
+ Degree degree = clinical.getDegree();
|
|
|
+ Modification modification = clinical.getModification();
|
|
|
+ if(degree == null && modification ==null){
|
|
|
+ info = clinical.getName();
|
|
|
+ }else {
|
|
|
+ status = "0";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|