|
@@ -49,16 +49,16 @@ public class BeHospitalizedHtmlAnalysis implements HtmlAnalysis {
|
|
|
//一般模板
|
|
|
private void analysisGeneral(Document doc, String recTitle, Map<String, String> map) {
|
|
|
|
|
|
- List<String> titles = Lists.newArrayList("姓 名", "性 别", "出生日期", "出 生 地", "职 业", "民 族", "宗教信仰", "婚 姻",
|
|
|
+ List<String> titles = Lists.newArrayList("姓名", "性别", "年龄","出生日期","父母姓名", "出生地", "职业", "民族", "宗教信仰", "婚 姻","入院时间","籍贯","入院于","生于","电话","供史者",
|
|
|
"联系地址", "联系电话", "入院日期", "记录日期", "身份证号码", "病史陈述者", "病史可靠程度", "产前检查", "丈夫姓名",
|
|
|
- "主 诉", "现病史", "既往史", "个人史", "月经史", "婚姻史", "生育史", "家族史", "体格检查","一般状况","一般体格检查一般情况","一般体格检查一般状况","体格检查一般情况","辅助检查", "妇科检查","产科检查","实验室检查", "特殊检查",
|
|
|
- "初步诊断", "康复需求","营养需求","医生签名", "医师签名", "签名时间", "记录时间", "补充诊断", "修正诊断","其 他");
|
|
|
+ "主诉", "现病史", "既往史", "个人史", "月经史", "婚姻史", "生育史", "家族史", "体格检查","一般状况","一般体格检查一般情况","一般体格检查一般状况","体格检查一般情况","辅助检查", "妇科检查","产科检查","实验室检查", "特殊检查",
|
|
|
+ "初步诊断", "康复需求","营养需求","医生签名", "医师签名", "签名时间", "记录时间", "补充诊断", "修正诊断","其他");
|
|
|
//个人基础信息table解析
|
|
|
- String htmlContent = CommonAnalysisUtil.html2String(doc.toString());
|
|
|
+ String htmlContent = CommonAnalysisUtil.html2String(doc.toString()).replaceAll(" ","").replaceAll("[ ]", "").replaceAll(" ", "");
|
|
|
if (StringUtil.isNotBlank(htmlContent)) {
|
|
|
CommonAnalysisUtil.html2StructureMap(titles,htmlContent,map);
|
|
|
}
|
|
|
- //去掉生育史里面的表格jj
|
|
|
+ //去掉生育史里面的表格
|
|
|
String reproductiveHistory = map.get("生育史");
|
|
|
if (StringUtil.isNotBlank(reproductiveHistory)) {
|
|
|
int index = reproductiveHistory.indexOf("孕次生产年月流产早产足月产");
|