|
@@ -19,11 +19,14 @@ public class BeHospitalizedDocTrans extends ModelDocTrans {
|
|
|
public BeHospitalizedDoc extract(MedrecVo medrecVo) {
|
|
|
String content = medrecVo.getContent().get("content").toString();
|
|
|
int index1 = content.indexOf("初步诊断") + 5;
|
|
|
- int index2 = content.indexOf("\n",index1) - 1;
|
|
|
+ int index2 = content.indexOf("\n", index1) - 1;
|
|
|
content = content.substring(0, index1)
|
|
|
+ StringUtil.specialCharComma(content.substring(index1, index2))
|
|
|
+ content.substring(index2);
|
|
|
|
|
|
+ int index3 = content.indexOf("辅助检查");
|
|
|
+ content = content.substring(0, index3) + "\n" + content.substring(index3);
|
|
|
+
|
|
|
Map<String, String> structureMap =
|
|
|
getPreproc().extract_doc_pub(
|
|
|
false,
|