|
@@ -4,6 +4,7 @@ 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.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import java.util.Map;
|
|
@@ -20,6 +21,10 @@ public class DEAR0340 extends QCCatalogue {
|
|
|
status.set("0");
|
|
|
if (inputInfo.getDeathRecordDoc() != null && inputInfo.getDeathRecordDoc().getStructureMap() != null) {
|
|
|
Map<String, String> deathRecordStructureMap = inputInfo.getDeathRecordDoc().getStructureMap();
|
|
|
+ if(StringUtils.isBlank(deathRecordStructureMap.get("主诉"))){
|
|
|
+ status.set("-1");
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (CatalogueUtil.isEmpty(deathRecordStructureMap.get("入院情况"))) {
|
|
|
status.set("-1");
|
|
|
}
|