edits.seer.internal.rules.IF111.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="IF111" name="Census Tract 2000, Date of DX (SEER IF111)" tag="N0733" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.registryId == '0000001565') return true // condition 2 if (line.registryId < '0000001541' || line.registryId > '0000001544') return !(line.dateOfDiagnosisYear > '1995' && line.dateOfDiagnosisYear < '2012'&& line.censusTract2000 == null) // condition 1 if (line.dateOfDiagnosisYear > '2000' && line.dateOfDiagnosisYear < '2012') return line.censusTract2000 != null return true]]></expression> <message>Year of Diagnosis and Census Tract 2000 conflict</message> <description><![CDATA[This edit is skipped if year of diagnosis is blank or if Registry ID[40] is 0000001565 (Illinois). 1) If Registry ID[40] = 0000001541, 0000001542, 0000001543 or 0000001544 (Greater California, Kentucky, Louisiana, or New Jersey): A) If Year of Diagnosis[390]=1996-2000, Census Tract 2000[130] can be blank. B) If Year of Diagnosis[390] is 2001-2011, Census Tract 2000[130] cannot be blank. 2) For all other values of Registry ID[40]: If Year of Diagnosis[390] is 1996-2011, Census Tract 2000[130] cannot be blank.]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2009-12-08">Removed year of diagnosis is not 9999. Updated description.</event> <event version="SE14-011-02" user="murphyr" date="2014-01-14" ref="67066">Census 2000 variables no longer required for 2012+.</event> <event version="SE21-021-08" user="beverung" date="2021-08-05" ref="68702">Add skip condition for IL.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>