| | |
| | | import com.ltkj.LtkjApplication; |
| | | import com.ltkj.hosp.domain.TjProject; |
| | | import com.ltkj.hosp.service.*; |
| | | import jodd.util.StringUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.joda.money.CurrencyUnit; |
| | | import org.joda.money.Money; |
| | |
| | | // BigDecimal multiply = ordPrice.multiply((new BigDecimal("6.5").divide(BigDecimal.valueOf(10)))); |
| | | // System.out.println(multiply); |
| | | |
| | | String a="白细胞(陕HR)(WBC)"; |
| | | String s = a.replaceAll("[((][^))]*[\u4e00-\u9fa5]+[^))]*[))]", "") |
| | | .replaceAll("[ 测定检测]", ""); |
| | | System.out.println(s); |
| | | String a="主动脉硬化;\n" + |
| | | "左心舒张功能减低、收缩功能正常;\n" + |
| | | "彩色血流示:各瓣膜未见病理性返流。"; |
| | | // String s = a.replaceAll("[((][^))]*[\u4e00-\u9fa5]+[^))]*[))]", "") |
| | | // .replaceAll("[ 测定检测]", ""); |
| | | |
| | | String[] split = a.replaceAll("\n", "").split("。|;|;"); |
| | | for (String jg : split) { |
| | | if (StringUtil.isNotBlank(jg) && !jg.contains("未见异常") |
| | | && !jg.contains("未见明显异常") && !jg.contains("未见占位") && !jg.contains("未见") |
| | | && !jg.contains("未见明显")&& !jg.contains("正常")&& !jg.contains("双侧椎间孔无狭窄")&& !jg.contains("无殊")) { |
| | | System.out.println(jg); |
| | | } |
| | | } |
| | | |
| | | // System.out.println(s); |
| | | } |
| | | |
| | | |