EHR-RL

Repository for RL based prescriptive algorithm for the paper “Zheng, H., et al., In Press. Personalized multimorbidity management for patients with type 2 diabetes using reinforcement learning of electronic health records. Drugs.”

The research was conducted by Hua Zheng and supervised by Professor Wei Xie, Professor Judy Zhong aand Professor Ilya O. Ryzhov. Results and publications are primarily coming out from Professor Wei Xie’s research group. The paper has been accepted by Drugs and the preprint can be found in paper. We would appreciate a citation if you use the code or results!

Outline of our study:

We investigated the ability of a prescription algorithm of artificial intelligence (AI) to determine the best drugs/treatment for the chronic disease of type 2 diabetes to prevent hyperglycemia, hypertension and CV disease. We compared the results of the recommendations of the algorithm to decisions made by clinicians for their patients. The study demonstrated that the algorithm brought equal or better results than the doctors’ recommendations for these patients.

Main Results

High consistency with current clinical practice

By default, reinforcement learning, attempting to optimize the health outcomes, might result in a significantly different reccommendations from clinicians. However, our RL recommendations showed high levels of concordance with clinicians’ prescriptions for single outcome optimizations of glycemia, blood pressure and CVD risk control. This demonstrates the feasibility of using RL for T2DM management and indicates that clinicians make near-optimal decisions with regard to single-outcome management.

Higher Efficacy

RL based prescriptions significantly improves patients’ health outcomes and reduce the number of patients in serious conditions, i.e. SBP > 140 mmHg HbA1c > 8% and FHS CVD risk > 20%.

RL-glycemia      
Encounters for which algorithm’s recommendation differed from observed Clinician’s prescription (N(%)) 15,578 (13.9)    
  RL-glycemia Clinician’s prescription P-value
A1c (Mean(SE)) 7.80 (0.01) 8.09 (0.01) <0.001
A1c > 8% (N(%)) 5,421 (34.8) 6,617 (42.5) <0.001
RL-Blood Pressure      
Encounters for which algorithm’s recommendation differed from observed Clinician’s prescription (N(%)) 20,251 (17.1)    
  RL-BP Clinician’s prescription P-value
SBP(Mean(SE)) 131.77(0.06) 132.35 (0.11) <0.001
SBP > 140 mmHg (N(%)) 3,256 (16.1) 5,390 (26.6) <0.001
RL-CVD      
Encounters for which algorithm’s recommendation differed from observed Clinician’s prescription (N(%)) 946 (1.6)    
  RL-CVD Clinician’s prescription P-value
FHS (Mean(SE)) 13.65 (0.26) 17.18 (0.36) <0.001
FHS > 20% (N(%)) 237 (25.1) 299 (31.6) <0.001
RL-multimorbidity      
Encounters for which algorithm’s recommendation differed from observed Clinician’s prescription (N(%)) 102,184 (28.9)    
  RL-multimorbidity Clinician’s prescription P-value
A1c (Mean(SE)) 7.14 (0.003) 7.19 (0.005) <0.001
A1c > 8% (N(%)) 16,436 (16.08) 20,879 (20.43) <0.001
SBP (Mean(SE)) 129.40 (0.03) 129.58 (0.05) <0.001
SBP > 140 mmHg (N(%)) 9,800 (9.59) 20,957 (20.51) <0.001
FHS (Mean(SE)) 21.89 (0.04) 25.61 (0.05) <0.001
FHS > 20% (N(%)) 48,283 (47.3) 55,957 (54.8) <0.001

Less prescriptions

Both AI and doctor has similar prescriotive distribution but AI tends to prescribe less than doctors: drawing

Consistently performance acrosss different groups

drawing

Citation

Zheng, H., et al., In Press. Personalized multimorbidity management for patients with type 2 diabetes using reinforcement learning of electronic health records. Drugs.