OpenCodeCounts : An open-access, interactive online tool and R package for analysing clinical code usage in England
Discuss this preprint
Start a discussion What are Sciety discussions?Listed in
This article is not in any list yet, why not save it to one of your lists.Abstract
Clinical codes are unique identifiers used in electronic health records to document specific information, such as diagnoses, procedures or medications. Because of their structured and systematic nature, they are often used for research, audit and service evaluation. Knowing how frequently certain codes are recorded can be invaluable in planning such work. For example, not all events are recorded with equal frequency, so knowing the usage of specific codes helps determine research feasibility.
In England, data on the frequency of clinical code recording is openly available for three classification systems used in primary and secondary care: SNOMED CT, ICD-10 and OPCS-4. However, these valuable datasets, showing how frequently individual clinical code were used, are difficult to access and analyse in their current format, hindering their application in research and service evaluation.
We developed OpenCodeCounts , an interactive online tool with an accompanying R package that help users explore and analyse England’s primary and secondary care clinical coding data. Both are compatible with OpenCodelists . org : a publicly available and free-to-use platform for codelist development and sharing. This article describes the underlying datasets, the development of the opencodecounts R package and the interactive app, and showcases their applications for electronic health records research.
Plain English Summary
Electronic health records (EHR) are a summary of patients’ medical files. They are a useful resource for researchers who want to study health and healthcare use. EHR often use unique codes to record diagnoses, treatments, procedures and other clinical information. These codes help organise and standardise healthcare data. Researchers working with EHR need to know how often different codes are used to plan studies and build accurate lists of codes (called codelists) for their research. In England, data on how often these medical codes are used is publicly available as large spreadsheets, which makes it time-consuming to access and analyse.
To make this easier, we created an interactive online tool that allows researchers to explore and visualise this information easily, as well as an R package - a collection of tools written in the R programming language. The package, called opencodecounts , allows researchers to access and study this information. We made these tools compatible with a publicly available website for codelists preparation and sharing, called OpenCodelists . org . In this article, we describe the underlying data, explain how the tools were developed, and demonstrate how they can be used to support research using EHR.