15
The IQTIG What we do How we use R Internal infrastructure External transparency Quality Assurance in Healthcare with R Titus Laska, Dirk Schumacher, Michael Höhle Federal Institute for Quality Assurance and Transparency in Healthcare, Germany Unit for Medical Biometry and Statistics erum2018 lightning talk Budapest, Hungary, 16 May 2018 Quality Assurance in Healthcare with R © 2018 IQTIG 1 / 15

Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

The IQTIG What we do How we use R Internal infrastructure External transparency

Quality Assurance in Healthcare with R

Titus Laska, Dirk Schumacher, Michael Höhle

Federal Institute for Quality Assurance and Transparency in Healthcare, GermanyUnit for Medical Biometry and Statistics

erum2018 lightning talkBudapest, Hungary, 16 May 2018

Quality Assurance in Healthcare with R © 2018 IQTIG 1 / 15

Page 2: Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

The IQTIG What we do How we use R Internal infrastructure External transparency

The IQTIG

Central institution for the quality assurance in the Germanpublic healthcare system

Founded in 2015

Quality Assurance in Healthcare with R © 2018 IQTIG 2 / 15

Page 3: Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

The IQTIG What we do How we use R Internal infrastructure External transparency

What we do - an example

In-hospital mortality due tocommunity-acquired pneumonia

Quality Assurance in Healthcare with R © 2018 IQTIG 3 / 15

Page 4: Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

The IQTIG What we do How we use R Internal infrastructure External transparency

What we do - an example

In-hospital mortality due tocommunity-acquired pneumonia

Software specificationFor data collection in the hospitals

Patient Data ≥ 250,000 cases annually

medical, statistical, and IT experts

Quality Assurance in Healthcare with R © 2018 IQTIG 4 / 15

Page 5: Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

The IQTIG What we do How we use R Internal infrastructure External transparency

What we do - an example

In-hospital mortality due tocommunity-acquired pneumonia

Software specificationfor data collection in the hospitals Quality indicator

specification

Computational rulePatient Data ≥ 250,000 cases annually

Software specification and computational rules arepublicly avaible on our website

medical, statistical, and IT experts

Quality Assurance in Healthcare with R © 2018 IQTIG 5 / 15

Page 6: Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

The IQTIG What we do How we use R Internal infrastructure External transparency

What we do - an example

In-hospital mortality due tocommunity-acquired pneumonia

Software specificationfor data collection in the hospitals Quality indicator

specification

Computational rule

Results

Structured dialogue with providers forquality assessment and improvement

Patient Data ≥ 250,000 cases annually

Quality Assurance in Healthcare with R © 2018 IQTIG 6 / 15

Page 7: Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

The IQTIG What we do How we use R Internal infrastructure External transparency

How we use R

At the Medical Biometry and Statistics Unit, we use R

for ad hoc analysis of datafor the development of new statistical methodologiesfor internal reporting tools (e.g. shiny)

in production: packages for automatic computation of resultse.g. 21 million numbers for our standard routine report

Quality Assurance in Healthcare with R © 2018 IQTIG 7 / 15

Page 8: Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

The IQTIG What we do How we use R Internal infrastructure External transparency

How we use RFunnelplots

0%

25%

50%

75%

100%

0 10 20 30Anzahl Fälle/ Prozeduren

Indi

kato

rerg

ebni

s (R

ate)

Auffällig

Nein

Rechnerisch

Statistisch

Anzahl Standorte1

2

Grenze fürrechnerische Auffälligkeit

statistische Auffälligkeit

Referenzbereich

Quality Assurance in Healthcare with R © 2018 IQTIG 8 / 15

Page 9: Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

The IQTIG What we do How we use R Internal infrastructure External transparency

Internal infrastructure

Statistical analysis is a team effort!

Code review and automatic testsIndependent proof-calculation of results

Aim: Maintain high quality of analyses and published results

Quality Assurance in Healthcare with R © 2018 IQTIG 9 / 15

Page 10: Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

The IQTIG What we do How we use R Internal infrastructure External transparency

Internal infrastructure

Internal package repository (~10 actively used packages)

Shiny server:

Quality Assurance in Healthcare with R © 2018 IQTIG 10 / 15

Page 11: Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

The IQTIG What we do How we use R Internal infrastructure External transparency

External transparency

Computation rules for our ~280 quality indicators

Definition of the relevant sets from the dataSpecification on how to count

Will be published as R code

Quality Assurance in Healthcare with R © 2018 IQTIG 11 / 15

Page 12: Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

The IQTIG What we do How we use R Internal infrastructure External transparency

External transparency

Mostly simple Boolean expressions in base R:

age >= 18 & blood_pressure >= 140

Special abstractions to make code more compact:

diagnosis_code %isAnyLike% ICD$ICD_Infection

all(postoperative_infect == 0) %group_by% patient_id

Quality Assurance in Healthcare with R © 2018 IQTIG 12 / 15

Page 13: Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

The IQTIG What we do How we use R Internal infrastructure External transparency

External transparency

R package IQTIGpvci

We recently published our first R package: IQTIGpvci

Reference implementation illustrating methodologies forperforming hospital classification in the context of uncertainty

Quality Assurance in Healthcare with R © 2018 IQTIG 13 / 15

Page 14: Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

The IQTIG What we do How we use R Internal infrastructure External transparency

External transparency

R package IQTIGpvci

Available on our website:

https://iqtig.org/das-iqtig/grundlagen/biometrische-methoden/

Licensed under GPL Version 3

Quality Assurance in Healthcare with R © 2018 IQTIG 14 / 15

Page 15: Quality Assurance in Healthcare with R - eRum 2018 talks/Titus Laska.pdf · 2019. 1. 11. · The IQTIG What we do How we use R Internal infrastructure External transparency Quality

The IQTIG What we do How we use R Internal infrastructure External transparency

External transparency

Example of R code (using IQTIGpvci) published in a juristic document (plan. QI directive, G-BA 2016)https://www.g-ba.de/downloads/62-492-1368/plan-QI-RL_2016-12-15_iK_2017-03-24.pdf

Summing up

R supports us in our mission to improve healthcare quality inGermany

R enables us to be more transparent, because it’s open source

Quality Assurance in Healthcare with R © 2018 IQTIG 15 / 15