|
@@ -0,0 +1,28 @@
|
|
|
+package com.lantone.qc.kernel.catalogue.hospital.shengzhouyy.deathrecord;
|
|
|
+
|
|
|
+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;
|
|
|
+
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @ClassName : DEAR0347
|
|
|
+ * @Description : 死亡记录无死亡时间
|
|
|
+ * @Author : 胡敬
|
|
|
+ * @Date: 2020-03-18 18:38
|
|
|
+ */
|
|
|
+@Component
|
|
|
+public class DEAR0347 extends QCCatalogue {
|
|
|
+ public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
|
+ status.set("0");
|
|
|
+ if (inputInfo.getDeathRecordDoc() != null && inputInfo.getDeathRecordDoc().getStructureMap() != null) {
|
|
|
+ Map<String, String> deathRecordStructureMap = inputInfo.getDeathRecordDoc().getStructureMap();
|
|
|
+ if (CatalogueUtil.isEmpty(deathRecordStructureMap.get("死亡日期"))) {
|
|
|
+ status.set("-1");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|