27
1 Speed Saves Lives Leveraging a Massively Parallel Expert System for Patient Surveillance

Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Embed Size (px)

Citation preview

Page 1: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

1

Speed Saves Lives

Leveraging a Massively Parallel Expert System for Patient Surveillance

Page 2: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Pharmacy OneSource

•9 SAAS healthcare applications

•1 in 3 hospitals in the U.S. utilize our applications

•Active community of > 44,000 of pharmacy professionals.

2

Page 3: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Sentri7 Clinical Workflows

3

Surveillance

Intervention

Documentation

Reporting

Page 4: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

What do we mean by…

Surveillance: Actively monitoring patients to identify opportunities for intervention

Intervention: changing patient care to improve outcomes

Outcomes:

Quality & Safety

Efficacy

Efficiency

Cost effectiveness

4

Page 5: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Electronic Medical Records

5

Visit

Order Tests

Surgeries

Lab resu

lts

EMR

Observations

Patient Clinician

Lab technician

Medications

Diagnoses

Vitals

Page 6: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Enhancing the EMR

6

EMRClinician

Sentri7

• Activating data• Intelligent Decisions

Page 7: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Reasoning in real time

7

On Demand

Event Driven

Page 8: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Event Stream Processing

8

Receive Transform Update Complex Events

Surveillance

Rule T-N

Rule T-2

Rule T-1

Rule U-N

Rule U-2

Rule U-1

Rule CE-N

Rule CE-2

Rule CE-1

Rule S-N

Rule S-2

Rule S-1

Page 9: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Extract meaning with rules

HL7 standard open to interpretation

•Discrete and non-discrete data elements

•Variance between vendors & systems

•IDNs, Sites, and departments

Understanding the clinical meaning of a message

•Patient admission & discharge

•Active/visible medications

•Estimated creatinine clearance

•MDRO classification

9

Page 10: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

What does it mean?

10

MSH|^~\&|EPIC|EPICADT|SMS|SMSADT|199912271408|CHARRIS|ADT^A04|1817457|D|2.5|

PID||0493575^^^2^ID 1|454721||DOE^JOHN^^^^|DOE^JOHN^^^^|19480203|M||B|254 MYSTREET AVE^^MYTOWN^OH^44123^USA||(216)123-4567|||M|NON|400003403~1129086|

NK1||ROE^MARIE^^^^|SPO||(216)123-4567||EC|||||||||||||||||||||||||||

PV1||O|168 ~219~C~PMA^^^^^^^^^||||277^ALLEN MYLASTNAME^BONNIE^^^^|||||||||| ||2688684|||||||||||||||||||||||||199912271408||||||002376853

Data

Facts

Page 11: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Determine relevance with rules

11

•Clinical outcomes & risk define time windows

•Active alerting

•Daily/weekly routines

•Criteria may exclude portions of the patient model or patient populations

•Admission/discharge

•Location, patient status.

Page 12: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Event Lifespan

12

Observed

Reported

Received

Analyzed

Archived

Event Relevance Window

Page 13: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Patient surveillance with rules

13

Active drug order for

"Piperacillin"

Last Estimated Creatinine

Clearance > 40 ml/min

Estimated Creatinine

Clearance < 40 ml/min in the last 10

days

Page 14: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Sentri7 surveillance rule builder

14

Page 15: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Iterative refinement in computer systems

15

Any automated system has this cycle

Agile attempts to reduce cycle time

Page 16: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Rule engine performance

16

Facts X Rules = Evaluations

1 Patient 550 X 57 = 31,428

1 Hospital 605,000 X 57 = 34,571,428

350 Hospitals

211,750,000

X 20,000

= 4,235,000,000,000

F x R = P

Page 17: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

How does reasoning time affect patient care?

17

•Perception of responsiveness

•Time sensitivity of outcomes

Page 18: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Perception of responsiveness

1. Speed is everything—this is what information system users value most.

2. Anticipate needs and deliver in real time—deliver information when needed.

-“Ten Commandments for Effective Clinical Decision Support” American Medical Informatics Association, 2003

18

Page 19: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Time sensitivity of outcomes

Simple, low risk. Therapeutic substitution.

“Nexium IV substituted to protonix”

Show all patients that have an active drug order where the drug name contains the phrase "Pantoprazole Sodium" and route is IV

Complex, high risk. Sepsis.

“At Very high risk for Severe Sepsis with shock”.

19

Page 20: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

At very high risk for severe sepsis with shock

20

Group A

-Pulse > 90

-Resp < 20

-PaCO2 < 32 mmHg

-Temp not in the range 96.8 F to 100.4 F

Group B

-WBC Count not in the range 4 thou/uL to 12 thou/uL

-Band > 10 %

Group C-Lactic Acid >= 3.5 mmol/L-Serum Creatinine > 2 mg/dL-Estimated Creatinine Clearance < 50 ml/min-Platelet count < 80 thou/uL-Active Drug Order where Drug Name is not in the list ("WARFARIN SODIUM", "ENOXAPARIN SODIUM", "HEPARIN SODIUM, PORCINE") AND has one of the following:

-PT (INR) > 1.5-aPTT > 60 sec

-BILIRUBIN TOTAL > 2 mg/dL AND ALT (SGPT) >114 U/L-VENOUS O2 SATURATION (VO2HB) < 70%-pH < 7.30-PaO2 < 80 mmHg-pH < 7.35 AND PaCO2 < 50 mmHg

Group D-SYSTOLIC BP < 90-SYSTOLIC BP has decreased 28%

Show all patients that have at least one match from each of the following groups in the last 24 hours.

Page 21: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Impact of Sepsis on Patient Health

21

Angus DC et al. Crit Care Med 2001;29(7):1303-1310.

Patient Lives

• > 200,000 deaths per year in the US

• Mortality from severe sepsis is between 28-50% (with standard care)

Hospital Costs

• $16.7 billion in total annual U.S. costs

• Average cost = $22,100 - $29,900

• Average LOS = 19.6 - 23.3 days

Page 22: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Space-Based Architecture

22

Page 23: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

GigaSpaces XAP – Elastic Application Platform

23

DATA PROCESSING EVENTS & MESSAGING WEB APPLICATIONSUPPORT

MANAGEMENT & MONITORING

HIGH AVAILABILITY ELASTICITY CLOUD READINESS

Page 24: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

GigaSpaces + Drools

24

Performance Collocate rules with the data allowing extreme low latency rules

execution

Rules Management Dynamically load/unload rules leveraging GigaSpaces & Drools APIs

Ultra Scalable Parallel rules execution across the different data-grid partitions

Elasticity Scale- up/down, in/out system and leverage extra resources on-

demand within private cloud or public cloud.

High-Availability Continuous availability running rules 24X7 without any downtime

Page 25: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Scaling our decision support system

25

Page 26: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Massively Parallel Expert System

26

Clinica

l

Decisi

on

Supp

ort

Surveillanc

e Rules

GigaSpaces Grid + Drools

Surveillance Results

Page 27: Pharmacy OneSource_Drools in Healthcare Bootcamp Oct 2011

Lessons Learned

•Accelerate through partners

•Procedural vs Declarative

•Open Source

27