Use different codes for unknown flavors in RUCA/URIC algorithm
Closed this issue · 1 comments
The returned codes are two digits to support unknown.
Regular codes (which are one digits) are left-zero padded (01, 02, etc...); the regular unknown code is then 09. And then the extra unknown flavors (which are not standard) are 96, 97, etc...
The algorithm will be changed to return 1 digit instead of two; it will return 1, 2, etc... for the regular codes, and A, B, etc... for the unknown.
The following values will be used for the unknown:
A = State, county, or tract are invalid
B = State and tract are valid, but county was not reported
C = State + county + tract combination was not found
D = State, county, or tract are blank or unknown
This changes are done; I also renamed a few methods related to URIC; they used to be called "ruralUrbanCensus" and I renamed them to "urbanRuralIndicatorCode" to align with the NAACCR variables that the algorithm computes, which are called "Urban Rural Indicator Code", or "URIC".