edits.seer.internal.rules.IF112.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="IF112" name="Census Tr Certainty 2000, Date of DX (SEER IF112)" tag="N0734" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || ['0000001533', '0000001565'].contains(line.registryId)) return true // condition 3 if (line.registryId < '0000001541' || line.registryId > '0000001544') return !(line.dateOfDiagnosisYear > '1995' && line.dateOfDiagnosisYear < '2012'&& line.censusTrCertainty2000 == null) // condition 2 if (line.dateOfDiagnosisYear > '2000' && line.dateOfDiagnosisYear < '2012') return line.censusTrCertainty2000 != null return true]]></expression> <message>Year of Diagnosis and Census Tr Certainty 2000 conflict</message> <description><![CDATA[This edit is skipped if year of diagnosis is blank. 1) If Registry ID[40] = 0000001533 (Arizona Indians) or 0000001565 (Illinois), Census Tr Certainty 2000[365] can be blank. 2) 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 Tr Certainty 2000[365] can be blank. B) If Year of Diagnosis[390] is 2001-2011, Census Tr Certainty 2000[365] cannot be blank. 3) For all other values of Registry ID[40]: If Year of Diagnosis[390] is 1996-2011, Census Tr Certainty 2000[365] cannot be blank.]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2009-12-08">Removed year of diganosis is not 9999. Updated description.</event> <event version="SE12-007-03" user="murphyr" date="2012-08-02" ref="66704">Added 'If Registry ID[40] = 0000001533 (Arizona Indians), Census Tr Certainty 2000[365] can be blank.'</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="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE21-021-09" user="beverung" date="2021-09-09" ref="68742">Added 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>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy