edits.seer.internal.rules.Derived_SEER_Cmb_M.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_M" name="Derived SEER Combined M (SEER)" tag="N2122" java-path="lines.line" category="field"> <expression><![CDATA[if (line.derivedSeerCombinedM == null) return true return Functions.matches(line.derivedSeerCombinedM, /^[cp].+|88$/) && (((List)Context.TNM_Clin_M_Table).contains(line.derivedSeerCombinedM) || ((List)Context.TNM_Path_M_Table).contains(line.derivedSeerCombinedM))]]></expression> <message>Derived SEER Cmb M is not valid.</message> <description><![CDATA[Must be a valid code for Derived SEER Combined M[3620] 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: c0, c0I+, c1, c1A, c1B, c1C, c1D, c1E, p1, p1A, p1B, p1C, p1D, p1E, 88 Blank]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-04-14" ref="67312">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>