|
@@ -15,6 +15,7 @@ import com.lantone.qc.pub.util.StringUtil;
|
|
import com.lantone.qc.trans.ModelDocTrans;
|
|
import com.lantone.qc.trans.ModelDocTrans;
|
|
import com.lantone.qc.trans.comsis.CommonAnalysisUtil;
|
|
import com.lantone.qc.trans.comsis.CommonAnalysisUtil;
|
|
import com.lantone.qc.trans.comsis.OrdinaryAssistant;
|
|
import com.lantone.qc.trans.comsis.OrdinaryAssistant;
|
|
|
|
+import com.lantone.qc.trans.yiwu.enums.FamousFamilyEnum;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
@@ -119,6 +120,13 @@ public class YiWuBeHospitalizedDocTrans extends ModelDocTrans {
|
|
String value = structureMap.get("姓名").split(" ")[0];
|
|
String value = structureMap.get("姓名").split(" ")[0];
|
|
structureMap.put("姓名", value);
|
|
structureMap.put("姓名", value);
|
|
}
|
|
}
|
|
|
|
+ //处理民族是数字的情况
|
|
|
|
+ if(structureMap.containsKey("民族")){
|
|
|
|
+ String value= FamousFamilyEnum.getName(structureMap.get("民族"));
|
|
|
|
+ if(StringUtil.isNotEmpty(value)){
|
|
|
|
+ structureMap.put("民族", value);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
//如果有入院时间,优先使用
|
|
//如果有入院时间,优先使用
|
|
addKeyMapping(structureMap, "入院时间", "入病房时间");
|
|
addKeyMapping(structureMap, "入院时间", "入病房时间");
|
|
//如果有职业,优先使用
|
|
//如果有职业,优先使用
|