unii
Convert Unique Ingredient Identifier (UNII) master files (https://precision.fda.gov/uniisearch)
This plugin converts UNII master files from the FDA to FHIR. It requires a special plugin since multiple designations are available in the UNII files that need to be joined into a single concept. It uses the 'UNII List' format available from https://precision.fda.gov/uniisearch/archive.
Command line usage
/*^babelfsh
unii
--path PATH [--designation-map DESIGNATION_MAP]
[--designation-use-code-system DESIGNATION_USE_CODE_SYSTEM]
[--display-column DISPLAY_COLUMN] [--help] [--name-column NAME_COLUMN]
[--type-column TYPE_COLUMN] [--unii-column UNII_COLUMN]
^babelfsh*/Command line argument reference
--path PATH
--file PATH
-p PATH
-f PATH
Required
Input file path
--designation-map DESIGNATION_MAP
Map designation codes to human-readable codes. Default: 'of':'Name identified as having official status','sys':'Systematic Name (chemical and taxonomic names)','cn':'Common Name','cd':'Code','bn':'Brand/Trade Name'
--designation-use-code-system DESIGNATION_USE_CODE_SYSTEM
Code system for designation use
--display-column DISPLAY_COLUMN
-d DISPLAY_COLUMN
Display column. Default: 'Display'
--help
-h
show this help message and exit
--name-column NAME_COLUMN
-n NAME_COLUMN
Name column. Default: 'Name'
--type-column TYPE_COLUMN
-t TYPE_COLUMN
Type column. Default: 'TYPE'
--unii-column UNII_COLUMN
-u UNII_COLUMN
UNII column. Default: 'UNII'
Last updated

