Chief Analytics Officer Fall USA 2017 - Oleg Pianykh - Massachussets General Hospital

Preview:

Citation preview

Predictive analytics for patient wait-time management, and on-time clinical

workflow

Oleg S. Pianykh, PhD

Medical Analytics Group Department of Radiology, Massachusetts General Hospital

Harvard Medical School

Chief Analytics Officer October 2017, Boston

Outline

• Assessing the importance of patient wait-time management and predictability.

• Creating wait-time models.

• Lessons learned in predicting wait-time and impact on hospital efficiency. Queuing bottlenecks.

• Implementation challenges: culture changes, best interventions, and organic growth of data-driven solutions.

Oleg Pianykh opiany@gmail.com https://www.chiefanalyticsofficerforum.com/seminar/keynote-presentation-harnessing-analytics-personalisation-precision-health-applications/

Big Data market hype

Oleg Pianykh opiany@gmail.com

Big Data in healthcare: Hype and reality

0

200

400

600

800

1000

1200

1400

1980 1985 1990 1995 2000 2005 2010 2015

Pu

bM

ed p

ub

licat

ion

co

un

t

Year

PubMed publications with "Big Data"

Big Data on paper: exponential growth (wow!)

Big Data in reality: “business as usual”

Oleg Pianykh opiany@gmail.com

Predicting healthcare workflow

Oleg Pianykh opiany@gmail.com

Important timelines to predict in healthcare

• Length of stay

• Discharge time

• Patient wait

• Survival time, clinical prognosis

• Recurrence time (cancer etc.) and probability

… and many more

Oleg Pianykh opiany@gmail.com

Benefits of predictability

• One can run hospital operations much better knowing what to expect. Resources can be allocated more appropriately and ahead of time, expected bottlenecks can be avoided or dealt with more efficiently.

• All workflow participants (patients, staff, management) are less stressed and more satisfied when events are predictable and everything goes “as planned”

• Workflow predictability, in essence, is synonymous to successful workflow management. You cannot manage unpredictable.

Oleg Pianykh opiany@gmail.com

Problem: Patient wait time

• Patient wait time was shown to be the #1 satisfaction factor for patient experience in a hospital.

Oleg Pianykh opiany@gmail.com http://www.hhnmag.com/articles/6417-the-push-is-on-to-eliminate-hospital-wait-times

Problem: Patient wait time

Oleg Pianykh opiany@gmail.com

Wait time W Exam length EL

Time on the floor F

Mining wait time data

• Q: How do we find patient wait time ?

Oleg Pianykh opiany@gmail.com

W = Tb - Ta

Patient Accession Arrival Ta Begin Tb Complete Resource Exam Tech

123456 E33445 2016-08-15 14:23:45

2016-08-15 15:03:09

2016-08-15 15:19:45

MR1 MRKNEE John Smith

… … … … … … … …

Patient wait line size

• Q: How do we find the number of patients waiting for exams at any given time T ?

Oleg Pianykh opiany@gmail.com

Number L of patients such that Ta < T < Tb

Patient Wait Time: Changing patterns

Oleg Pianykh opiany@gmail.com

Afternoon drop, Th & Fr

Lunch drop

Worst hour 10:30-11:30 AM

Number of patients waiting in line: average (black) and

worst (blue) cases

“The doctor will be with you momentarily”…

Oleg Pianykh opiany@gmail.com

Patients waiting for different exam types

• Facing the reality: noise/randomness, temporal trends, different patterns in W values…

• It is obvious that static prediction (“10 minutes on average”) won’t work

Oleg Pianykh opiany@gmail.com 0

5

10

15

20

25

30

35

40

1 51 101 151 201 251 301 351 401 451 501

Wai

t ti

me

W, m

inu

tes

D

B

C A

Patient timeline

Wait times for the first 500 X-ray patients

“The doctor will be with you momentarily”…

How do we predict the future wait?

Oleg Pianykh opiany@gmail.com

Main goal: let’s develop a practical solution

• Scenario: • A new patient walks into a waiting room. The most frequently question

he/she will ask when checking in would be “How long will it take?”. Can we answer it intelligently?

• Most frequent (and the most misleading) answer: “The doctor will be with you momentarily”. Then, after some 47 minutes of waiting...

• We know that the wait for the patient arriving at T=Ta time can be found as W=Tb-Ta. We can also use BD to find some other information about the patients, exams, waiting lines. Can this help?

Oleg Pianykh opiany@gmail.com

How would you predict patient wait?

• Q: What predictors would you use? • How many?

• Which ones are the best?

• Q: What model would you prefer?

Oleg Pianykh opiany@gmail.com

Features = ?

Model = ?

Predicting with basic linear models

• Predictors: anything we can get from our HIS! p1, p2, p3, p4, p5, …

• Model: Linear regression W = c0 + c1p1 + c2p2 +c3p3 +c4p4 + c5p5 + … = [I P] × C

(where I is a vector of 1, “intercept”)

• Optimal/important predictors – let the model decide!

Oleg Pianykh opiany@gmail.com

“State of the Art”: very simple predictions

1. p1 = “previous patient wait time”, c0 = 0, c1= 1, c2 = 0, then

- “waiting the same as the previous patient”

2. p1 , p2 = “previous patient wait time”, c0 = 3 (time to fill patient form), c1 = c2 = 1/2, then

- “filling the form, then waiting the same as the average of the previous two patients”

Oleg Pianykh opiany@gmail.com

W = c0 + c1p1 + c2p2 + … = p1

W = c0 + c1p1 + c2p2 + … = 3 + (p1+p2)/2

Can we do better than this?

Predictors: The more, the merrier

Oleg Pianykh opiany@gmail.com

