| | |
| | | |
| | | public static void main(String[] args) throws Exception { |
| | | |
| | | String s = "L4/5、L5/S1椎间盘突出,腰椎椎体轻度骨质增生。"; |
| | | String s = "610124199809053678"; |
| | | String s1 = "610622199805230627"; |
| | | System.out.println(String.valueOf(MatchUtils.getAgeByIdCard(s))); |
| | | System.out.println(String.valueOf(MatchUtils.getAgeByIdCard(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); |
| | | } |
| | | } |
| | | } |
| | | |
| | | |