edits.seer.internal.rules.IF45.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="IF45" name="Census Tract 1970/80/90, Census Cod Sys (SEER IF45)" tag="N0042" java-path="lines.line" category="inter-field"> <expression><![CDATA[if ((line.censusCodSys19708090 == '0' && line.censusTract19708090 != '000000') || line.censusCodSys19708090 != '0' && line.censusTract19708090 == '000000') return false if ((line.censusCodSys19708090 == null && line.censusTract19708090 != null) || (line.censusCodSys19708090 != null && line.censusTract19708090 == null)) return false return true]]></expression> <message>Census Tract 1970/80/90 and Census Cod Sys 1970/80/90 conflict</message> <description><![CDATA[If the Census cod sys 1970/80/90[120] is '0', meaning not tracted, then the code in Census Tract 1970/80/90[110] must be '000000' (not tracted). If Census Tract 1970/80/90[110] is coded as '000000' then the Census cod sys 1970/80/90[120] must be '0'. If the Census cod sys 1970/80/90[120] is blank, then Census tract 1970/80/90[110] must be blank If Census tract 1970/80/90[110] is blank then the Census cod sys[120] must be blank.]]></description> <history> <event version="SE11-001-17" user="greend" date="2003-01-30">If Coding System for Census Tract is blank, then Census tract must be blank and vice versa.</event> <event version="SE11-001-17" user="greend" date="2003-03-14">Changed name of edit to read the field Census 1970/80/90 from the NAACCR 10 layout.</event> <event version="SE18-018-02" user="schadega" date="2018-05-17" ref="67760">Name change.</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="SE24-024-06" user="kirbyk" date="2024-07-03" ref="69326">Removed edit dependencies.</event> </history> </rule>