Development of a Statistical Package to Standardise the Measurement and Reporting of Medication Adherence Using Claims Data: The TEN-SPIDERS Tool
Abstract
Aim The TEN-SPIDERS framework provides a structured approach to calculating and reporting the proportion of days covered (PDC) in medication adherence research, but gaps remain in operationalising this framework into statistical code. We aimed to develop open-source tool to standardise PDC calculation against parameters of the TEN-SPIDERS reporting framework. Methods Phase 1 involved developing the Stata statistical tool to enable flexible adjustment of TEN-SPIDERS PDC parameters: Threshold, Eligibility, Numerator, In-hospital stays, Dose imputation, Early Refills, and Survival. The tool was developed to align with established data definitions, variable schemas, and person-level record structures in linked Australian Pharmaceutical Benefits Scheme (PBS) datasets, with scope for interoperability across similar international systems. In Phase 2, PDC was estimated in a linked PBS dataset for survivors of myocardial infarction (37,919 statin users and 29,163 P2Y12 inhibitor users). The impact of different TEN-SPIDERS adjustments was evaluated against basic settings and a pre-existing Stata package (MedAdhere). Results The TEN-SPIDERS tool was developed to support reproducible PDC calculations. While computation time was similar to a pre-existing package (116.5 vs 100.2 seconds), the TEN-SPIDERS tool had greater flexibility to incorporate adjustments for different medication taking situations. Bivariate comparison between different settings of TEN-SPIDERS highlighted strong correlation (Pearson’s r : >0.9) with MedAdhere, with additional adjustments creating greater variability. Conclusion The TEN-SPIDERS tool provides a transparent, reproducible, and efficient open-source method for medication adherence research within Australia, with potential applicability to similarly structured international datasets. Adoption of this tool will support global efforts for standardisation in medication adherence research.
Fields of Study & Subjects
Medication Adherence and Compliance
Medical Coding and Health Information
Pharmaceutical Practices and Patient Outcomes
Publication details
- Publication date
- 15 January 2026
- Document type
- Preprint