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
. 2021 Mar 25;11(3):e042274.
doi: 10.1136/bmjopen-2020-042274.

Text mining occupations from the mental health electronic health record: a natural language processing approach using records from the Clinical Record Interactive Search (CRIS) platform in south London, UK

Affiliations

Text mining occupations from the mental health electronic health record: a natural language processing approach using records from the Clinical Record Interactive Search (CRIS) platform in south London, UK

Natasha Chilman et al. BMJ Open. .

Abstract

Objectives: We set out to develop, evaluate and implement a novel application using natural language processing to text mine occupations from the free-text of psychiatric clinical notes.

Design: Development and validation of a natural language processing application using General Architecture for Text Engineering software to extract occupations from de-identified clinical records.

Setting and participants: Electronic health records from a large secondary mental healthcare provider in south London, accessed through the Clinical Record Interactive Search platform. The text mining application was run over the free-text fields in the electronic health records of 341 720 patients (all aged ≥16 years).

Outcomes: Precision and recall estimates of the application performance; occupation retrieval using the application compared with structured fields; most common patient occupations; and analysis of key sociodemographic and clinical indicators for occupation recording.

Results: Using the structured fields alone, only 14% of patients had occupation recorded. By implementing the text mining application in addition to the structured fields, occupations were identified in 57% of patients. The application performed on gold-standard human-annotated clinical text at a precision level of 0.79 and recall level of 0.77. The most common patient occupations recorded were 'student' and 'unemployed'. Patients with more service contact were more likely to have an occupation recorded, as were patients of a male gender, older age and those living in areas of lower deprivation.

Conclusion: This is the first time a natural language processing application has been used to successfully derive patient-level occupations from the free-text of electronic mental health records, performing with good levels of precision and recall, and applied at scale. This may be used to inform clinical studies relating to the broader social determinants of health using electronic health records.

Keywords: adult psychiatry; epidemiology; health informatics; mental health.

PubMed Disclaimer

Conflict of interest statement

Competing interests: None declared.

Figures

Figure 1
Figure 1
A step-by-step illustration of the methods used for the occupation application development and evaluation, with the number and types of documents used at each step. CRIS, Clinical Record Interactive Search.
Figure 2
Figure 2
The process undertaken by the occupation application when text mining occupations from the clinical free-text field.
Figure 3
Figure 3
The study population selection and extraction results from text mining occupations from the Clinical Record Interactive Search (CRIS) case register.

Similar articles

Cited by

References

    1. Luciano A, Meara E. Employment status of people with mental illness: national survey data from 2009 and 2010. Psychiatr Serv 2014;65:1201–9. 10.1176/appi.ps.201300335 - DOI - PMC - PubMed
    1. Marwaha S, Johnson S, Bebbington P, et al. . Rates and correlates of employment in people with schizophrenia in the UK, France and Germany. Br J Psychiatry 2007;191:30–7. 10.1192/bjp.bp.105.020982 - DOI - PubMed
    1. Dunn EC, Wewiorski NJ, Rogers ES. The meaning and importance of employment to people in recovery from serious mental illness: results of a qualitative study. Psychiatr Rehabil J 2008;32:59–62. 10.2975/32.1.2008.59.62 - DOI - PubMed
    1. Marwaha S, Johnson S. Schizophrenia and employment - a review. Soc Psychiatry Psychiatr Epidemiol 2004;39:337–49. 10.1007/s00127-004-0762-4 - DOI - PubMed
    1. Moscone F, Tosetti E, Vittadini G. The impact of precarious employment on mental health: the case of Italy. Soc Sci Med 2016;158:86–95. 10.1016/j.socscimed.2016.03.008 - DOI - PubMed

Publication types

LinkOut - more resources