Let the model decide!

Oleg Pianykh opiany@gmail.com

Prediction error

Predictor count (model size) Highest

impact Highest accuracy

Small models – great for understanding Large models – might provide better accuracy

Let the model decide!

Oleg Pianykh opiany@gmail.com

Small model size: understanding

Best model: W = c0 + c1L1 + c2L2 +c3L3, where L1 , L2 and L3 are the line sizes – number of patients waiting now, 5 minutes ago, and 10 minutes ago

Use stepwise regression to reduce model size

Predicting patient wait time

• Not bad for a simple model:

Oleg Pianykh opiany@gmail.com

No filtering!

Predicting patient wait time: ML approach

Oleg Pianykh opiany@gmail.com

No filtering!

ML vs simple linear model: X-Ray case

Oleg Pianykh opiany@gmail.com

ML vs simple linear model: CT case

Oleg Pianykh opiany@gmail.com

ML in predicting patient wait

• More complex model:

Oleg Pianykh opiany@gmail.com

No filtering!

Real wait

Predicted wait Patient timeline

Del

ay t

ime

Patient wait time: Action

• Patient wait time displays in waiting rooms

• Patient satisfaction

• Staff paying more attention to workflow

88% of patients: “We love those displays, you should have them in all hospital rooms”

Lessons learned

Oleg Pianykh opiany@gmail.com

Principal lessons learned

• Own your data

• Stay engaged

• Value negative feedback

• Look for impact

Oleg Pianykh opiany@gmail.com

Data is everything

10-min bins

5-min bins

1-min bins

What’s going on??

Oleg Pianykh opiany@gmail.com

Challenges

Oleg Pianykh opiany@gmail.com

Randomness

STD = 0.27×Average Longer scans are harder

to schedule !

If anything can go wrong it will

Oleg Pianykh opiany@gmail.com

Uneven workload

Exams completed, hourly pattern

Oleg Pianykh opiany@gmail.com

What operational decisions can you make based on this chart?

Culture

10-min bins

5-min bins

1-min bins

What’s going on??

Oleg Pianykh opiany@gmail.com

Data silos

Oleg Pianykh opiany@gmail.com

Data quality

Oleg Pianykh opiany@gmail.com

???

???

0

5

10

15

20

25

30

6 8 10 12 14 16 18 20 22 24

Scheduled to First Image, minutes

ScheduledToFirstImageTime

Scheduling discipline • Let’s visualize time from the scheduled exam start (when we want it

to start) to the first scanned image: d = Ti-Ts

Oleg Pianykh opiany@gmail.com

We start late

It gets only worse We run

completely behind

-10

-5

0

5

10

15

20

25

30

6 8 10 12 14 16 18 20 22 24

Scheduled to First Image, minutes

ScheduledToFirstImageTime ScheduledToFirstImageTime_14

Scheduling discipline: Starting the first exam on time

• Trying to start on time:

Oleg Pianykh opiany@gmail.com

We start on time

We start late

Using the right metrics: Old approach

M: “Average MRI scan should take 45 minutes”

D: “Currently, it takes 50 minutes”

C: “Shorten MRI protocols by 10%”

Metrics Data Compliance

Using the right metrics: New approach:

P: “Patients have to wait 3 weeks for MRI scans”

Da: “Poor scheduling and lack of resources”

S: “Improve scheduling, optimize resources”

Problem Data analysis Solution

metrics (distance to success)

Putting Big Data to work

Action

Big Data

Patterns

Logic

Oleg Pianykh opiany@gmail.com

Iterate until proven success!

Conclusions

• Patterns are everything

• You have to identify the underlying logic which creates certain patterns

• You have to convert this logic into actions to improve your system

• You can use data to verify the success of your actions

Oleg Pianykh opiany@gmail.com

Action

Data

Patterns

Logic

Roll up your sleeves!

Oleg Pianykh opiany@gmail.com

Oleg Pianykh opiany@gmail.com

Extra slides

Oleg Pianykh opiany@gmail.com

Big Data in Healthcare applications

• We all are getting extremely used to the “Big Data” buzzwords. But what does it mean, practically?

• Larger data volume?

• Better data?

• More diverse data?

• … ?

Oleg Pianykh opiany@gmail.com

Big vs. Small

Oleg Pianykh opiany@gmail.com

Patterns!

Avg. length = 2

STD=0.3

Couple of stats

Big vs. Small: Patterns !

Oleg Pianykh opiany@gmail.com

Exam Duration Time

• Pattern: Unusually frequent exam durations

• Logic: Invalid input (rounding time to multiples of 5 or 10). Can we confirm this?

• Action: What can we do?

Oleg Pianykh opiany@gmail.com

1-min bins

Data validity analysis: Action

Oleg Pianykh opiany@gmail.com

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83

Bia

s R

atio

Tech Bias Ratio in CT and MRI

MRI CT

Honest

Zero-bias

Tempted

Champs

Data validity analysis: Results

Oleg Pianykh opiany@gmail.com

Predicting healthcare

• Q: Can we use BD to predict the future? How? Examples: Stock market predictions, finance, weather forecasting etc. heavily rely on dynamic predictive models. How about healthcare?

• Q: Why and what would one like to predict in healthcare?

Oleg Pianykh opiany@gmail.com

Example: Google Flu project

• Predicting flu outbreaks in real time from… search engine data:

Oleg Pianykh opiany@gmail.com Source: Detecting influenza epidemics using search engine query data Jeremy Ginsberg1, Matthew H. Mohebbi1, Rajan S. Patel1, Lynnette Brammer2, Mark S. Smolinski1 & Larry Brilliant1

Google-predicted

Real

ILI – “Influenza-like illness”