rxnav-api
Version:
promise-based interface to RXNAV to access RxNorm and other interesting medical information
34 lines (31 loc) • 799 B
Markdown
```
const {RxnavApi} = require('rxnav-api')
let rxnorm = '198440' // Acetaminophen
new RxnavApi().rxterms().rxnormTerms(rxnorm)
.then((res) =>
console.log(JSON.stringify(res)))
.catch(err => console.log(`err=${err}`))
```
```
{
"rxtermsProperties": {
"brandName": "",
"displayName": "Acetaminophen (Oral Pill)",
"synonym": "APAP",
"fullName": "Acetaminophen 500 MG Oral Tablet",
"fullGenericName": "Acetaminophen 500 MG Oral Tablet",
"strength": "500 mg",
"rxtermsDoseForm": "Tab",
"route": "Oral Pill",
"termType": "SCD",
"rxcui": "198440",
"genericRxcui": "0",
"rxnormDoseForm": "Oral Tablet",
"suppress": ""
}
}
```