|
@@ -41,7 +41,7 @@ public class ShaoyfHtmlUtil {
|
|
|
tableElements.get(i).getElementsByAttributeValue("token", "term").forEach(spanElement -> {
|
|
|
otherPageMap.put(
|
|
|
spanElement.attr("Comment"),
|
|
|
- spanElement.ownText().replaceAll(" ", "").replaceAll(" ", "")
|
|
|
+ spanElement.ownText().replaceAll(" ", "")
|
|
|
);
|
|
|
});
|
|
|
}
|
|
@@ -50,7 +50,7 @@ public class ShaoyfHtmlUtil {
|
|
|
|
|
|
tableElements.get(4).getElementsByAttributeValue("token", "term").forEach(spanElement -> {
|
|
|
String comment = spanElement.attr("Comment");
|
|
|
- String ownTex = spanElement.ownText().replaceAll(" ", "").replaceAll(" ", "");
|
|
|
+ String ownTex = spanElement.ownText().replaceAll(" ", "");
|
|
|
if (comment.equals("新生儿年龄")) {
|
|
|
comment = comment + spanElement.nextElementSibling().ownText();
|
|
|
}
|
|
@@ -59,7 +59,7 @@ public class ShaoyfHtmlUtil {
|
|
|
|
|
|
tableElements.get(12).getElementsByAttributeValue("token", "term").forEach(spanElement -> {
|
|
|
String comment = spanElement.attr("Comment");
|
|
|
- String ownTex = spanElement.ownText().replaceAll(" ", "").replaceAll(" ", "");
|
|
|
+ String ownTex = spanElement.ownText().replaceAll(" ", "");
|
|
|
if (comment.equals("ICD10")) {
|
|
|
otherPageMap.put("门急诊诊断编码", ownTex);
|
|
|
} else {
|
|
@@ -69,7 +69,7 @@ public class ShaoyfHtmlUtil {
|
|
|
|
|
|
tableElements.get(14).getElementsByAttributeValue("token", "term").forEach(spanElement -> {
|
|
|
String comment = spanElement.attr("Comment");
|
|
|
- String ownTex = spanElement.ownText().replaceAll(" ", "").replaceAll(" ", "");
|
|
|
+ String ownTex = spanElement.ownText().replaceAll(" ", "");
|
|
|
if (comment.equals("ICD10")) {
|
|
|
otherPageMap.put("损伤中毒因素编码", ownTex);
|
|
|
} else {
|
|
@@ -79,7 +79,7 @@ public class ShaoyfHtmlUtil {
|
|
|
|
|
|
tableElements.get(15).getElementsByAttributeValue("token", "term").forEach(spanElement -> {
|
|
|
String comment = spanElement.attr("Comment");
|
|
|
- String ownTex = spanElement.ownText().replaceAll(" ", "").replaceAll(" ", "");
|
|
|
+ String ownTex = spanElement.ownText().replaceAll(" ", "");
|
|
|
if (comment.equals("ICD10")) {
|
|
|
otherPageMap.put("病理诊断编码", ownTex);
|
|
|
} else if (comment.equals("病理号")) {
|
|
@@ -104,7 +104,7 @@ public class ShaoyfHtmlUtil {
|
|
|
Map<String, String> diagMap = null;
|
|
|
String spanText = null;
|
|
|
for (int i = 0; i < spanTexts.size(); i++) {
|
|
|
- spanText = spanTexts.get(i).replaceAll(" ", "").replaceAll(" ", "");
|
|
|
+ spanText = spanTexts.get(i).replaceAll(" ", "");
|
|
|
if (i % 3 == 0) {
|
|
|
if (!spanText.equals("")) {
|
|
|
diagMap = new HashMap<>();
|
|
@@ -136,7 +136,7 @@ public class ShaoyfHtmlUtil {
|
|
|
trElements.get(i).getElementsByAttributeValue("token", "term").forEach(spanElement -> {
|
|
|
operMap.put(
|
|
|
spanElement.attr("Comment"),
|
|
|
- spanElement.ownText().replaceAll(" ", "").replaceAll(" ", "")
|
|
|
+ spanElement.ownText().replaceAll(" ", "")
|
|
|
);
|
|
|
});
|
|
|
if (!operMap.get("手术名称").equals("")) {
|