NUBIC/ncs_navigator_core — pull request #18 by greenone1975 (2013-01-11 16:09:12+00:00)
Title: Task 2600

Added capability of the Operation Data Extractors to extract racial operational data.

One peculiar aspect of developing this capability is the mandatory use of RACE_CL1 when extracting the data into the model.

The MDES specifies two types of RACE records: those with the term 'New' in their reference identifiers and those without. The ones **without** the 'New' term have response groups that map to RACE_CL1, but those **with** the 'New' term map to RACE_CL6.

RACE_CL6 represents an expansion of racial response options, so there is some intersection with RACE_CL1.

For a 'New' response that intersects with an option on RACE_CL1, this response is handled in the standard way we handle normal NcsCoded responses: the `local_code` value is placed in the coded attribute.

If the response is *not* a member of RACE_CL1, we then use the NcsCode for 'other' in the `race_code`, which is -5, and grab the `display_text` description of the race and apply it to the `race_other` attribute, a string attribute. Please see me for further explanation.