Skip to content

Commit

Permalink
Update etl clinical command to process KP2023 metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
sallybg committed Oct 16, 2023
1 parent 2d8e693 commit 2d8bd87
Show file tree
Hide file tree
Showing 3 changed files with 810 additions and 25 deletions.
3 changes: 3 additions & 0 deletions lib/seattleflu/id3c/cli/command/etl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,15 @@ def race(races: Optional[Any]) -> list:
"indian": "americanIndianOrAlaskaNative",
"native": "americanIndianOrAlaskaNative",
"alaska native": "americanIndianOrAlaskaNative",
"ai_an": "americanIndianOrAlaskaNative",

"asian": "asian",

"blackorafricanamerican": "blackOrAfricanAmerican",
"black or african american": "blackOrAfricanAmerican",
"black": "blackOrAfricanAmerican",
"black or african-american": "blackOrAfricanAmerican",
"black_aa": "blackOrAfricanAmerican",

"nativehawaiian": "nativeHawaiian",
"native hawaiian": "nativeHawaiian",
Expand All @@ -111,6 +113,7 @@ def race(races: Optional[Any]) -> list:
"nativehi": "nativeHawaiian",
"native_hawaiian": "nativeHawaiian",
"ha_pi": "nativeHawaiian",
"nh_opi": "nativeHawaiian",

"white": "white",
"white or caucasian": "white",
Expand Down
Loading

0 comments on commit 2d8bd87

Please sign in to comment.