edits.seer.internal.rules.Census_Cod_Sys_1970-80-90.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="Census_Cod_Sys_1970-80-90" name="Census Cod Sys 1970/80/90 (SEER RESSYST)" tag="N0041" java-path="lines.line" category="field"> <expression><![CDATA[if ( line.censusCodSys19708090 != null && !(Functions.matches(line.censusCodSys19708090, /^[0-3\s]$/)) ) return false return true]]></expression> <message>Census cod sys 1970/80/90 is not valid.</message> <description><![CDATA[Valid codes for Census cod sys 1970/80/90[120] are: 0 = Not tracted 1 = 1970 Census tract (1973-1977) 2 = 1980 Census tract (1978-1987) 3 = 1990 Census tract (1988+) Blank]]></description> <history> <event version="SE11-001-05" user="greend" date="1989-07-10">Census tract code "3" (1990 census tract definitions 1988+) is now valid.</event> <event version="SE11-001-17" user="greend" date="2003-01-30">Blank is now valid.</event> <event version="SE11-001-17" user="greend" date="2003-03-14">Changed name of item to match the NAACCR version 10 record layout.</event> <event version="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy