edits.seer.internal.rules.State_at_DX_Geocode_2020.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="State_at_DX_Geocode_2020" name="State at DX Geocode 2020 (NAACCR)" tag="N2573" java-path="lines.line" category="field"> <expression><![CDATA[return line.stateAtDxGeocode2020 == null || ((List)Context.FIPS_CODES).contains(line.stateAtDxGeocode2020)]]></expression> <message>State at DX Geocode 2020 must = valid FIPS code or blank</message> <description><![CDATA[Must be a valid two-digit FIPS code, as shown in the first column of the following list or blank: 01 AL Alabama 02 AK Alaska 04 AZ Arizona 05 AR Arkansas 06 CA California 08 CO Colorado 09 CT Connecticut 10 DE Delaware 11 DC District of Columbia 12 FL Florida 13 GA Georgia 15 HI Hawaii 16 ID Idaho 17 IL Illinois 18 IN Indiana 19 IA Iowa 20 KS Kansas 21 KY Kentucky 22 LA Louisiana 23 ME Maine 24 MD Maryland 25 MA Massachusetts 26 MI Michigan 27 MN Minnesota 28 MS Mississippi 29 MO Missouri 30 MT Montana 31 NE Nebraska 32 NV Nevada 33 NH New Hampshire 34 NJ New Jersey 35 NM New Mexico 36 NY New York 37 NC North Carolina 38 ND North Dakota 39 OH Ohio 40 OK Oklahoma 41 OR Oregon 42 PA Pennsylvania 44 RI Rhode Island 45 SC South Carolina 46 SD South Dakota 47 TN Tennessee 48 TX Texas 49 UT Utah 50 VT Vermont 51 VA Virginia 53 WA Washington 54 WV West Virginia 55 WI Wisconsin 56 WY Wyoming 60 AS American Samoa 66 GU Guam 69 MP Commonwealth of the Northern Mariana Islands 72 PR Puerto Rico 74 UM U.S. Minor Outlying Islands 78 VI United States Virgin Islands]]></description> <history> <event version="SE23-023-04" user="cooki" date="2023-05-31" ref="69277">Edit created.</event> <event version="SE24-024-06" user="beverung" date="2024-07-18" ref="69500">Updated to use NAACCR_FIPS_CODES context table.</event> <event version="SE24-024-07" user="beverung" date="2024-08-01" ref="69520">Context table renamed to FIPS_CODES.</event> </history> </rule>