edits.seer.internal.rules.TNM_Edition_Number.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="TNM_Edition_Number" name="TNM Edition Number (SEER)" tag="N4921" java-path="lines.line" category="field"> <expression><![CDATA[return line.tnmEditionNumber == null || Functions.matches(line.tnmEditionNumber, /^0[0-9]|88|99|U7$/)]]></expression> <message>TNM Edition Number is not valid.</message> <description><![CDATA[Must be a valid TNM Edition Number code (00-09,88,99,U7). May be blank. Codes 00 Not staged (cases that have AJCC staging scheme and staging was not done) 01 First Edition 02 Second Edition (published 1983) 03 Third Edition (published 1988) 04 Fourth Edition (published 1992), - recommended for use for cases diagnosed 1993-1997 05 Fifth Edition (published 1997) - recommended for use for cases diagnosed 1998-2002 06 Sixth Edition (published 2002) - recommended for use for cases diagnosed 2003-2009 07 Seventh Edition (published 2009) - recommended for use with cases diagnosed 2010-2017 U7 Seventh Edition with UICC modifications 08 Eighth Edition (published 2017) - recommended for use with cases diagnosed 2018 and later 09 Version 9 (published 2020) - recommended for use with cervix uteri cases diagnosed 2021 and later - Version 9 protocols will continue to be released for other sites in subsequent years 88 Not applicable (cases that do not have an AJCC staging scheme) 99 Edition Unknown]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-05-04" ref="67779">Edit created.</event> <event version="SE18-018-03" user="kirbyk" date="2018-07-09" ref="67962">Added 'U7' as a valid value.</event> <event version="SE18-020-05" user="beverung" date="2020-08-06" ref="68472">Added '09' as a valid value.</event> <event version="SE21-021-03" user="kirbyk" date="2021-03-09" ref="68568">Edit tag changed.</event> <event version="SE24-024-01" user="cooki" date="2024-02-12" ref="69351">Changed description for code 09.</event> </history> </rule>