edits.seer.internal.rules.Derived_AJCC_7_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.
The newest version!
<rule id="Derived_AJCC_7_N" name="Derived AJCC-7 N (CS)" tag="N1017" java-path="lines.line" category="field"> <expression><![CDATA[return line.derivedAjcc7N == null || Functions.matches(line.derivedAjcc7N, /(^999$)|(^0[01234]0$)|(^1[01238]0$)|(^199$)|(^2[0123]0$)|(^299$)|(^399$)|(^3[0123]0$)|(^400$)|(^499$)|(^888$)/)]]></expression> <message>Derived AJCC-7 N is not valid.</message> <description><![CDATA[Must be a valid two-digit Storage Code for Derived AJCC-7 N[3410]. May be blank. The following Storage Codes are valid: 000,010,020,030,040,100,110,120,130,180,199,200,210,220,230,299,300,310,320,330,399,400,888,999. This table shows the corresponding Display String for each Storage code: Storage Code Display String Comments 999 NX NX 000 N0 N0 010 N0(i-) N0(i-) 020 N0(i+) N0(i+) 030 N0(mol-) N0(mol-) 040 N0(mol+) N0(mol+) 100 N1 N1 199 N1NOS N1 NOS 110 N1a N1a 120 N1b N1b 130 N1c N1c 180 N1mi N1mi 200 N2 N2 299 N2NOS N2 NOS 210 N2a N2a 220 N2b N2b 230 N2c N2c 300 N3 N3 399 N3NOS N3 NOS 310 N3a N3a 320 N3b N3b 330 N3c N3c 400 N4 N4 888 NA Not applicable]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2010-01-08">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>