Skip to content
/ medx Public

MedX package automates the calculation of Medication Regimen Complexity from EHR data

License

Notifications You must be signed in to change notification settings

tirilab/medx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MedX: Medication Regimen Complexity Calculation Python Package

Overview

MedX is a Python package intended to transform longitudinal prescription data from the electronic health record (EHR) into patient-level medication regimen complexity metrics.

Understanding medication regimen complexity is important to understand what patients may benefit from pharmacist interventions.

MedX can take patient-level EHR data as input and then for each patient, calculate two medication regimen complexity metrics: Medication Regimen Complexity Index (MRCI) score[1] and Medication Count.

The study team pilot-tested MedX with data collected in the ALIGN (Aligning Medications with What Matters Most) study.[2]

A sample of EHR pseudodata can be found here.

Dependencies and Requirements of MedX

  • Python >= 3.6
  • Pandas

Installation and Usage

Check here for installation and usage documentation.

Issue

Submit bug reports and feature requests to MedX bug tracker.

References

  1. George J, Phun Y-T, Bailey MJ, Kong DC, Stewart K. Development and validation of the medication regimen complexity index. Annals of Pharmacotherapy. 2004;38(9):1369–76. doi:10.1345/aph.1d479

  2. Green A. Align: Aligning Medications with What Matters Most, a pharmacist-led deprescribing intervention. 2022Jun21; Available from: https://beta.clinicaltrials.gov/study/NCT04938648

License and Citation

The MedX package was written by Louise Lu [[email protected]] and can be used as-is under the MIT License attached to the repository.

Please cite this article if using this package:

Lu Y, Green AR, Quiles R, Taylor CO. An Automated Strategy to Calculate Medication Regimen Complexity. In AMIA Annual Symposium Proceedings 2023 (Vol. 2023, p. 1077). link

About

MedX package automates the calculation of Medication Regimen Complexity from EHR data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages