Back to Evidence & Resource Library

Moonstone: A novel natural language processing system for inferring social risk from clinical narratives

M. Conway, S. Keyhani, L. Christensen, B.R. South, M. Vali, L.C. Walter, D.L. Mowery, S. Abdelrahman, W.W. Chapman
J Biomed Semantics

Background: Social risk factors are important dimensions of health and are linked to access to care, quality of life, health outcomes and life expectancy. However, in the Electronic Health Record, data related to many social risk factors are primarily recorded in free-text clinical notes, rather than as more readily computable structured data, and hence cannot currently be easily incorporated into automated assessments of health. In this paper, we present Moonstone, a new, highly configurable rule-based clinical natural language processing system designed to automatically extract information that requires inferencing from clinical notes. Our initial use case for the tool is focused on the automatic extraction of social risk factor information - in this case, housing situation, living alone, and social support - from clinical notes. Nursing notes, social work notes, emergency room physician notes, primary care notes, hospital admission notes, and discharge summaries, all derived from the Veterans Health Administration, were used for algorithm development and evaluation.

Results: An evaluation of Moonstone demonstrated that the system is highly accurate in extracting and classifying the three variables of interest (housing situation, living alone, and social support). The system achieved positive predictive value (i.e. precision) scores ranging from 0.66 (homeless/marginally housed) to 0.98 (lives at home/not homeless), accuracy scores ranging from 0.63 (lives in facility) to 0.95 (lives alone), and sensitivity (i.e. recall) scores ranging from 0.75 (lives in facility) to 0.97 (lives alone).

Conclusions: The Moonstone system is - to the best of our knowledge - the first freely available, open source natural language processing system designed to extract social risk factors from clinical text with good (lives in facility) to excellent (lives alone) performance. Although developed with the social risk factor identification task in mind, Moonstone provides a powerful tool to address a range of clinical natural language processing tasks, especially those tasks that require nuanced linguistic processing in conjunction with inference capabilities.

Conway M, Keyhani S, Christensen L, et al. Moonstone: A novel natural language processing system for inferring social risk from clinical narratives. J Biomed Semantics. 2019;10(1):6. PMID: 30975223. DOI: 10.1186/s13326-019-0198-0.

View the Resource
Publication year
Resource type
Peer Reviewed Research
Outcomes
Social Needs/ SDH
Social Determinant of Health
Housing Stability
Social Support/Social Isolation
Study design
Other Study Design
Keywords