rxclass_relationships() is a diagnostic helper that evaluates the type(s)
of relationship (rela) asserted in RxNorm MED-RT data and the number within
each relationship asserted. In some cases, get_medrt() or its various
convenience wrappers may return empty or shorter-than-expected tibbles
because some relationships expected by the user are not asserted in RxNorm
(for example, an MOA may not be asserted by MED-RT).
Usage
rxclass_relationships(
x,
by = c("rxcui", "name"),
rela_source = NULL,
show_progress = interactive()
)