R/utils.R
aesi_label.Rd
aesi_label(aesi, scope = NULL)
(character) with standardized MedDRA query name (e.g. SMQzzNAM) or customized query name (e.g. CQzzNAM).
character
MedDRA
SMQzzNAM
CQzzNAM
(character) with scope of query (e.g. SMQzzSC).
SMQzzSC
A string with the standard label for the AE basket.
string
AE
adae <- tern_ex_adae # Standardized query label includes scope. aesi_label(adae$SMQ01NAM, scope = adae$SMQ01SC) #> [1] "C.1.1.1.3/B.2.2.3.1 aesi (BROAD)" # Customized query label. aesi_label(adae$CQ01NAM) #> [1] "D.2.1.5.3/A.1.1.1.1 aesi"