Skip to contents

[Stable]

Usage

aesi_label(aesi, scope = NULL)

Arguments

aesi

(character)
with standardized MedDRA query name (e.g. SMQzzNAM) or customized query name (e.g. CQzzNAM).

scope

(character)
with scope of query (e.g. SMQzzSC).

Value

A string with the standard label for the AE basket.

Examples

library(scda)
adae <- synthetic_cdisc_data("latest")$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"