|
@@ -148,6 +148,9 @@ public class BeHospitalizedTran extends TargetTran {
|
|
|
if(!personHistory.contains("否认吸烟") && personHistory.contains("吸烟") && personHistory.contains("/日")){
|
|
|
personHistory = smokeMethod(personHistory).replace("吸烟","");
|
|
|
personHistory = personHistory.substring(personHistory.lastIndexOf(",")+",".length());
|
|
|
+ if(personHistory.contains("支") && !personHistory.contains("包")){
|
|
|
+ personHistory = personHistory.replace("支", "");
|
|
|
+ }
|
|
|
if(personHistory.contains("包")){
|
|
|
List<Double> smokeNum = new ArrayList<>();
|
|
|
String personHistorySec = personHistory.replace("包","").replace("~","-").replace("~","-").replace("—","-").replace("到","-").replace("至","-");
|