edits.seer.internal.rules.Derived_SEER_Cmb_N.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="Derived_SEER_Cmb_N" name="Derived SEER Combined N (SEER)" tag="N2123" java-path="lines.line" category="field"> <expression><![CDATA[if (line.derivedSeerCombinedN == null) return true return Functions.matches(line.derivedSeerCombinedN, /^[cp].+|88$/) && (((List)Context.TNM_Clin_N_Table).contains(line.derivedSeerCombinedN) || ((List)Context.TNM_Path_N_Table).contains(line.derivedSeerCombinedN))]]></expression> <message>Derived SEER Cmb N is not valid.</message> <description><![CDATA[Must be a valid code for Derived SEER Combined N[3618] and must be left-justified. Subcategory letters must be uppercase, "c" and "p" code should be lowercase. May be blank. The following codes are valid: cX, c0, c0I-, c0I+, c0M-, c0M+, c1MI, c0A, c0B, c1, c1A, c1B, c1C, c2, c2A, c2B, c2C, c3, c3A, c3B, c3C, c4, pX, p0, p0I-, p0I+, p0M-, p0M+, p1MI, p0A, p0B, p1, p1A, p1B, p1C, p2, p2A, p2B, p2C, p3, p3A, p3B, p3C, p4, 88 Blank]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-04-14" ref="67313">Edit created.</event> <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> </history> </rule>