MED {OralOpioids}R Documentation

Get the Morphine Equivalent Dose (MED) by using the DIN or NDC

Description

MED retrieves the Morphine Equivalent Dose from the Opioid_Table.

Usage

MED(Drug_ID, Opioid_Table)

Arguments

Drug_ID

A numeric value for the DIN or NDC. Exclude all zeros in front.

Opioid_Table

Opioid dataset which can be loaded by using the load_HealthCanada_Opioid_Table() or load_FDA_Opioid_Table() function. The name you use to call the function should be input here.

Value

MED: Morphine Equivalent Dose

Examples


FDA_Opioid_Table <- load_Opioid_Table(no_download = TRUE, country="US")
HealthCanada_Opioid_Table <- load_Opioid_Table(no_download = TRUE, country="Canada")
MED(786535, HealthCanada_Opioid_Table)
MED("0093-0058", FDA_Opioid_Table)

[Package OralOpioids version 2.0.3 Index]