|
@@ -50,6 +50,9 @@ public class BeiLunBeHospitalizedHtmlAnalysis implements BeiLunHtmlAnalysis {
|
|
|
BeiLunHtmlAnalysisUtil.tableStyle1InsertMap(doc.getElementById("table1"), map);
|
|
|
//主诉、现病史等table解析
|
|
|
BeiLunHtmlAnalysisUtil.tableStyle2InsertMap(doc.getElementById("table6"), map);
|
|
|
+ if (StringUtil.isNotBlank(map.get("婚育史月经史")) && map.get("婚育史月经史").contains("经期")) {
|
|
|
+ map.put("婚育史", map.get("婚育史月经史").substring(0, map.get("婚育史月经史").indexOf("经期")));
|
|
|
+ }
|
|
|
//体 格 检 查 表(一) table解析
|
|
|
Element tgjcTableElement = doc.getElementById("table3");
|
|
|
BeiLunHtmlAnalysisUtil.tableStyle2InsertMap(tgjcTableElement, map);
|
|
@@ -57,7 +60,7 @@ public class BeiLunBeHospitalizedHtmlAnalysis implements BeiLunHtmlAnalysis {
|
|
|
//诊断 table解析
|
|
|
String disTableElementId = null;
|
|
|
Element disTableElement = null;
|
|
|
- String[] disTableElementIds = { "table7_2_0_0_1_1_2_0_1_4_5_6_7_0_1_37", "table7_2_0_0_1_1_2_0_1_4_5_6_7_0_1", "table7_2_0_0_1_1_2_0_1_4_5_6_7" };
|
|
|
+ String[] disTableElementIds = {"table7_2_0_0_1_1_2_0_1_4_5_6_7_0_1_37", "table7_2_0_0_1_1_2_0_1_4_5_6_7_0_1", "table7_2_0_0_1_1_2_0_1_4_5_6_7"};
|
|
|
for (String eid : disTableElementIds) {
|
|
|
disTableElement = doc.getElementById(eid);
|
|
|
if (disTableElement != null) {
|