Browse Source

Merge remote-tracking branch 'origin/master'

rengb 5 years ago
parent
commit
22a85108b5

+ 1 - 1
kernel/src/main/java/com/lantone/qc/kernel/catalogue/QCCatalogue.java

@@ -15,7 +15,7 @@ import java.util.Map;
  */
 public class QCCatalogue {
 
-    public String status = "-1";
+    protected String status = "-1";
     protected Map<String, String> resultDetail;
 
     public QCCatalogue() {

+ 24 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/behospitalized/BEH0059.java

@@ -0,0 +1,24 @@
+package com.lantone.qc.kernel.catalogue.behospitalized;
+
+import com.lantone.qc.kernel.catalogue.QCCatalogue;
+import com.lantone.qc.kernel.util.CatalogueUtil;
+import com.lantone.qc.pub.model.InputInfo;
+import com.lantone.qc.pub.model.OutputInfo;
+import org.springframework.stereotype.Component;
+
+/**
+ * @ClassName : BEH0059
+ * @Description : 月经史未填写
+ * @Author : 胡敬
+ * @Date: 2020-03-10 10:10
+ */
+@Component
+public class BEH0059 extends QCCatalogue {
+    @Override
+    protected void start(InputInfo inputInfo, OutputInfo outputInfo) {
+        if (CatalogueUtil.isEmpty(inputInfo.getBeHospitalizedDoc().getMenstrualLabel().getText())) {
+            status = "0";
+            resultDetail.put("status", status);
+        }
+    }
+}

+ 24 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/behospitalized/BEH0069.java

@@ -0,0 +1,24 @@
+package com.lantone.qc.kernel.catalogue.behospitalized;
+
+import com.lantone.qc.kernel.catalogue.QCCatalogue;
+import com.lantone.qc.kernel.util.CatalogueUtil;
+import com.lantone.qc.pub.model.InputInfo;
+import com.lantone.qc.pub.model.OutputInfo;
+import org.springframework.stereotype.Component;
+
+/**
+ * @ClassName : BEH0069
+ * @Description : 家族史未填写
+ * @Author : 胡敬
+ * @Date: 2020-03-10 15:08
+ */
+@Component
+public class BEH0069 extends QCCatalogue {
+    @Override
+    protected void start(InputInfo inputInfo, OutputInfo outputInfo) {
+        if (CatalogueUtil.isEmpty(inputInfo.getBeHospitalizedDoc().getFamilyLabel().getText())) {
+            status = "0";
+            resultDetail.put("status", status);
+        }
+    }
+}

+ 24 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/behospitalized/BEH0076.java

@@ -0,0 +1,24 @@
+package com.lantone.qc.kernel.catalogue.behospitalized;
+
+import com.lantone.qc.kernel.catalogue.QCCatalogue;
+import com.lantone.qc.kernel.util.CatalogueUtil;
+import com.lantone.qc.pub.model.InputInfo;
+import com.lantone.qc.pub.model.OutputInfo;
+import org.springframework.stereotype.Component;
+
+/**
+ * @ClassName : BEH0076
+ * @Description : 体格检查未填写
+ * @Author : 胡敬
+ * @Date: 2020-03-10 15:10
+ */
+@Component
+public class BEH0076 extends QCCatalogue {
+    @Override
+    protected void start(InputInfo inputInfo, OutputInfo outputInfo) {
+        if (CatalogueUtil.isEmpty(inputInfo.getBeHospitalizedDoc().getVitalLabel().getText())) {
+            status = "0";
+            resultDetail.put("status", status);
+        }
+    }
+}

+ 24 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/behospitalized/BEH0079.java

@@ -0,0 +1,24 @@
+package com.lantone.qc.kernel.catalogue.behospitalized;
+
+import com.lantone.qc.kernel.catalogue.QCCatalogue;
+import com.lantone.qc.kernel.util.CatalogueUtil;
+import com.lantone.qc.pub.model.InputInfo;
+import com.lantone.qc.pub.model.OutputInfo;
+import org.springframework.stereotype.Component;
+
+/**
+ * @ClassName : BEH0079
+ * @Description : 专科检查未填写
+ * @Author : 胡敬
+ * @Date: 2020-03-10 15:12
+ */
+@Component
+public class BEH0079 extends QCCatalogue {
+    @Override
+    protected void start(InputInfo inputInfo, OutputInfo outputInfo) {
+        if (CatalogueUtil.isEmpty(inputInfo.getBeHospitalizedDoc().getVitalLabelSpecial().getText())) {
+            status = "0";
+            resultDetail.put("status", status);
+        }
+    }
+}