|
@@ -79,14 +79,17 @@ public class BeiLunConsultationHtmlAnalysis implements BeiLunHtmlAnalysis {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} else if ("(外地专家)会诊邀请函".equals(recTitle)) {
|
|
} else if ("(外地专家)会诊邀请函".equals(recTitle)) {
|
|
- titles = Lists.newArrayList("姓名", "出生年月", "病区", "床位",
|
|
|
|
- "住院号", "病情摘要", "会诊日期", "被邀医师", "专业", "职称", "单位", "会诊费用", "会诊科室", "签字", "外来专家 意见", "签字",
|
|
|
|
|
|
+ titles = Lists.newArrayList("姓名", "出生年月", "病区", "床位", "住院号", "病情摘要", "会诊日期", "被邀医师", "专业",
|
|
|
|
+ "职称", "单位", "会诊费用", "会诊科室", "医师签名", "医生签名", "科主任 签名", "患方意见", "签字", "外来专家 意见", "签字",
|
|
"邀请医院(钉钉审批后盖章)");
|
|
"邀请医院(钉钉审批后盖章)");
|
|
htmlContent = CommonAnalysisUtil.html2String(html);
|
|
htmlContent = CommonAnalysisUtil.html2String(html);
|
|
if (StringUtil.isNotBlank(htmlContent)) {
|
|
if (StringUtil.isNotBlank(htmlContent)) {
|
|
- htmlContent = htmlContent.replaceAll("[ ]", " ").replace("第1页", "");
|
|
|
|
|
|
+ htmlContent = htmlContent.replaceAll("[ ]", " ").replace("第1页", "").replace("年 月 日 时 分", "");
|
|
CommonAnalysisUtil.html2StructureMapNoColon(titles, htmlContent, structureMap);
|
|
CommonAnalysisUtil.html2StructureMapNoColon(titles, htmlContent, structureMap);
|
|
}
|
|
}
|
|
|
|
+ if (structureMap.containsKey("外来专家意见")) {
|
|
|
|
+ structureMap.put("外来专家意见", structureMap.get("外来专家意见").replaceAll("签字:", ""));
|
|
|
|
+ }
|
|
|
|
|
|
} else {
|
|
} else {
|
|
htmlContent = BeiLunHtmlAnalysisUtil.blockDivToStr(doc.selectFirst("body").child(0), true);
|
|
htmlContent = BeiLunHtmlAnalysisUtil.blockDivToStr(doc.selectFirst("body").child(0), true);
|