Background <p>Self-reported medication data collected as free text in gerontological and dementia research is often unstructured with inconsistent formatting. These circumstances pose a challenge for standardization and classification when preparing effective, reproducible analyses. Spelling variations, naming conventions, and reporting drug combinations can hinder mapping to standard pharmacologic vocabularies and compromise medication exposure assessments. We aimed to develop and implement a transparent, reproducible, and scalable data harmonization pipeline that ingests free-text medication records and classifies them according to American Hospital Formulary Service (AHFS) therapeutic categories.</p> Methods <p>A four-phase curation pipeline processed 30,062 Research Electronic Data Capture (REDCap) medication records collected over nearly a decade of annual visits in The Driving Real-world In-Vehicle Evaluation System (DRIVES)Project. In Phase 1, the pipeline standardized medication names using deterministic and fuzzy matching techniques, incorporating Drug-Named-Entity Recognition (DER), the <i>thefuzz</i> Python library, and expert review. Phase 2 mapped drugs to AHFS categories via DrugBank and RxNorm. Phase 3 generated a wide-format dataset with binary class-level exposure indicators. Phase 4 involved a final quality review with auditable documentation.</p> Results <p>Out of 30,062 entries, 16,902 eligible prescription entries remained after the removal of vitamins, supplements, and over-the-counter (OTC) drugs. Of these, automated or semi-automated processes successfully standardized 94.2% of entries, with only 5.8% requiring further expert review. A total of 444 unique medications were successfully mapped to AHFS classifications. The curated dataset enables efficient integration into analytical models and supports reproducible assessment of medication exposure.</p> Conclusions <p>This pipeline addresses a key methodological challenge in clinical research by providing a reproducible, scalable solution for harmonizing unstructured medication data and enhancing its analytical utility.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Harmonizing self-reported and free text medication data: a reproducible pipeline for gerontological research

  • Ramkrishna K. Singh,
  • Chen Chen,
  • Semere Bekena,
  • David C. Brown,
  • Kaylin Taylor,
  • Matthew Blake,
  • Yiqi Zhu,
  • Kebede Beyene,
  • David B. Carr,
  • Ganesh M. Babulal

摘要

Background

Self-reported medication data collected as free text in gerontological and dementia research is often unstructured with inconsistent formatting. These circumstances pose a challenge for standardization and classification when preparing effective, reproducible analyses. Spelling variations, naming conventions, and reporting drug combinations can hinder mapping to standard pharmacologic vocabularies and compromise medication exposure assessments. We aimed to develop and implement a transparent, reproducible, and scalable data harmonization pipeline that ingests free-text medication records and classifies them according to American Hospital Formulary Service (AHFS) therapeutic categories.

Methods

A four-phase curation pipeline processed 30,062 Research Electronic Data Capture (REDCap) medication records collected over nearly a decade of annual visits in The Driving Real-world In-Vehicle Evaluation System (DRIVES)Project. In Phase 1, the pipeline standardized medication names using deterministic and fuzzy matching techniques, incorporating Drug-Named-Entity Recognition (DER), the thefuzz Python library, and expert review. Phase 2 mapped drugs to AHFS categories via DrugBank and RxNorm. Phase 3 generated a wide-format dataset with binary class-level exposure indicators. Phase 4 involved a final quality review with auditable documentation.

Results

Out of 30,062 entries, 16,902 eligible prescription entries remained after the removal of vitamins, supplements, and over-the-counter (OTC) drugs. Of these, automated or semi-automated processes successfully standardized 94.2% of entries, with only 5.8% requiring further expert review. A total of 444 unique medications were successfully mapped to AHFS classifications. The curated dataset enables efficient integration into analytical models and supports reproducible assessment of medication exposure.

Conclusions

This pipeline addresses a key methodological challenge in clinical research by providing a reproducible, scalable solution for harmonizing unstructured medication data and enhancing its analytical utility.