Related Experiment Video
Updated: Jan 26, 2026

Using Visual and Narrative Methods to Achieve Fair Process in Clinical Care
Published on: February 16, 2011
Moonstone: a novel natural language processing system for inferring social risk from clinical narratives
Mike Conway1, Salomeh Keyhani2,3, Lee Christensen4
1Department of Biomedical Informatics, 421 Wakara Way, University of Utah, alt Lake City, 84108, UT, USA. mike.conway@utah.edu.
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.
More Related Videos
Related Concept Videos
Scientific Nature of Social Psychology
Social Scripts
Causes of Social Behavior II: Cognitive Processes
The Sense of Self: Reflected Self-Appraisal and Social Comparison
Automatic Processing and Automatic Social Behavior
Nature and Nurture

