
Package index
Resolve and inspect RxNorm concepts
Find RxNorm concepts from drug names or identifiers and retrieve basic concept-level metadata.
-
resolve() - Resolve free text, RxCUI, or NDC to RxCUI and preferred name
-
search_drug() - Search free-text drug name and return product CUIs and/or NDCs
-
get_properties() - Get core RxNorm properties for one or more RxCUIs
Build product-level medication lists
Start from ingredient names or RxCUIs, then expand to clinical or branded drug products suitable for cohort construction, exposure definitions, or medication-list development.
-
find_ingredients() - Resolve a free-text drug name to ingredient CUIs (IN/PIN)
-
ingredients_for_rxcui() - Get ingredient concepts for RxCUIs
-
products_for_ingredients() - Expand ingredient CUIs to product CUIs that truly contain the ingredient
Map between RxCUIs and NDCs
Convert between RxNorm concept identifiers and National Drug Codes, including active and historical NDC associations.
-
map_to() - Map between NDCs and RxCUIs
-
map_ndc_to_rxcui() - Map NDCs to RxCUIs
-
map_rxcui_to_ndc() - Map RxCUIs to NDCs
-
ndc_status() - Get RxNav status for NDCs
Drug classes and therapeutic categories
Retrieve drug class assertions from RxClass and convenience wrappers for common class vocabularies such as ATC, EPC, MED-RT, and VA classes.
-
get_drug_classes()experimental - Get class-like RxClass assertions for RxNorm drugs
-
get_classes()experimental - Get RxClass assertions for RxNorm drugs
-
find_classes() - Find RxClass drug classes by class name
-
get_class_members() - Get RxNorm members of an RxClass class
-
get_atc() - Get ATC classes for RxNorm drugs
-
get_atcprod() - Get ATC product-level classes for RxNorm drugs
-
get_epc() - Get FDA/SPL established pharmacologic classes
-
get_va() - Get VA drug classes for RxNorm drugs
Specialized RxClass relationships
Retrieve selected RxClass relationship types such as mechanisms of action, physiologic effects, indications, contraindications, and chemical structure.
-
get_medrt() - Get MED-RT assertions for RxNorm drugs
-
get_medrt_moa() - Get MED-RT mechanism-of-action assertions
-
get_medrt_pe() - Get MED-RT physiologic-effect assertions
-
get_may_treat() - Get indication/treatment assertions from MED-RT
-
get_contraindications() - Get contraindication assertions from MED-RT
-
get_chemical_structure() - Get chemical-structure assertions
Clinical attribute utilities
Derive clinically useful product attributes, including ingredients, strength, dose form, route, and route-specific product filtering.
-
get_clinical_attributes() - Clinical attributes from the concept (SCD/SBD) or related SCD/SBD
-
filter_products_by_route() - Filter RxNorm product concepts by route of administration.
-
exclude_products_with_ingredients() - Exclude products containing specified ingredients
Concept type helpers
Helpers for working with RxNorm term types, including default and extended product-level term type sets.
-
tty_catalogue() - Catalogue of RxNorm TTY (Term Types)
-
product_ttys() - RxNorm product term type sets
-
default_product_ttys() - Default RxNorm product term types
-
extended_product_ttys() - Extended RxNorm product term types
-
extended_ttys() - Extended RxNorm term types
RxClass metadata
Inspect available RxClass relationship sources, relationship names, and source-relationship combinations.
-
rxclass_rela_sources() - Get RxClass relationship sources
-
rxclass_relas() - Get RxClass relationship types
-
rxclass_relationships() - Summarize RxClass relationship types for drugs
Package configuration
Configure rxref behavior, including API settings and memoised API-response caching.
-
rxref_conf() - Configure rxref
-
rxref_cache()rxref_cache_info()rxref_cache_clear()rxref_cache_use_memory()rxref_cache_use_disk()rxref_cache_disable() - Manage the rxref cache