get_rxnorm_ingredient_map: Get RxNorm Ingredient Map

View source: R/rxnorm_map.R

get_rxnorm_ingredient_mapR Documentation

Get RxNorm Ingredient Map

Description

Iterate on all the possible paths out of the RxNorm Ingredient concepts using the get_rxnorm_map function.

Usage

get_rxnorm_ingredient_map(
  conn,
  conn_fun = "pg13::local_connect()",
  schema = "umls",
  verbose = TRUE,
  render_sql = TRUE,
  render_only = FALSE,
  checks = ""
)

Arguments

conn

Database connection via DatabaseConnector.

conn_fun

Instead of supplying of a direct database connection, an expression can be supplied that automatically connects and disconnects the connection once the function is run.

schema

For Postgres executions only, the schema to write all the tables to, Default: 'umls'

verbose

If TRUE, details on the activity are returned in the console, such as when the querying starting and was completed.

render_sql

If TRUE, the SQL statement for the operation is returned in the console.

Value

Tibble of each unique combination of from tty 'IN' and an ending tty with an extra field that provides the given tty value. The final tibble as includes 'IN' mappings to itself.

See Also

Other RxNorm Map: get_rxnorm_map(), get_rxnorm_tty_lookup(), read_rxnorm_paths(), setup_rxmap(), write_rxnorm_map(), write_rxnorm_path_lookup()


meerapatelmd/metathesaurus documentation built on May 23, 2022, 7:41 a.m.