trim_key: Modify the names in a conversion key to only include the...

Description Usage Arguments Value See Also Examples

View source: R/key_functions.R

Description

For parenteral (sai) and long-acting/depot (lai) antipsychotics, the name consists of the usual generic name (such as haloperidol) and a second word describing the formulation (e.g. haloperidol decanoate). Since to_cpz() and add_key() require exact matches to work properly, removing the second word may be required, but should be done with care as it can add ambiguity (e.g. fluphenazine enanthate and decanoate).

Usage

1
trim_key(key)

Arguments

key

the key to trim

Value

the key that was trimmed (a named list of 3 named lists)

See Also

Other key functions: add_key(), check_key()

Examples

1

chlorpromazineR documentation built on March 14, 2021, 5:07 p.m.