Performance of a Natural Language Processing Method to Extract Stone Composition From the Electronic Health Record
Related Experiment Video
Updated: Jan 22, 2026

Using Eye Movements Recorded in the Visual World Paradigm to Explore the Online Processing of Spoken Language
Published on: October 13, 2018
Cosmin A Bejan1, Daniel J Lee2, Yaomin Xu3
1Department of Biomedical Informatics, Vanderbilt University Medical Center, Nashville, TN.
Objectives:
To demonstrate the utility of a natural language processing (NLP) algorithm for mining kidney stone composition in a large-scale electronic health records (EHR) repository.
Methods:
We developed StoneX, a pattern-matching method for extracting kidney stone composition information from clinical notes. We trained the extraction algorithm on manually annotated text mentions of calcium oxalate monohydrate, calcium oxalate dihydrate, hydroxyapatite, brushite, uric acid, and struvite stones. We employed StoneX to identify patients with kidney stone composition data and mine >125 million notes from our institutional EHR. Analyses performed on the extracted patients included stone type conversions over time, survival analysis from a second stone surgery, and disease associations by stone composition to validate the phenotyping method against known associations.
Results:
The NLP algorithm identified 45,235 text mentions corresponding to 11,585 patients. Overall, the system achieved positive predictive value >90% for calcium oxalate monohydrate, calcium oxalate dihydrate, hydroxyapatite, brushite, and struvite; except for uric acid (positive predictive value = 87.5%). Survival analysis from a second stone surgery showed statistically significant differences among stone types (P = .03). Several phenotype associations were found: uric acid-type 2 diabetes (odds ratio, OR = 2.69, 95% confidence intervals, CI = 1.91-3.79), struvite-neurogenic bladder (OR = 12.27, 95% CI = 4.33-34.79), struvite-urinary tract infection (OR = 7.36, 95% CI = 3.01-17.99), hydroxyapatite-pulmonary collapse (OR = 3.67, 95% CI = 2.10-6.42), hydroxyapatite-neurogenic bladder (OR = 5.23, 95% CI = 2.05-13.36), brushite-calcium metabolism disorder (OR = 4.59, 95% CI = 2.14-9.81), and brushite-hypercalcemia (OR = 4.09, 95% CI = 1.90-8.80).
Conclusion:
NLP extraction of kidney stone composition from large-scale EHRs is feasible with high precision, enabling high-throughput epidemiological studies of kidney stone disease. These tools will enable high fidelity kidney stone research from the EHR.
More Related Videos
Related Concept Videos
Purpose of Health Records I
Here's a breakdown of how health records serve these purposes:
Purpose of Health Records II
Types of Building Stone
Igneous rocks are formed from the solidification of magma or lava. An example is granite, known for its durability and resistance to weathering, making it ideal for parts of...
Quarrying of Stone
One common method involves using a diamond belt saw to cut large blocks from the quarry face. These blocks can be about 50 feet long and 12 feet high. After the initial vertical cut, drilling is performed at the base of the...
Stone Masonry
High-Performance Liquid Chromatography: Elution Process

