|
@@ -49,7 +49,7 @@ public class YiWuBeHospitalizedDocTrans extends ModelDocTrans {
|
|
|
} else {
|
|
|
Map<String, String> sourceMap = YiWuXmlUtil.xmlToMap(content);
|
|
|
sourceMap.put("mode_id", ModuleMappingUtil.getDeptModuleId(modeId));
|
|
|
- List<String> titles = Lists.newArrayList("妇科检查","产科检查","实验室","初步诊断","修正诊断","补充诊断","医师签名","日 期");
|
|
|
+ List<String> titles = Lists.newArrayList("个人史","妇科检查","产科检查","实验室","初步诊断","修正诊断","补充诊断","医师签名","日 期");
|
|
|
String text = sourceMap.get("原始文本");
|
|
|
List<String> sortTitles = CommonAnalysisUtil.sortTitles(titles, text);
|
|
|
CommonAnalysisUtil.cutByTitles(text, sortTitles, 0, sourceMap);
|
|
@@ -114,6 +114,11 @@ public class YiWuBeHospitalizedDocTrans extends ModelDocTrans {
|
|
|
replaceAll(":","");
|
|
|
structureMap.put("初步诊断",value);
|
|
|
}
|
|
|
+ //产科入院记录个人史处理
|
|
|
+ if(structureMap.containsKey("个人史")){
|
|
|
+ String value=structureMap.get("个人史").replaceAll("月经史:","");
|
|
|
+ structureMap.put("初步诊断",value);
|
|
|
+ }
|
|
|
OrdinaryAssistant.removeBlank(structureMap);
|
|
|
}
|
|
|
/*if (StringUtils.isEmpty(structureMap.get("入院时间")) && StringUtils.isNotEmpty(structureMap.get("入病房时间"))) {
|