Skip to main content
Open Access Publications from the University of California

Predicting Inpatient Medication Orders From Electronic Health Record Data.

  • Author(s): Rough, Kathryn
  • Dai, Andrew M
  • Zhang, Kun
  • Xue, Yuan
  • Vardoulakis, Laura M
  • Cui, Claire
  • Butte, Atul J
  • Howell, Michael D
  • Rajkomar, Alvin
  • et al.

Published Web Location

In a general inpatient population, we predicted patient-specific medication orders based on structured information in the electronic health record (EHR). Data on over three million medication orders from an academic medical center were used to train two machine-learning models: A deep learning sequence model and a logistic regression model. Both were compared with a baseline that ranked the most frequently ordered medications based on a patient's discharge hospital service and amount of time since admission. Models were trained to predict from 990 possible medications at the time of order entry. Fifty-five percent of medications ordered by physicians were ranked in the sequence model's top-10 predictions (logistic model: 49%) and 75% ranked in the top-25 (logistic model: 69%). Ninety-three percent of the sequence model's top-10 prediction sets contained at least one medication that physicians ordered within the next day. These findings demonstrate that medication orders can be predicted from information present in the EHR.

Many UC-authored scholarly publications are freely available on this site because of the UC's open access policies. Let us know how this access is important for you.

Main Content
Current View