get_contraindications() is a convenience wrapper for get_medrt() that
returns only contraindication MED-RT assertions for RxNorm drugs.
Usage
get_contraindications(
x,
by = c("rxcui", "name"),
keep_input = TRUE,
show_progress = interactive()
)
Arguments
- x
Character vector of RxCUIs or drug names.
- by
One of "rxcui" or "name".
- keep_input
Logical; if TRUE, includes the original input value.
- show_progress
Logical. Show a progress bar in interactive sessions.
Progress is shown only when at least 5 inputs are supplied.
Value
A tibble of MED-RT contraindication assertions.