edits.seer.internal.rules.Derived_SEER_Cmb_T.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_T" name="Derived SEER Combined T (SEER)" tag="N2124" java-path="lines.line" category="field"> <expression><![CDATA[if (line.derivedSeerCombinedT == null) return true return Functions.matches(line.derivedSeerCombinedT, /^[cp].+|88$/) && (((List)Context.TNM_Clin_T_Table).contains(line.derivedSeerCombinedT) || ((List)Context.TNM_Path_T_Table).contains(line.derivedSeerCombinedT))]]></expression> <message>Derived SEER Cmb T is not valid.</message> <description><![CDATA[Must be a valid code for Derived SEER Combined T[3616] and must be left-justified. Subcategory letters must be uppercase, "c" and "p" codes must be lowercase. May be blank. The following codes are valid: cX, c0, c1MI, c1, c1A, c1A1, c1A2, c1B, c1B1, c1B2, c1C, c1D, c2, c2A, c2A1, c2A2, c2B, c2C, c2D, c3, c3A, c3B, c3C, c3D, c4, c4A, c4B, c4C, c4D, c4E, pX, p0, pA, pIS, pISU, pISD, p1MI, p1, p1A, p1A1, p1A2, p1B, p1B1, p1B2, p1C, p1D, p2, p2A, p2A1, p2A2, p2B, p2C, p2D, p3, p3A, p3B, p3C, p3D, p4, p4A, p4B, p4C, p4D, p4E, 88 Blank]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-04-14" ref="67314">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>