Bladeren bron

台州首次病程病历质控

kongwz 5 jaren geleden
bovenliggende
commit
7915c26ea1

+ 43 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/firstcourserecord/FIRC0497.java

@@ -0,0 +1,43 @@
+package com.lantone.qc.kernel.catalogue.firstcourserecord;
+
+import com.lantone.qc.kernel.catalogue.QCCatalogue;
+import com.lantone.qc.kernel.util.CatalogueUtil;
+import com.lantone.qc.kernel.util.KernelConstants;
+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.doc.FirstCourseRecordDoc;
+import com.lantone.qc.pub.model.entity.Diag;
+import com.lantone.qc.pub.model.label.DiagLabel;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @ClassName : FIRC0497
+ * @Description : 未描述发病经过
+ * @Author : 楼辉荣
+ * @Date: 2020-03-06 17:28
+ */
+@Component
+public class FIRC0497 extends QCCatalogue {
+    public void start(InputInfo inputInfo, OutputInfo outputInfo) {
+        status = "0";
+        FirstCourseRecordDoc firstCourseRecordDoc = inputInfo.getFirstCourseRecordDoc();
+        if(firstCourseRecordDoc != null){
+            Map<String, String> firstRecordMap = firstCourseRecordDoc.getStructureMap();
+            if(firstRecordMap != null){
+                String morbidity_after = firstRecordMap.get("病例特点-发病经过");
+                if(morbidity_after != null){
+                    if(CatalogueUtil.isEmpty(morbidity_after)){
+                        status = "-1";
+                    }
+                }else {
+                    status = "-1";
+                }
+            }
+            }
+        }
+    }

+ 37 - 0
kernel/src/main/java/com/lantone/qc/kernel/catalogue/firstcourserecord/FIRC0498.java

@@ -0,0 +1,37 @@
+package com.lantone.qc.kernel.catalogue.firstcourserecord;
+
+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.FirstCourseRecordDoc;
+import org.springframework.stereotype.Component;
+
+import java.util.Map;
+
+/**
+ * @ClassName : FIRC0498
+ * @Description : 未描述体格检查
+ * @Author : 楼辉荣
+ * @Date: 2020-03-06 17:28
+ */
+@Component
+public class FIRC0498 extends QCCatalogue {
+    public void start(InputInfo inputInfo, OutputInfo outputInfo) {
+        status = "0";
+        FirstCourseRecordDoc firstCourseRecordDoc = inputInfo.getFirstCourseRecordDoc();
+        if(firstCourseRecordDoc != null){
+            Map<String, String> firstRecordMap = firstCourseRecordDoc.getStructureMap();
+            if(firstRecordMap != null){
+                String morbidity_after = firstRecordMap.get("病例特点-体格检查");
+                if(morbidity_after != null){
+                    if(CatalogueUtil.isEmpty(morbidity_after)){
+                        status = "-1";
+                    }
+                }else {
+                    status = "-1";
+                }
+            }
+            }
+        }
+    }