|
@@ -1,10 +1,34 @@
|
|
package com.lantone.qc.kernel.catalogue.anesthesiarelated;
|
|
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
|
|
* @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;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|