Do not include default races and ethnicities in locales #99
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of the issue/feature this PR addresses
This Pull Request removes the list of races and ethnicities set by default from locales. Note this PR only removes from locales, but these ethnicities and races are still kept as default options on install. User can add new and remove existing ones at will after install.
Races
The races defined in
senaite.patient
by default are those as default in HL7 (by CDC):https://phinvads.cdc.gov/vads/ViewValueSet.action?oid=2.16.840.1.114222.4.11.6065
However, this list was "developed" in 1997 by the US Office of Management and Budget (OMB) and is still used to describe groups of individuals to which individuals belong in the eyes of the (US) community. Therefore, this list is strongly biased and does not make sense to most places outside US. In addition, anthropologists nowadays use 3 or 4 main groups of races: "Caucasoid", "Mongoloid" and "Negroid". Each of these can be subdivided to up to 30 subrace. E.g. Eskimo, American Indian, Maori, etc. for Mongoloid group).
Ethnicities
Like in reaces, the default list of ethnicities in
senaite.patient
is the list set by default for HL7:https://terminology.hl7.org/ValueSet-v3-Ethnicity.html
To start with, the standards specify two minimum ethnicity categories: Hispanic or Latino, and Not Hispanic or Latino. Well, what about Asian ethnicities? Again, this list comes from the default list from US CDC (see https://www.cdc.gov/nchs/data/dvs/race_ethnicity_codeset.pdf) and therefore, is strongly biased and not useful for most places located outside of the US.
Current behavior before PR
Locales contains races and ethnicities that are meaningless outside of the US
Desired behavior after PR is merged
Locales do not contain races and ethnicities that are meaningless outside of the US
--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.