|
@@ -417,9 +417,9 @@ public class BeHospitalizedTran extends TargetTran {
|
|
|
flag = "/";
|
|
|
}
|
|
|
String b = split.substring(split.indexOf(bp)+bp.length(),split.indexOf(flag)).replace("血压","");
|
|
|
- String p = split.substring(split.indexOf(flag)+flag.length(),split.lastIndexOf("mmHg")+"mmHg".length()).replace("血压","");;
|
|
|
+ String p = split.substring(split.indexOf(flag)+flag.length(),split.lastIndexOf("mmHg")).replace("血压","");
|
|
|
if(StringUtil.isNotEmpty(b)){
|
|
|
- retMap.put("体格检查--收缩压(mmHg)", b+"mmHg");
|
|
|
+ retMap.put("体格检查--收缩压(mmHg)", b);
|
|
|
}
|
|
|
if(StringUtil.isNotEmpty(p)){
|
|
|
retMap.put("体格检查--舒张压(mmHg)", p);
|
|
@@ -456,19 +456,19 @@ public class BeHospitalizedTran extends TargetTran {
|
|
|
if(split.length>0){
|
|
|
for (String str : split) {
|
|
|
if(str.contains("骶耻外径") ){
|
|
|
- String t = str.substring(str.indexOf("骶耻外径")+"骶耻外径".length());
|
|
|
+ String t = str.substring(str.indexOf("骶耻外径")+"骶耻外径".length()).replace("cm","");
|
|
|
if(StringUtil.isNotEmpty(t)){
|
|
|
retMap.put("骶耻外径", t);
|
|
|
}
|
|
|
}
|
|
|
if(str.contains("坐骨结节间径") && str.contains("cm") ){
|
|
|
- String t = str.substring(str.indexOf("坐骨结节间径")+"坐骨结节间径".length());
|
|
|
+ String t = str.substring(str.indexOf("坐骨结节间径")+"坐骨结节间径".length()).replace("cm","");
|
|
|
if(StringUtil.isNotEmpty(t)){
|
|
|
retMap.put("坐骨结节间径", t);
|
|
|
}
|
|
|
}
|
|
|
if(str.contains("宫底") && str.contains("cm") ){
|
|
|
- String t = str.substring(str.indexOf("宫底")+"宫底".length());
|
|
|
+ String t = str.substring(str.indexOf("宫底")+"宫底".length()).replace("cm","");
|
|
|
if(StringUtil.isNotEmpty(t)){
|
|
|
retMap.put("宫底高度", t);
|
|
|
}
|
|
@@ -480,13 +480,13 @@ public class BeHospitalizedTran extends TargetTran {
|
|
|
}
|
|
|
}
|
|
|
if(str.contains("腹围") && str.contains("cm") ){
|
|
|
- String t = str.substring(str.indexOf("腹围")+"腹围".length());
|
|
|
+ String t = str.substring(str.indexOf("腹围")+"腹围".length()).replace("cm","");
|
|
|
if(StringUtil.isNotEmpty(t)){
|
|
|
retMap.put("腹围", t);
|
|
|
}
|
|
|
}
|
|
|
if(str.contains("胎心") && str.contains("次/分") ){
|
|
|
- String t = str.substring(str.indexOf("胎心")+"胎心".length(),str.indexOf("次/分")+"次/分".length()).replace("胎儿","");
|
|
|
+ String t = str.substring(str.indexOf("胎心")+"胎心".length(),str.indexOf("次/分")+"次/分".length()).replace("胎儿","").replace("次/分","");
|
|
|
if(StringUtil.isNotEmpty(t)){
|
|
|
retMap.put("胎心率", t);
|
|
|
}
|