|
@@ -1,20 +1,29 @@
|
|
package com.lantone.qc.kernel.catalogue.firstpagerecord;
|
|
package com.lantone.qc.kernel.catalogue.firstpagerecord;
|
|
|
|
|
|
import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
|
|
+import com.lantone.qc.pub.Content;
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
import com.lantone.qc.pub.model.InputInfo;
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
import com.lantone.qc.pub.model.OutputInfo;
|
|
|
|
+import com.lantone.qc.pub.util.StringUtil;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @ClassName : CLI0001
|
|
|
|
- * @Description : 无输血/血制品病程记录
|
|
|
|
|
|
+ * @ClassName : FIRP0157
|
|
|
|
+ * @Description : 患者姓名未填写
|
|
* @Author : 楼辉荣
|
|
* @Author : 楼辉荣
|
|
* @Date: 2020-03-06 17:28
|
|
* @Date: 2020-03-06 17:28
|
|
*/
|
|
*/
|
|
@Component
|
|
@Component
|
|
public class FIRP0157 extends QCCatalogue {
|
|
public class FIRP0157 extends QCCatalogue {
|
|
public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
|
|
+ if (inputInfo.getFirstPageRecordDoc() != null && inputInfo.getFirstPageRecordDoc().getStructureMap() != null) {
|
|
|
|
+ Map<String, String> firstpageStructureMap = inputInfo.getFirstPageRecordDoc().getStructureMap();
|
|
|
|
+ String name = firstpageStructureMap.get(Content.name);
|
|
|
|
+ if (StringUtil.isNotBlank(name)){
|
|
|
|
+ status = "0";
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|