imsweb / algorithms

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

NHIA inconsistent with Hispanic Origin (#190) #97

Closed howew closed 4 years ago

howew commented 4 years ago

If the birthplace is a predominantly non-Hispanic country the NHIA value is being set to non-Hispanic even if the Hispanic Origin (190) field is set to a Hispanic value (except 6, which is currently working fine because of the way its coded).

Lines 350 and 351 in NhiaUtils.java need to be removed. Line 352 in NhiaUtils.java needs to be changed to an 'if' instead of an 'else if'.

depryf commented 4 years ago

This was fixed, will be available with version 2.15.