PLeDO: Pain Level Detection for Osteoarthritis from EMR Data
Organizations: School of Computing, Queen’s University, Kingston, Ontario, Canada · Department of Family Medicine, Queen’s University, Kingston, Ontario, Canada
Abstract
Osteoarthritis (OA) is a progressive chronic joint disease resulting in a breakdown of articular cartilage and bone when damaged joint tissues are not able to normally repair themselves. The aim of this pilot research study is to understand the pain severity for OA from patients' primary care Electronic Medical Records (EMR), both from the structured medical data and the unstructured chart note data using information extraction, natural language processing and machine learning techniques. We propose SPaDe, a Synonym-based Pain level Detection tool to categorize patients into having mild or moderate-to-severe pain to understand diagnosis and treatment methods based on only the pain related expressions in the unstructured chart note. Expressions are subjective, objective, and influenced by cultural background and demography which poses a difficult challenge. Therefore, we improve the model by incorporating the medication information from the structured EMR data and pain scale related information from the chart note to propose an integrated pain level detection tool for OA called PLeDO. With the help of human labeled gold standard data, we demonstrate that both SPaDe and PLeDO can detect mild and moderate-to-severe pain from the EMR data to analyze and potentially improve the quality of care in primary care setting.
Figures & tables
| Creation of Study Sample | Num. of Patients |
|---|---|
| Total OA Patients (2010-2022) | 23,431 |
| After applying Inclusion Criteria | 2,044 |
| After applying Inclusion and Exclusion Criteria | 797 |
| Total Samples to Create Gold Standard Data | 269 |
| Gold Standard Samples Missing Pain Info | 113 |
| Final Gold Standard Samples | 156 |
| PLWD | Example words from the dictionary | ||||
|---|---|---|---|---|---|
| Mild | low | slight | mild | small | tingling |
| Moderate | aching | tearing | hurting | medium | sharp |
| Severe | beating | grounding | lancinating | crushing | heavy |
| Mild | Moderate | Severe | |
|---|---|---|---|
| 0 | 0.61 | 0.26 | 0.13 |
| 1 | 0.51 | 0.28 | 0.21 |
| 2 | 0.48 | 0.38 | 0.14 |
| Class | Chemical Name |
|---|---|
| ACETAMINOPHEN | ACETAMINOPHEN |
| TOPICAL NSAIDs | DICLOFENAC |
| ORAL NSAID | ORAL NSAID, CELECOXIB, DICLOFENAL, IBUPROFEN, INDOMETHACIN, KETOPROFEN, KETOROLAC, MEFENAMIC ACID, MELOXICAM, NAPROXEN, PIROXICAM, SULINDAC, TIAPROFENIC ACID |
| STRONG OPIOIDS | CODEINE, BUPRENORPHINE, FENTANYL, OXYCODONE, HYDROCODONE, HYDROMORPHONE, MORPHINE, METHADONE, TAPENTADOL |
| TRAMADOL | TRAMADOL |
| DULOXETINE | DULOXETINE |
| Pain Levels | Medications |
|---|---|
| Mild | ACETAMINOPHEN, DICLOFENAC, CELECOXIB, DICLOFENAL, DULOXETINE FLURBIPROFEN, IBUPROFEN, INDOMETHACIN, KETOPROFEN, KETOROLAC, MEFENAMIC ACID, MELOXICAM, NAPROXEN, PIROXICAM, SULINDAC, TIAPROFENIC ACID |
| Moderate-to-Severe | TRAMADOL, HYDROCODONE, CODEINE, BUPRENORPHINE, FENTANYL, OXYCODONE HYDROCODONE, HYDROMORPHONE, MORPHINE, METHADONE, TAPENTADOL |
| Accuracy | Precision (PPV) | Recall (Sensitivity) | Specificity | F1 | AUROC | |
| Pain Scale-based Approach | 0.551 | 0.572 | 0.589 | 0.589 | 0.536 | 0.589 |
| Medication-based Approach | 0.551 | 0.560 | 0.575 | 0.575 | 0.532 | 0.575 |
| SPaDe | 0.577 | 0.541 | 0.549 | 0.549 | 0.533 | 0.549 |
| PLeDO - Pain Scale-based Approach + Medication-based Approach + Pain Expression-based Approach | 0.551 | 0.566 | 0.582 | 0.582 | 0.534 | 0.582 |
| PLeDO + Pain Scale-based Approach - Medication-based Approach + SPaDe | 0.622 | 0.547 | 0.552 | 0.552 | 0.548 | 0.551 |
| PLeDO + Pain Scale-based Approach + Medication-based Approach - SPaDe | 0.660 | 0.601 | 0.614 | 0.614 | 0.604 | 0.614 |
Medical Diagnosis
Medical diagnosis uses clinical data, tests, and images to identify diseases, assess risk, and guide care.
See all 262 papers