edits.seer.internal.rules.IF461.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="IF461" name="Census Tract 2010 and Year of Diagnosis" tag="S008" java-path="lines.line" category="inter-field" depends="Census_Tract_2010,Year_of_Diagnosis"> <expression><![CDATA[if (line.registryId == '0000001565') return true if (line.dateOfDiagnosisYear > '2005' && line.dateOfDiagnosisYear < '2022') return line.censusTract2010 != null return true]]></expression> <message>Census Tract 2010 and Year of Diagnosis conflict</message> <description><![CDATA[This edit is skipped if Registry ID[40] is 0000001565 (Illinois). If Year of Diagnosis[390] > 2005 and < 2022, Census Tract 2010 cannot be blank.]]></description> <history> <event version="SE13-010-04" user="murphyr" date="2013-08-21" ref="66924">Edit created.</event> <event version="SE21-021-08" user="beverung" date="2021-08-05" ref="68702">Add skip condition for IL.</event> <event version="SE23-023-07" user="cooki" date="2023-09-22" ref="69312">Added upper limit of 2022 to logic.</event> <event version="SE24-024-06" user="kirbyk" date="2024-06-26" ref="69508">Fixed typo in message.</event> </history> </rule>