|
@@ -254,7 +254,7 @@ public class BeiLunOperationDocTrans extends ModelDocTrans {
|
|
|
} else {
|
|
|
String recTitle = contentMap.get("recTitle").toString();
|
|
|
String recTypeId = contentMap.get("recTypeId").toString();
|
|
|
- BeiLunHtmlAnalysis beiLunHtmlAnalysis = new BeiLunPreoperativeHtmlAnalysis();
|
|
|
+ BeiLunPreoperativeHtmlAnalysis beiLunHtmlAnalysis = new BeiLunPreoperativeHtmlAnalysis();
|
|
|
Map<String, String> sourceMap = beiLunHtmlAnalysis.analysis(content, recTitle, recTypeId);
|
|
|
if (MapUtils.isNotEmpty(sourceMap)) {
|
|
|
structureMap = OrdinaryAssistant.mapKeyContrast(sourceMap, preoperativeDiscussion_keyContrasts);
|
|
@@ -262,7 +262,8 @@ public class BeiLunOperationDocTrans extends ModelDocTrans {
|
|
|
structureMap.put("病历号", contentMap.get("behospitalCode") == null ? null : contentMap.get("behospitalCode").toString());
|
|
|
}
|
|
|
}
|
|
|
- List<String> titles = Lists.newArrayList("讨论时间", "手术指征", "注意事项", "术前诊断", "医生签名", "风险及防范措施", "可替代方案", "术前准备", "参加人员");
|
|
|
+ List<String> titles = Lists.newArrayList("讨论时间", "手术指征", "注意事项", "术前诊断", "医生签名", "风险及防范措施",
|
|
|
+ "可替代方案", "术前准备", "参加人员");
|
|
|
if (structureMap.containsKey("简要病情")) {
|
|
|
String value = structureMap.get("简要病情").replaceAll("医师姓名", "").replaceAll("简要病情描述", "");
|
|
|
structureMap.put("简要病情", value);
|