medCMA {medAdherence} | R Documentation |
medCMA
function calculates the Continuous measure of Medication Acquisition.
Continuous measure of Medication Acquisition (CMA) was calculated by the days' supplies of medication throughout the study period divided by the number of days from the first dispensation date up to the patient's participation completion (study end).
medCMA(df=data,followUpDays=365)
df |
a dataframe created by postData funtion |
followUpDays |
days of follow up. 365 is the default, 12 month follow up |
Xiangyang Ye, Pharmacotherapy Outcomes Research Center, University of Utah
Steiner, JG and Prochazka, AV. The Assessment of Refill Compliance Using Pharmacy Records: Methods, Validity, and Applications.
Journal of Clinical Epidemiology 1997;50:105-116
Hess, LM, Raebel, MA, et al. Measurement of Adherence in Pharmacy Administrative Databases: A Proposal for Statndard Definitions and Preferred Measures The Annals of Pharmacotherapy 2006;40:1280-1288
data(cmos) predt <- preRxData(df=cmos,id=ptid,rxDate=rxDay,daySupply=supplies) postdt <-postRxData(predt) medCMA(postdt)