edits.seer.internal.rules.EOD--Old_4_Digit_Nodes.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation-edits-seer Show documentation
Show all versions of validation-edits-seer Show documentation
Java implemenation of the SEER edits.
<rule id="EOD--Old_4_Digit_Nodes" name="EOD-4 Lymph Nodes (SEER)" tag="S002" java-path="lines.line" category="field"> <expression><![CDATA[String eodOld4DigitNodes = null if (line.eodOld4Digit != null && line.eodOld4Digit.length() > 3) eodOld4DigitNodes = line.eodOld4Digit.substring(3, 4) return eodOld4DigitNodes == null || Functions.matches(eodOld4DigitNodes, /^[0-9\s]$/)]]></expression> <message>EOD--old 4 digit, nodes is not valid.</message> <description><![CDATA[Valid codes for EOD--old 4 digit nodes[860] are 0-9 or blank.]]></description> <history> <event version="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event> <event version="SE18-020-05" user="kirbyk" date="2020-07-27" ref="68443">Replaced EOD--Old 4 Digit Nodes sub-field with EOD--Old 4 Digit parent field.</event> </history> </rule>