Browse Source

台州麻醉记录规则添加

hujing 5 năm trước cách đây
mục cha
commit
ff8b2b1a76

+ 34 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/anesthesiarelated/ANES0672.java

@@ -0,0 +1,34 @@
+package com.lantone.qc.kernel.catalogue.anesthesiarelated;
+
+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 com.lantone.qc.pub.model.doc.AnesthesiaRelatedDoc;
+import com.lantone.qc.pub.util.ListUtil;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @ClassName : ANES0672
+ * @Description : 麻醉记录无术前诊断
+ * @Author : 胡敬
+ * @Date: 2020-03-30 10:01
+ */
+public class ANES0672 extends QCCatalogue {
+    public void start(InputInfo inputInfo, OutputInfo outputInfo) {
+        status.set("0");
+        List<AnesthesiaRelatedDoc> anesthesiaRelatedDocs = inputInfo.getAnesthesiaRelatedDocs();
+        if (ListUtil.isEmpty(anesthesiaRelatedDocs)) {
+            return;
+        }
+        for (AnesthesiaRelatedDoc anesthesiaRelatedDoc : anesthesiaRelatedDocs) {
+            Map<String, String> anesthesiaRelatedStructureMap = anesthesiaRelatedDoc.getStructureMap();
+            if (CatalogueUtil.isEmpty(anesthesiaRelatedStructureMap.get("术前诊断"))) {
+                status.set("-1");
+                return;
+            }
+        }
+    }
+}

+ 34 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/anesthesiarelated/ANES0673.java

@@ -0,0 +1,34 @@
+package com.lantone.qc.kernel.catalogue.anesthesiarelated;
+
+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 com.lantone.qc.pub.model.doc.AnesthesiaRelatedDoc;
+import com.lantone.qc.pub.util.ListUtil;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @ClassName : ANES0673
+ * @Description : 麻醉记录无拟施手术
+ * @Author : 胡敬
+ * @Date: 2020-03-30 11:01
+ */
+public class ANES0673 extends QCCatalogue {
+    public void start(InputInfo inputInfo, OutputInfo outputInfo) {
+        status.set("0");
+        List<AnesthesiaRelatedDoc> anesthesiaRelatedDocs = inputInfo.getAnesthesiaRelatedDocs();
+        if (ListUtil.isEmpty(anesthesiaRelatedDocs)) {
+            return;
+        }
+        for (AnesthesiaRelatedDoc anesthesiaRelatedDoc : anesthesiaRelatedDocs) {
+            Map<String, String> anesthesiaRelatedStructureMap = anesthesiaRelatedDoc.getStructureMap();
+            if (CatalogueUtil.isEmpty(anesthesiaRelatedStructureMap.get("拟施手术"))) {
+                status.set("-1");
+                return;
+            }
+        }
+    }
+}

+ 34 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/anesthesiarelated/ANES0674.java

@@ -0,0 +1,34 @@
+package com.lantone.qc.kernel.catalogue.anesthesiarelated;
+
+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 com.lantone.qc.pub.model.doc.AnesthesiaRelatedDoc;
+import com.lantone.qc.pub.util.ListUtil;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @ClassName : ANES0674
+ * @Description : 麻醉记录无手术后诊断
+ * @Author : 胡敬
+ * @Date: 2020-03-30 11:05
+ */
+public class ANES0674 extends QCCatalogue {
+    public void start(InputInfo inputInfo, OutputInfo outputInfo) {
+        status.set("0");
+        List<AnesthesiaRelatedDoc> anesthesiaRelatedDocs = inputInfo.getAnesthesiaRelatedDocs();
+        if (ListUtil.isEmpty(anesthesiaRelatedDocs)) {
+            return;
+        }
+        for (AnesthesiaRelatedDoc anesthesiaRelatedDoc : anesthesiaRelatedDocs) {
+            Map<String, String> anesthesiaRelatedStructureMap = anesthesiaRelatedDoc.getStructureMap();
+            if (CatalogueUtil.isEmpty(anesthesiaRelatedStructureMap.get("手术后诊断"))) {
+                status.set("-1");
+                return;
+            }
+        }
+    }
+}

+ 34 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/anesthesiarelated/ANES0675.java

@@ -0,0 +1,34 @@
+package com.lantone.qc.kernel.catalogue.anesthesiarelated;
+
+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 com.lantone.qc.pub.model.doc.AnesthesiaRelatedDoc;
+import com.lantone.qc.pub.util.ListUtil;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @ClassName : ANES0675
+ * @Description : 麻醉记录无手术名称
+ * @Author : 胡敬
+ * @Date: 2020-03-30 11:05
+ */
+public class ANES0675 extends QCCatalogue {
+    public void start(InputInfo inputInfo, OutputInfo outputInfo) {
+        status.set("0");
+        List<AnesthesiaRelatedDoc> anesthesiaRelatedDocs = inputInfo.getAnesthesiaRelatedDocs();
+        if (ListUtil.isEmpty(anesthesiaRelatedDocs)) {
+            return;
+        }
+        for (AnesthesiaRelatedDoc anesthesiaRelatedDoc : anesthesiaRelatedDocs) {
+            Map<String, String> anesthesiaRelatedStructureMap = anesthesiaRelatedDoc.getStructureMap();
+            if (CatalogueUtil.isEmpty(anesthesiaRelatedStructureMap.get("手术名称"))) {
+                status.set("-1");
+                return;
+            }
+        }
+    }
+}

+ 34 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/anesthesiarelated/ANES0676.java

