title: Validation of psoriatic arthritis diagnoses in electronic medical records using natural language processing.
abstract: OBJECTIVE
  To test whether data extracted from full text patient visit notes from an electronic medical record would improve the classification of psoriatic arthritis (PsA) compared with an algorithm based on codified data.
  
  
  METHODS
  From the >1,350,000 adults in a large academic electronic medical record, all 2318 patients with a billing code for PsA were extracted and 550 were randomly selected for chart review and algorithm training. Using codified data and phrases extracted from narrative data using natural language processing, 31 predictors were extracted and 3 random forest algorithms were trained using coded, narrative, and combined predictors. The receiver operator curve was used to identify the optimal algorithm and a cut-point was chosen to achieve the maximum sensitivity possible at a 90% positive predictive value (PPV). The algorithm was then used to classify the remaining 1768 charts and finally validated in a random sample of 300 cases predicted to have PsA.
  
  
  RESULTS
  The PPV of a single PsA code was 57% (95% CI 55%-58%). Using a combination of coded data and natural language processing (NLP), the random forest algorithm reached a PPV of 90% (95% CI 86%-93%) at a sensitivity of 87% (95% CI 83%-91%) in the training data. The PPV was 93% (95% CI 89%-96%) in the validation set. Adding NLP predictors to codified data increased the area under the receiver operator curve (P < 0.001).
  
  
  CONCLUSIONS
  Using NLP with text notes from electronic medical records improved the performance of the prediction algorithm significantly. Random forests were a useful tool to accurately classify psoriatic arthritis cases to enable epidemiological research.
authors.affiliation: Brigham and Women's Hospital, Harvard Medical School, Boston, Massachusetts, USA. tlove2@partners.org
authors.forename: Thorvardur Jon
authors.initials: TJ
authors.lastname: Love
authors.forename: Tianxi
authors.initials: T
authors.lastname: Cai
authors.forename: Elizabeth W
authors.initials: EW
authors.lastname: Karlson
mesh_terms: D000368:Aged; D000465:Algorithms; D015535:Arthritis, Psoriatic / Q000145:classification / Q000175:diagnosis*; D057286:Electronic Health Records; D005260:Female; D006801:Humans; D008297:Male; D008875:Middle Aged; D009323:Natural Language Processing; D012372:ROC Curve; D012680:Sensitivity and Specificity