Linkage of Primary Care Prescribing Records and Pharmacy Dispensing Records in Asthma Controller Medications

Main Article Content

Holly Tibble
Aziz Sheikh
Athanasios Tsanas
Robert Horne
Mehrdad Mizani
Colin Simpson
James Lay-Flurrie

Abstract

Background
In the UK, issued prescriptions are typically taken to pharmacies, where medications are prepared, recorded, and dispensed. Data Linkage between prescribing and pharmacy dispensing records is not routinely conducted at the individual prescription level for clinical care in England and Wales, however it can be particularly useful for the study of pharmacoepidemiology. With no unique prescribing event identifiers between records, an algorithmic approach is required for this linkage.


Aims
To create a linkage system for primary care prescribed asthma controller medications and pharmacy dispensing records.


Methods
Free text labels were used to populate fields for data linkage, relating to medication strength, medication type (active ingredients; allows matching of generic substitutions to named brands), doses per medication unit, prescribed units, and prescribed doses. Prescribing and dispensing records were merged using an inner (many to many) join; generating a candidate link for every combination of records matching on unique patient identifier and medicine. A recursive algorithm was developed and applied, working backwards chronologically through dispensing records and finding the most appropriate match based on the time since prescribing and agreement between the medication description fields. Unmatched records were assessed for quality assurance, and the distribution of linkage strength for matches was examined.


Results
We developed a harmonisation algorithm in a dataset of over 3 million asthma controller medication prescription records, for which almost 3 in 4 were coded according to the number of units (predominantly inhalers). Incorporating the estimated number of doses prescribed/dispensed into our wider matching algorithm, we were able to find unique prescription records for almost 95% of our dispensing records.


Conclusion
Early findings demonstrate the accuracy of the developed algorithm linking prescribing and dispensing records. This algorithm can easily be generalised to other conditions.

Background

In the UK, issued prescriptions are typically taken to pharmacies, where medications are prepared, recorded, and dispensed. Data Linkage between prescribing and pharmacy dispensing records is not routinely conducted at the individual prescription level for clinical care in England and Wales, however it can be particularly useful for the study of pharmacoepidemiology. With no unique prescribing event identifiers between records, an algorithmic approach is required for this linkage.

Aims

To create a linkage system for primary care prescribed asthma controller medications and pharmacy dispensing records.

Methods

Free text labels were used to populate fields for data linkage, relating to medication strength, medication type (active ingredients; allows matching of generic substitutions to named brands), doses per medication unit, prescribed units, and prescribed doses. Prescribing and dispensing records were merged using an inner (many to many) join; generating a candidate link for every combination of records matching on unique patient identifier and medicine. A recursive algorithm was developed and applied, working backwards chronologically through dispensing records and finding the most appropriate match based on the time since prescribing and agreement between the medication description fields. Unmatched records were assessed for quality assurance, and the distribution of linkage strength for matches was examined.

Results

We developed a harmonisation algorithm in a dataset of over 3 million asthma controller medication prescription records, for which almost 3 in 4 were coded according to the number of units (predominantly inhalers). Incorporating the estimated number of doses prescribed/dispensed into our wider matching algorithm, we were able to find unique prescription records for almost 95% of our dispensing records.

Conclusions

Early findings demonstrate the accuracy of the developed algorithm linking prescribing and dispensing records. This algorithm can easily be generalised to other conditions.

Article Details

How to Cite
Tibble, H., Sheikh, A., Tsanas, A., Horne, R., Mizani, M., Simpson, C. and Lay-Flurrie, J. (2019) “Linkage of Primary Care Prescribing Records and Pharmacy Dispensing Records in Asthma Controller Medications”, International Journal of Population Data Science, 4(3). doi: 10.23889/ijpds.v4i3.1191.

Most read articles by the same author(s)

1 2 > >>