View source: R/getRxCuiViaMayTreat.R
getRxCuiViaMayTreat | R Documentation |
This function provides user to get drug ingredient RxCui of the specific indication may treat.
getRxCuiViaMayTreat(strmaytreat)
strmaytreat |
user can input an indication name |
The data source is from the U.S. Veterans Administration's MED-RT
database.
Since RxNorm integrates the US Veterans Administration MED-RT drug vocabulary and provides API (/rxclass/relaSources) that mediates RxCui into the drug vocabulary.
Therefore, we establishes a function through this API, so that users can obtain complete contraindications, indications and other information in the MED-RT vocabulary through the drug RxCui.
In addition to drug contraindications and indications for RxNorm coding, this study also uses web crawler technology to crawl information on contraindications and indications for all drugs in the MED-RT data sheet.
Establish a function for finding drugs from contraindications and indications.
A new data.table maytreat_List
with following columns.
RxCui
drug RxCui
Name
drug name
MinConcept.Id
indication Id
MinConcept.Name
indication name
# sample of searching an indication esophagitis may treat. Esophagitis_List <- getRxCuiViaMayTreat("esophagitis") # sample of getting drug ingredient RxCui list of esophagitis. head(Esophagitis_List)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.