|
@@ -41,14 +41,14 @@ public class YiWuRescueDocTrans extends ModelDocTrans {
|
|
sourceMap.put("mode_id", ModuleMappingUtil.getDeptModuleId(modeId));
|
|
sourceMap.put("mode_id", ModuleMappingUtil.getDeptModuleId(modeId));
|
|
sourceMap.put("mode_id=" + contentMap.get("modeId").toString(), "");
|
|
sourceMap.put("mode_id=" + contentMap.get("modeId").toString(), "");
|
|
sourceMap.put("rec_title=" + contentMap.get("recTitle").toString(), "");
|
|
sourceMap.put("rec_title=" + contentMap.get("recTitle").toString(), "");
|
|
- structureMap = OrdinaryAssistant.mapKeyContrast(sourceMap, keyContrasts, modeId);
|
|
|
|
- if (structureMap.containsKey("原始文本")) {
|
|
|
|
- String originalText = structureMap.get("原始文本");
|
|
|
|
|
|
+ if (sourceMap.containsKey("原始文本")) {
|
|
|
|
+ String originalText = sourceMap.get("原始文本");
|
|
List<String> titles = Lists.newArrayList("抢救记录","抢救实施的时间及措施", "抢救后的状况", "参加抢救人员姓名及专业技术职称", "医师签名");
|
|
List<String> titles = Lists.newArrayList("抢救记录","抢救实施的时间及措施", "抢救后的状况", "参加抢救人员姓名及专业技术职称", "医师签名");
|
|
- CommonAnalysisUtil.cutByTitlesNoColon(originalText, titles, 0, structureMap);
|
|
|
|
- if (structureMap.containsKey("抢救措施") && structureMap.containsKey("抢救实施的时间及措施")) {
|
|
|
|
- structureMap.put("抢救措施", structureMap.get("抢救措施").replace(structureMap.get("抢救实施的时间及措施"), ""));
|
|
|
|
- }
|
|
|
|
|
|
+ CommonAnalysisUtil.cutByTitlesNoColon(originalText, titles, 0, sourceMap);
|
|
|
|
+ }
|
|
|
|
+ structureMap = OrdinaryAssistant.mapKeyContrast(sourceMap, keyContrasts, modeId);
|
|
|
|
+ if (structureMap.containsKey("抢救措施") && structureMap.containsKey("抢救实施的时间及措施")) {
|
|
|
|
+ structureMap.put("抢救措施", structureMap.get("抢救措施").replace(structureMap.get("抢救实施的时间及措施"), ""));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -71,10 +71,10 @@ public class YiWuRescueDocTrans extends ModelDocTrans {
|
|
"参与抢救人员名单=参加抢救的医务人员姓名及专业技术职称",
|
|
"参与抢救人员名单=参加抢救的医务人员姓名及专业技术职称",
|
|
"参加抢救人员名单=参加抢救的医务人员姓名及专业技术职称",
|
|
"参加抢救人员名单=参加抢救的医务人员姓名及专业技术职称",
|
|
"记录医师=记录医生",
|
|
"记录医师=记录医生",
|
|
- "病程内容=抢救措施",
|
|
|
|
"患者签名时间=记录时间",
|
|
"患者签名时间=记录时间",
|
|
"抢救记录=简要病情",
|
|
"抢救记录=简要病情",
|
|
- "医师签名=记录医生"
|
|
|
|
|
|
+ "医师签名=记录医生",
|
|
|
|
+ "抢救实施的时间及措施=抢救措施"
|
|
);
|
|
);
|
|
|
|
|
|
}
|
|
}
|