ddediu / AdhereR

Computation of adherence to medications from Electronic Healthcare Data in R
26 stars 6 forks source link

Allow seconds to be specified in intervals #199

Open Et9797 opened 1 year ago

Et9797 commented 1 year ago

This library has more use cases than just measuring adherence and visualizing prescribing records. Any data containing time-series could benefit from these types of analyses

ddediu commented 1 year ago

I agree that some types of timeseries can benefit from some of these plots and estimates, but (and this is a big but) these were designed with adherence in mind (in particular, what espisodes are and what the cmas are and how they're computed)

do you have something particular in mind?

and thanks a lot for the message :) it is not often that people using it also let know...

Et9797 commented 1 year ago

Don't have anything concrete yet. It's been several years since I used this library. Back then I used it in my thesis to try and discover adherence patterns from EHD prescribing and dispending records. I would like to use it now on something completely different, namely for time-series order picking dataset I have. The plots produced by adhereR are very suitable for this as they nicely show the lengths of each pick and in addition show gaps between picks. CMA and non-persistence could still be used as surrogate measures for the picker's performance.

ddediu commented 1 year ago

Interesting, I never really considered such applications :) please let us know if it works or if you have idea/suggestions or if you find bugs... best, Dan