|
@@ -50,7 +50,7 @@ public class BeiLunFirstCourseRecordHtmlAnalysis implements BeiLunHtmlAnalysis {
|
|
|
structureMap.put("病历内容",structureMap.get("病历内容").replace(":",":").replace(structureMap.get("病历日期"),""));
|
|
|
|
|
|
List<String> specialString = Lists.newArrayList(
|
|
|
- "无需其他特殊鉴别诊断","无需鉴别","无须鉴别"
|
|
|
+ "诊断标准:","4.本病应同以下疾病鉴别:","5.鉴别诊断:","4、鉴别诊断:","鉴别诊断:"
|
|
|
);
|
|
|
if(StringUtil.isNotEmpty(structureMap.get("西医诊断依据及鉴别诊断"))){
|
|
|
String diag=structureMap.get("西医诊断依据及鉴别诊断");
|
|
@@ -60,13 +60,14 @@ public class BeiLunFirstCourseRecordHtmlAnalysis implements BeiLunHtmlAnalysis {
|
|
|
diag=diag.replace(structureMap.get("初步诊断"),"");
|
|
|
}
|
|
|
if(StringUtil.isEmpty(structureMap.get("西医诊断依据")) && StringUtil.isEmpty(structureMap.get("西医鉴别诊断"))){
|
|
|
+ for (String specialC:specialString){
|
|
|
+ if(diag.contains(specialC)){
|
|
|
+ structureMap.put("西医鉴别诊断",diag.substring(diag.indexOf(specialC)));
|
|
|
+ diag=diag.replace(structureMap.get("西医鉴别诊断"),"");
|
|
|
+ }
|
|
|
+ }
|
|
|
structureMap.put("西医诊断依据",diag);
|
|
|
structureMap.put("西医诊断依据及鉴别诊断","");
|
|
|
- /*for (String specialC:specialString){
|
|
|
- if(structureMap.get("西医诊断依据").contains(specialC)){
|
|
|
- structureMap.put("西医鉴别诊断","无需鉴别");
|
|
|
- }
|
|
|
- }*/
|
|
|
}
|
|
|
}
|
|
|
if(StringUtil.isNotEmpty(structureMap.get("拟诊讨论")) && StringUtil.isEmpty(structureMap.get("中医辨病辩证依据及鉴别诊断"))){
|