|
@@ -0,0 +1,38 @@
|
|
|
+package com.lantone.qc.kernel.catalogue.hangzhoudiqi.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;
|
|
|
+
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * @ClassName : BEH03136
|
|
|
+ * @Description : 缺少梅毒血清学检测和脑脊液检查结果
|
|
|
+ * @Author : wsy
|
|
|
+ * @Date: 2021-07-21 19:54
|
|
|
+ */
|
|
|
+@Component
|
|
|
+public class BEH03136 extends QCCatalogue {
|
|
|
+ public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
|
+ status.set("0");
|
|
|
+ if (inputInfo.getBeHospitalizedDoc() == null) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ Map<String, String> structureMap = inputInfo.getBeHospitalizedDoc().getStructureMap();
|
|
|
+ if (structureMap == null) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ String pacs = structureMap.get("辅助检查");
|
|
|
+ if (CatalogueUtil.isEmpty(pacs)) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (!pacs.contains("脑脊液") || !pacs.contains("梅毒")) {
|
|
|
+ status.set("-1");
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|