Description Usage Arguments Details Value
tidy_meds_cont
determines which patients have the desired continuous
medications
1 | tidy_meds_cont(raw.data, ref.data, sched.data)
|
raw.data |
A data frame with all medications |
ref.data |
A data frame with three columns: name, type, and group |
sched.data |
A data frame with all intermittent medications |
This function takes a data frame with reference medications or medication classes and data frames with all continuous and scheduled medications, and returns a data frame with only the desired medications for each patient. The data frame passed to ref.data should contain three columns: name, type, and group. The name column should contain either generic medication names or medication classes. The type column should specify whether the value in name is a "class" or "med". The group column should specify whether the medication is a continous or scheduled medication.
A data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.