getSBDRxCuiViaRxCui: Get Semantic Branded Drug(SBD) or Semantic Clinical Drug(SCD)...

View source: R/getSBDRxCuiViaRxCui.R

getSBDRxCuiViaRxCuiR Documentation

Get Semantic Branded Drug(SBD) or Semantic Clinical Drug(SCD) RxCui via RxCui

Description

This function provides user to get Semantic Branded Drug(SBD) or Semantic Clinical Drug(SCD) RxCui via ingredient RxCui.

Usage

getSBDRxCuiViaRxCui(df, RxCuiColName = RxCui, cores = 8)

Arguments

df

data.frame, a drug ingredient RxCui of the specific indication

RxCuiColName

a column name for RxCui of df

cores

number of parallel operation

Details

After obtaining the data.frame from getRxCuiViaMayTreat() and getRxCuiViaMayPrevent(), user can further obtain a commercially available pharmaceutical brand and clinical drug contained these drug ingredients. The content is to add a column named SBD.rxcui in the original input data frame, stores the result of converting ingredient to brand drug and clinical drug containing a specific drug component.

Value

A new data.table maytreat_SBD_SCD_List with following columns.

RxCui drug RxCui

Name drug name

MinConcept.Id indication Id

MinConcept.Name indication name

SBD.rxcui drug SBD RxCui

Examples

# sample of getting SBD or SCD Rxcui list of esophagitis.
Esophagitis_SBD_SCD_List <- getSBDRxCuiViaRxCui(df = Esophagitis_List[3,],RxCuiColName = RxCui,cores = 2)
head(Esophagitis_SBD_SCD_List)

DHLab-CGU/pharm documentation built on July 2, 2022, 7:16 a.m.