edits.seer.internal.rules.Derived_AJCC_6_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_AJCC_6_M" name="Derived AJCC-6 M (CS)" tag="N0670" java-path="lines.line" category="field"> <expression><![CDATA[return line.derivedAjcc6M == null || Functions.matches(line.derivedAjcc6M, /(^00$)|(^1[01239]$)|(^88$)|(^99$)|(^\s\s$)/)]]></expression> <message>Derived AJCC-6 M is not valid.</message> <description><![CDATA[Must be a valid two-digit Storage Code for Derived AJCC-6 M. May be blank. The following Storage Codes are valid: 00, 10-13, 19, 88, 99 This table shows the corresponding Display String for each Storage Code: Storage Code Display String Comments 99 MX MX 00 M0 M0 10 M1 M1 11 M1a M1a 12 M1b M1b 13 M1c M1c 19 M1NOS M1 NOS 88 NA Not applicable]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2010-01-07">Changed name, id, and message. Added a 6 to distinguish AJCC editions.</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>