|
@@ -330,7 +330,8 @@ public class CommonAnalysisUtil {
|
|
|
*/
|
|
|
public static void extractWardInfo(String htmlText, Map<String, String> structureMap) {
|
|
|
if (StringUtil.isNotBlank(htmlText)) {
|
|
|
- htmlText = htmlText.replaceAll("[ \n]", " ").replace("第1页", "");
|
|
|
+ htmlText = htmlText.replaceAll("[ \n]", " ").replace("第1页", "")
|
|
|
+ .replace("\n", " ");
|
|
|
String date = extractDate(htmlText);
|
|
|
if (date != null) {
|
|
|
structureMap.put("病历日期", date);
|