date_check {adheRenceRX}R Documentation

Restructuring Dates to Remove Overlap

Description

This is a function meant to be utilized within propagate_date() in order to adjust pharmaceutical claims dates to prevent overlapping in adherence calculations, per Canfield SL, Zuckerman A, Anguiano RH, Jolly JA, DeClercq J. Navigating the wild west of medication adherence reporting in specialty pharmacy. J Manag Care Spec Pharm. 2019;25(10):1073-77.

Usage

date_check(df)

Arguments

df

a claims data frame with a date of a medication claim and the corresponding days supply

Value

A new claims data frame with an appended column, adjusted_date


[Package adheRenceRX version 1.0.0 Index]