|
@@ -51,10 +51,13 @@ public class BeiLunClinicBloodEffectHtmlAnalysis implements BeiLunHtmlAnalysis {
|
|
|
}
|
|
|
|
|
|
private void analysisGeneral(Element bigDivElement, Map<String, String> map) {
|
|
|
+ if (bigDivElement.childNodeSize() == 1) {
|
|
|
+ bigDivElement = bigDivElement.child(0);
|
|
|
+ }
|
|
|
if (bigDivElement.selectFirst("hr") != null) {
|
|
|
bigDivElement.selectFirst("hr").previousElementSiblings().remove();
|
|
|
}
|
|
|
- String text = BeiLunHtmlAnalysisUtil.blockDivToStr(bigDivElement.child(0), true);
|
|
|
+ String text = BeiLunHtmlAnalysisUtil.blockDivToStr(bigDivElement, true);
|
|
|
CommonAnalysisUtil.extractWardInfo(text, map);
|
|
|
String bqjlText = "病情记录" + map.get("病情记录");
|
|
|
List<String> titles = Lists.newArrayList(
|