Hospital Compare App

Michael G Harpole

Introduction

In the interest of promoting high-quality, patient-centered care and accountability, the Centers for Medicare & Medicaid Services (CMS) and Hospital Quality Alliance (HQA) began publicly reporting 30-day mortality measures for acute myocardial infarction (AMI) and heart failure (HF) in June 2007 and for pneumonia (PN) in June 2008. CMS has since expanded the publicly reported outcome measures to include 30-day readmission complications, and excess days in acute care (EDAC) measures as well as in-hospital adverse events and mortality.

Excerpt from https://www.cms.gov/Medicare/ Quality-Initiatives-Patient-Assessment-Instruments/ HospitalQualityInits/OutcomeMeasures Accessed 03/22/2021

Introduction

Publicly reporting these measures increases the transparency of hospital care, provides useful information for consumers choosing care, and assists hospitals in their quality improvement efforts.

This shiny app looks at the dataset “COMPLICATIONS AND DEATHS - HOSPITAL.CSV” which was accessed via the link https://data.cms.gov/provider-data/ search?page=7&theme=Hospitals on 03/21/21. It has three functions:

  • Best

  • Rank hospital

  • Rank All

Best

The Best function finds the “best” hospital in a state based on a selected 30 day measure. It takes a two letter state abbreviation and a 30 day measure.

Rank hospital

The Rank Hospital function. This function returns the hospital ranked at the input rank within the selected state. It takes a two letter state abbreviation, a 30 day measure, and a ranking(best, worst or numerical).

Rank All

The “Rank All” function ranks hospitals in all states. It will take a measure, and a ranking It returns a dataframe of the hospital in all states with that ranking.