|
@@ -19,7 +19,7 @@ public class BeHospitalizedDocTrans extends ModelDocTrans {
|
|
public BeHospitalizedDoc extract(MedrecVo medrecVo) {
|
|
public BeHospitalizedDoc extract(MedrecVo medrecVo) {
|
|
String content = medrecVo.getContent().get("content").toString();
|
|
String content = medrecVo.getContent().get("content").toString();
|
|
int index1 = content.indexOf("初步诊断") + 5;
|
|
int index1 = content.indexOf("初步诊断") + 5;
|
|
- int index2 = content.indexOf("修正诊断") - 1;
|
|
|
|
|
|
+ int index2 = content.indexOf("\n",index1) - 1;
|
|
content = content.substring(0, index1)
|
|
content = content.substring(0, index1)
|
|
+ StringUtil.specialCharComma(content.substring(index1, index2))
|
|
+ StringUtil.specialCharComma(content.substring(index1, index2))
|
|
+ content.substring(index2);
|
|
+ content.substring(index2);
|