瀏覽代碼

1.基类修改
2.添加月经史未填写

hujing 5 年之前
父節點
當前提交
55c4910cf1

+ 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 03: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);
+        }
+    }
+}