imsweb / algorithms

Java implementation of cancer-related algorithms (NHIA, NAPIIA, Survival Time, etc...)
Other
6 stars 6 forks source link

Implement Cancer Reporting Zones #122

Closed howew closed 3 years ago

howew commented 3 years ago

Another state, county at dx analysis, census tract lookup.

This is only being collected by 12 states.

The NAACCR XML information for the algorithms API implementation is as follows: <ItemDef naaccrId="cancerReportingZone" naaccrNum="9415" naaccrName="Cancer Reporting Zone" length="8" recordTypes="A,M,C,I" parentXmlElement="Tumor"/>

I've attached the resource file.

The algorithm should implement the "flavors of unknown" (A, B, C, D) that are used by other algorithms in the library.

cancer-reporting-zones.zip

kirbykn commented 3 years ago

Should the list of valid states only include the 12 states that are collecting this value?

howew commented 3 years ago

Lets keep the valid state part similar to the other algorithms. For the states other than the main 12 it will just come back as whatever letter equates to "not found in the lookup table".

depryf commented 3 years ago

This new algorithm will be available with version 3.6.