Migrating a Well-Established Longitudinal Cohort Database From Oracle SQL to Research Electronic Data Entry (REDCap): Data Management Research and Design Study (Preprint)
Authors:
- Katharina KusejkoKKKatharina Kusejko
- Daniel SmithDSDaniel Smith
- Alexandra ScherrerASAlexandra Scherrer
- Paolo PaioniPPPaolo Paioni
- Malte Kohns VasconcelosMVMalte Kohns Vasconcelos
- Karoline Aebi-PoppKAKaroline Aebi-Popp
- Roger D KouyosRKRoger D Kouyos
- Huldrych F GünthardHGHuldrych F Günthard
- Christian R KahlertCKChristian R Kahlert
Preprint
- 24 November 2022
- preprint
- Published by JMIR Publications Inc. in JMIR Preprints
Abstract
BACKGROUND Providing user-friendly electronic data collection tools for large multicenter studies is key for obtaining high-quality research data. Research Electronic Data Capture (REDCap) is a software solution developed for setting up research databases with integrated graphical user interfaces for electronic data entry. The Swiss Mother and Child HIV Cohort Study (MoCHiV) is a longitudinal cohort study with around 2 million data entries dating back to the early 1980s. Until 2022, data collection in MoCHiV was paper-based. OBJECTIVE The objective of this study was to provide a user-friendly graphical interface for electronic data entry for physicians and study nurses reporting MoCHiV data. METHODS MoCHiV collects information on obstetric events among women living with HIV and children born to mothers living with HIV. Until 2022, MoCHiV data were stored in an Oracle SQL relational database. In this project, R and REDCap were used to develop an electronic data entry platform for MoCHiV with migration of already collected data. RESULTS The key steps for providing an electronic data entry option for MoCHiV were (1) design, (2) data cleaning and formatting, (3) migration and compliance, and (4) add-on features. In the first step, the database structure was defined in REDCap, including the specification of primary and foreign keys, definition of study variables, and the hierarchy of questions (termed “branching logic”). In the second step, data stored in Oracle were cleaned and formatted to adhere to the defined database structure. Systematic data checks ensured compliance to all branching logic and levels of categorical variables. REDCap-specific variables and numbering of repeated events for enabling a relational data structure in REDCap were generated using R. In the third step, data were imported to REDCap and then systematically compared to the original data. In the last step, add-on features, such as data access groups, redirections, and summary reports, were integrated to facilitate data entry in the multicenter MoCHiV study. CONCLUSIONS By combining different software tools—Oracle SQL, R, and REDCap—and building a systematic pipeline for data cleaning, formatting, and comparing, we were able to migrate a multicenter longitudinal cohort study from Oracle SQL to REDCap. REDCap offers a flexible way for developing customized study designs, even in the case of longitudinal studies with different study arms (ie, obstetric events, women, and mother-child pairs). However, REDCap does not offer built-in tools for preprocessing large data sets before data import. Additional software is needed (eg, R) for data formatting and cleaning to achieve the predefined REDCap data structure.Keywords
All Related Versions
- Published version: JMIR Formative Research, 7 (1), e44567.
This publication has 13 references indexed in Scilit:
- The rate of mother-to-child transmission of antiretroviral drug-resistant HIV strains is low in the Swiss Mother and Child HIV Cohort StudySwiss Medical Weekly, 2019
- Supplementary file 1.2018
- REDLetr: Workflow and tools to support the migration of legacy clinical data capture systems to REDCapInternational Journal of Medical Informatics, 2016
- Problems, challenges and promises: perspectives on precision medicineBriefings in Bioinformatics, 2015
- A New Initiative on Precision MedicineNew England Journal of Medicine, 2015
- Loss to follow‐up of HIV‐infected women after delivery: The Swiss HIV Cohort Study and the Swiss Mother and Child HIV Cohort StudyJournal of the International AIDS Society, 2014
- What Can Affect AOD–PM 2.5 Association?Environmental Health Perspectives, 2010
- Research electronic data capture (REDCap)—A metadata-driven methodology and workflow process for providing translational research informatics supportJournal of Biomedical Informatics, 2009
- Don't forget people and specimens that make the databaseNature, 2008
- Data Extraction and Ad Hoc Query of an Entity--Attribute--Value DatabaseJournal of the American Medical Informatics Association, 1998