@@ -0,0 +1,34 @@
+package com.lantone.qc.kernel.catalogue.anesthesiarelated;
+
+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 com.lantone.qc.pub.model.doc.AnesthesiaRelatedDoc;
+import com.lantone.qc.pub.util.ListUtil;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @ClassName : ANES0676
+ * @Description : 麻醉记录无麻醉方法
+ * @Author : 胡敬
+ * @Date: 2020-03-30 11:05
+ */
+public class ANES0676 extends QCCatalogue {
+    public void start(InputInfo inputInfo, OutputInfo outputInfo) {
+        status.set("0");
+        List<AnesthesiaRelatedDoc> anesthesiaRelatedDocs = inputInfo.getAnesthesiaRelatedDocs();
+        if (ListUtil.isEmpty(anesthesiaRelatedDocs)) {
+            return;
+        }
+        for (AnesthesiaRelatedDoc anesthesiaRelatedDoc : anesthesiaRelatedDocs) {
+            Map<String, String> anesthesiaRelatedStructureMap = anesthesiaRelatedDoc.getStructureMap();
+            if (CatalogueUtil.isEmpty(anesthesiaRelatedStructureMap.get("麻醉方法"))) {
+                status.set("-1");
+                return;
+            }
+        }
+    }
+}

+ 34 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/anesthesiarelated/ANES0677.java

@@ -0,0 +1,34 @@
+package com.lantone.qc.kernel.catalogue.anesthesiarelated;
+
+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 com.lantone.qc.pub.model.doc.AnesthesiaRelatedDoc;
+import com.lantone.qc.pub.util.ListUtil;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @ClassName : ANES0677
+ * @Description : 麻醉记录无施麻醉者
+ * @Author : 胡敬
+ * @Date: 2020-03-30 11:05
+ */
+public class ANES0677 extends QCCatalogue {
+    public void start(InputInfo inputInfo, OutputInfo outputInfo) {
+        status.set("0");
+        List<AnesthesiaRelatedDoc> anesthesiaRelatedDocs = inputInfo.getAnesthesiaRelatedDocs();
+        if (ListUtil.isEmpty(anesthesiaRelatedDocs)) {
+            return;
+        }
+        for (AnesthesiaRelatedDoc anesthesiaRelatedDoc : anesthesiaRelatedDocs) {
+            Map<String, String> anesthesiaRelatedStructureMap = anesthesiaRelatedDoc.getStructureMap();
+            if (CatalogueUtil.isEmpty(anesthesiaRelatedStructureMap.get("施麻醉者"))) {
+                status.set("-1");
+                return;
+            }
+        }
+    }
+}

+ 34 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/anesthesiarelated/ANES0678.java

@@ -0,0 +1,34 @@
+package com.lantone.qc.kernel.catalogue.anesthesiarelated;
+
+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 com.lantone.qc.pub.model.doc.AnesthesiaRelatedDoc;
+import com.lantone.qc.pub.util.ListUtil;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @ClassName : ANES0678
+ * @Description : 麻醉记录未记录尿量
+ * @Author : 胡敬
+ * @Date: 2020-03-30 11:05
+ */
+public class ANES0678 extends QCCatalogue {
+    public void start(InputInfo inputInfo, OutputInfo outputInfo) {
+        status.set("0");
+        List<AnesthesiaRelatedDoc> anesthesiaRelatedDocs = inputInfo.getAnesthesiaRelatedDocs();
+        if (ListUtil.isEmpty(anesthesiaRelatedDocs)) {
+            return;
+        }
+        for (AnesthesiaRelatedDoc anesthesiaRelatedDoc : anesthesiaRelatedDocs) {
+            Map<String, String> anesthesiaRelatedStructureMap = anesthesiaRelatedDoc.getStructureMap();
+            if (CatalogueUtil.isEmpty(anesthesiaRelatedStructureMap.get("尿量"))) {
+                status.set("-1");
+                return;
+            }
+        }
+    }
+}

+ 28 - 4
kernel/src/main/java/com/lantone/qc/kernel/catalogue/anesthesiarelated/ANES0679.java

@@ -1,10 +1,34 @@
 package com.lantone.qc.kernel.catalogue.anesthesiarelated;
 
+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 com.lantone.qc.pub.model.doc.AnesthesiaRelatedDoc;
+import com.lantone.qc.pub.util.ListUtil;
+
+import java.util.List;
+import java.util.Map;
+
 /**
  * @ClassName : ANES0679
- * @Description : 麻醉相关
- * @Author : 楼辉荣
- * @Date: 2020-03-28 17:33
+ * @Description : 麻醉记录未记录出血量
+ * @Author : 胡敬
+ * @Date: 2020-03-30 11:05
  */
-public class ANES0679 {
+public class ANES0679 extends QCCatalogue {
+    public void start(InputInfo inputInfo, OutputInfo outputInfo) {
+        status.set("0");
+        List<AnesthesiaRelatedDoc> anesthesiaRelatedDocs = inputInfo.getAnesthesiaRelatedDocs();
+        if (ListUtil.isEmpty(anesthesiaRelatedDocs)) {
+            return;
+        }
+        for (AnesthesiaRelatedDoc anesthesiaRelatedDoc : anesthesiaRelatedDocs) {
+            Map<String, String> anesthesiaRelatedStructureMap = anesthesiaRelatedDoc.getStructureMap();
+            if (CatalogueUtil.isEmpty(anesthesiaRelatedStructureMap.get("出血量"))) {
+                status.set("-1");
+                return;
+            }
+        }
+    }
 }