|
@@ -85,7 +85,13 @@ public class BeiLunConsultationHtmlAnalysis implements BeiLunHtmlAnalysis {
|
|
|
CommonAnalysisUtil.html2StructureMap(titles, htmlContent, structureMap);
|
|
|
}
|
|
|
}
|
|
|
- CommonAnalysisUtil.extractDateByTitle(structureMap, "会诊到达时间");
|
|
|
+ if (structureMap.containsKey("会诊到达时间")) {
|
|
|
+ String arriveDateStr = CommonAnalysisUtil.extractDate(structureMap.get("会诊到达时间"));
|
|
|
+ if (StringUtil.isNotBlank(arriveDateStr)) {
|
|
|
+ structureMap.put("会诊意见", structureMap.get("会诊到达时间").replace(arriveDateStr, "").trim());
|
|
|
+ structureMap.put("会诊到达时间", arriveDateStr);
|
|
|
+ }
|
|
|
+ }
|
|
|
CommonAnalysisUtil.processType(structureMap, "会诊类型");
|
|
|
BeiLunHtmlAnalysisUtil.insertModuleId(modeId, recTypeId, structureMap);
|
|
|
} catch (Exception e) {
|