| | |
| | | import cn.hutool.core.io.FileUtil; |
| | | import com.ltkj.LtkjApplication; |
| | | import com.ltkj.framework.config.MatchUtils; |
| | | import com.ltkj.hosp.domain.TjJcycxm; |
| | | import com.ltkj.hosp.idutil.IdUtils; |
| | | import jodd.util.StringUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.junit.Test; |
| | | import org.junit.runner.RunWith; |
| | |
| | | |
| | | public static void main(String[] args) throws Exception { |
| | | |
| | | System.out.println(MatchUtils.isIdCard("622723197401030409")); |
| | | System.out.println(MatchUtils.isMobileNO("15346732733")); |
| | | String s = "L4/5、L5/S1椎间盘突出,腰椎椎体轻度骨质增生。"; |
| | | |
| | | String[] split = s.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("双侧椎间孔无狭窄")){ |
| | | System.out.println(1); |
| | | } |
| | | } |
| | | } |
| | | |
| | | |