Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2016 Feb 26;11(2):e0146715.
doi: 10.1371/journal.pone.0146715. eCollection 2016.

Modelling Conditions and Health Care Processes in Electronic Health Records: An Application to Severe Mental Illness with the Clinical Practice Research Datalink

Affiliations

Modelling Conditions and Health Care Processes in Electronic Health Records: An Application to Severe Mental Illness with the Clinical Practice Research Datalink

Ivan Olier et al. PLoS One. .

Abstract

Background: The use of Electronic Health Records databases for medical research has become mainstream. In the UK, increasing use of Primary Care Databases is largely driven by almost complete computerisation and uniform standards within the National Health Service. Electronic Health Records research often begins with the development of a list of clinical codes with which to identify cases with a specific condition. We present a methodology and accompanying Stata and R commands (pcdsearch/Rpcdsearch) to help researchers in this task. We present severe mental illness as an example.

Methods: We used the Clinical Practice Research Datalink, a UK Primary Care Database in which clinical information is largely organised using Read codes, a hierarchical clinical coding system. Pcdsearch is used to identify potentially relevant clinical codes and/or product codes from word-stubs and code-stubs suggested by clinicians. The returned code-lists are reviewed and codes relevant to the condition of interest are selected. The final code-list is then used to identify patients.

Results: We identified 270 Read codes linked to SMI and used them to identify cases in the database. We observed that our approach identified cases that would have been missed with a simpler approach using SMI registers defined within the UK Quality and Outcomes Framework.

Conclusion: We described a framework for researchers of Electronic Health Records databases, for identifying patients with a particular condition or matching certain clinical criteria. The method is invariant to coding system or database and can be used with SNOMED CT, ICD or other medical classification code-lists.

PubMed Disclaimer

Conflict of interest statement

Competing Interests: All authors have completed the Unified Competing Interest form at www.icmje.org/coi_disclosure.pdf (available on request from the corresponding author) and declare the following: EK and SR were partly supported by NIHR School for Primary Care Research fellowships in primary health care; TD was supported by a NIHR Career Development Fellowship; no financial relationships with any organisations that might have an interest in the submitted work in the previous three years; no other relationships or activities that could appear to have influenced the submitted work. The authors cannot share the Clinical Practice Research Datalink data (which was used for the SMI exemplar) due to licensing restrictions.

Figures

Fig 1
Fig 1. Process flowchart The first step is the definition and delineation of the condition.
Within UK primary care, it is also important to consider whether the condition is one of those incentivised under the QOF, since a specific set of business rules will be available for use as a starting point. An expert panel, consisting of clinicians with experience in the particular condition and primary care clinical systems, should suggest a set of search key-words, key-phrases and codes (QOF-specific or not). In the context of a primary care database like the CPRD, the search is focused on two lookup files which contain codes and descriptions for clinical events (mainly diagnoses and referrals) and products (mainly drugs). To facilitate the search we have created pcdsearch a Stata/R command that can automate this aspect of the process, implementing advanced search rules which we describe in the next section.
Fig 2
Fig 2. Search terms used with pcdsearch to obtain the intermediate SMI code-list*.
* QOF codes are not directly used in the search algorithm but are used to inform the code-stubs to be used.
Fig 3
Fig 3. Frequencies for code categories in the final Read code-list.
Fig 4
Fig 4. SMI Prevalence (top) and incidence (bottom) rates over time, using QOF and conservative code lists.
Fig 5
Fig 5. SMI Prevalence rates over time using QOF and conservative code lists, for men (top) and women (bottom).

References

    1. Hsiao CJ, Hing E, Socey TC, Cai B. Electronic health record systems and intent to apply for meaningful use incentives among office-based physician practices: United States, 2001–2011. NCHS Data Brief. 2011;(79):1–8. . - PubMed
    1. Kushniruk AW, Bates DW, Bainbridge M, Househ MS, Borycki EM. National efforts to improve health information system safety in Canada, the United States of America and England. Int J Med Inform. 2013;82(5):E149–E60. 10.1016/j.ijmedinf.2012.12.006 . - DOI - PubMed
    1. Ludvigsson JF, Andersson E, Ekbom A, Feychting M, Kim JL, Reuterwall C, et al. External review and validation of the Swedish national inpatient register. BMC Public Health. 2011;11:450 10.1186/1471-2458-11-450 - DOI - PMC - PubMed
    1. Shephard E, Stapley S, Hamilton W. The use of electronic databases in primary care research. Fam Pract. 2011;28(4):352–4. 10.1093/fampra/cmr039 . - DOI - PubMed
    1. Kontopantelis E, Buchan I, Reeves D, Checkland K, Doran T. Relationship between quality of care and choice of clinical computing system: retrospective analysis of family practice performance under the UK's quality and outcomes framework. BMJ open. 2013;3(8). 10.1136/bmjopen-2013-003190 - DOI - PMC - PubMed

Publication types