ROMOP: a light-weight R package for interfacing with OMOP-formatted electronic health record data

JAMIA Open. 2019 Apr;2(1):10-14. doi: 10.1093/jamiaopen/ooy059. Epub 2019 Jan 4.


Objectives: Electronic health record (EHR) data are increasingly used for biomedical discoveries. The nature of the data, however, requires expertise in both data science and EHR structure. The Observational Medical Out-comes Partnership (OMOP) common data model (CDM) standardizes the language and structure of EHR data to promote interoperability of EHR data for research. While the OMOP CDM is valuable and more attuned to research purposes, it still requires extensive domain knowledge to utilize effectively, potentially limiting more widespread adoption of EHR data for research and quality improvement.

Materials and methods: We have created ROMOP: an R package for direct interfacing with EHR data in the OMOP CDM format.

Results: ROMOP streamlines typical EHR-related data processes. Its functions include exploration of data types, extraction and summarization of patient clinical and demographic data, and patient searches using any CDM vocabulary concept.

Conclusion: ROMOP is freely available under the Massachusetts Institute of Technology (MIT) license and can be obtained from GitHub ( We detail instructions for setup and use in the Supplementary Materials. Additionally, we provide a public sandbox server containing synthesized clinical data for users to explore OMOP data and ROMOP (