County at Diagnosis Analysis Code for the county of the patient's residence at the time the tumor was diagnosed is a derived variable to be used for county and county-based (such as PRCDA, or historically CHSDA) rates and analysis for all cases regardless of year of diagnosis.
Historically, we had a single County at DX [90]. However, counties change over time (which impacts our derived variables such as poverty code indicator which don’t directly align with year of diagnosis), and the county reported by the facility does not always match the geocoded county. In the vast majority of cases where geocoded county and reported county differ, the geocoded county is correct. Including additional geocoded county codes for each census year addresses the accuracy of geocoded fields, however, it is cumbersome to pull data from different variables in order to generate county-level rates. Use of this variable ensures the most accurate and appropriate county data is used for calculating county-level rates.
Instructions for Coding
- This variable can be generated using a standard, NAACCR supplied SAS code (or the logic below). At a minimum, this field should be derived prior to release of data for county-level analysis or rates. Ideally, the variable should be updated whenever there is a change to any county field.
- If the County At DX Reported [90] AND the County At DX Geocoded associated with the year of diagnosis are the same, the County At DX Analysis county can be pulled from either field.
- If the County At DX Reported [90] is "999" or NULL AND County At DX Geocoded associated with the year of diagnosis is geocoded (Census Tr Cert [364] for cases diagnosed through 1999, [365] for cases diagnosed 2000-2009, or [367] for cases diagnosed 2010-2019] = is not null and less than 9), pull the County At DX Geocode associated with the year of diagnosis. Cases diagnosed 1990-1999, pull from County At DX Geocode 1990. Cases diagnosed 2000-2009, pull from County At DX Geocode 2000. Cases diagnosed 2010-2019, pull from County At DX Geocode 2010. Cases diagnosed 2020-2029, pull from County At DX Geocode 2020.
- If the County At DX Geocoded associated with the year of diagnosis does not equal County At DX Reported [90] AND is a high quality geocode (Census Tr Cert [364 ]for cases diagnosed through 1999, [365] for cases diagnosed 2000-2009, or [367] for cases diagnosed 2010-2019] = 1), pull the County At DX Geocode associated with the year of diagnosis. Cases diagnosed 1990-1999, pull from County At DX Geocode 1990. Cases diagnosed 2000-2009, pull from County At DX Geocode 2000. Cases diagnosed 2010-2019, pull from County At DX Geocode 2010. Cases diagnosed 2020-2029, pull from County At DX Geocode 2020.
- If the County At DX Geocoded associated with the year of diagnosis does not equal County At DX Reported [90] AND is based on a PO Box address (Census Tr Cert [364 ]for cases diagnosed through 1999, [365] for cases diagnosed 2000-2009, or [367] for cases diagnosed 2010-2019] = 5), the derived county equals the County At DX Reported [90].
- If the County At DX Geocoded associated with the year of diagnosis is ungeocoded (Census Tr Cert [364] for cases diagnosed through 1999, #365 for cases diagnosed 2000-2009, or [367] for cases diagnosed 2010-2019] = blank or 9), the derived county equals the County At DX Reported [90].
- If the County At DX Geocoded associated with the year of diagnosis does not match County At DX Reported [90] AND a geocode is based on residential addresses but geocoded to the centroid of a zip code (Census Tr Cert [364] for cases diagnosed through 1999, [365] for cases diagnosed 2000-2009, or [367] for cases diagnosed 2010-2019] = 2-4), manual review is required to resolve the discrepancy. Until manual review can be done, use the County At DX Reported [90].
- If the patient has multiple tumors, the county codes may be different for each tumor.
- Detailed standards have not been set for Canadian provinces/territories. Use code 998 for Canadian residents.