38  Format Experiments

The Agency for Healthcare Research and Quality (AHRQ) Patient Safety Indicator 11 (PSI-11) Measure Rates dataset provides information on provider-level measure rates regarding one preventable complication (Postoperative Respiratory Failure) for Medicare Fee-For-Service discharges.

The PSI-11 measure data are solely reported for providers’ information and quality improvement purposes and are not a part of the Deficit Reduction Act (DRA), Hospital-Acquired Condition (HAC) Payment Provision or HAC Reduction Program.

Metadata

       [ROWS] 3319 
     [FIELDS] 9 
   [MODIFIED] 2020-12-08 
[PERIODICITY] Annually [R/P1Y] 
   [TEMPORAL] 2015-01-01 • 2016-12-31 
 [DICTIONARY] https://data.cms.gov/resources/agency-for-healthcare-research-and-quality-ahrq-patient-safety-indicator-11-psi-11-measure-rates-data-dictionary 
       [SITE] https://data.cms.gov/quality-of-care/agency-for-healthcare-research-and-quality-ahrq-patient-safety-indicator-11-psi-11-measure-rates 
 [REFERENCES] https://data.cms.gov/sites/default/files/2020-09/Agency%20for%20Healthcare%20Research%20and%20Quality%20%28AHRQ%29%20Patient%20Safety%20Indicator%2011%20%28PSI-11%29%20Measure%20Rates%20Methodology_0.pdf 
  [RESOURCES] https://data.cms.gov/data-api/v1/dataset-resources/7cf9662e-7c5c-4fe0-a8c6-828edf81a23c 
   [DOWNLOAD] https://data.cms.gov/sites/default/files/2020-09/Provider-Level_Measure_Rates_for_AHRQ_Patient_Safety_Indicator_11__PSI-11___-_2016.csv 
$api
[1] "Medicare"

$title
[1] "Agency for Healthcare Research and Quality (AHRQ) Patient Safety Indicator 11 (PSI-11) Measure Rates"

$description
[1] "The Agency for Healthcare Research and Quality (AHRQ) Patient Safety Indicator 11 (PSI-11) Measure Rates dataset provides information on provider-level measure rates regarding one preventable complication (postoperative respiratory failure) for Medicare fee-for-service discharges. The PSI-11 measure data is solely reported for providers information and quality improvement purposes and are not a part of the Deficit Reduction Act (DRA) Hospital-Acquired Condition (HAC) Payment Provision or HAC Reduction Program."

$modified
[1] "2020-12-08"

$temporal
[1] "2015-01-01 • 2016-12-31"

$periodicity
[1] "Annually [R/P1Y]"

$download
[1] "https://data.cms.gov/sites/default/files/2020-09/Provider-Level_Measure_Rates_for_AHRQ_Patient_Safety_Indicator_11__PSI-11___-_2016.csv"

$resources
[1] "https://data.cms.gov/data-api/v1/dataset-resources/7cf9662e-7c5c-4fe0-a8c6-828edf81a23c"

$dictionary
[1] "https://data.cms.gov/resources/agency-for-healthcare-research-and-quality-ahrq-patient-safety-indicator-11-psi-11-measure-rates-data-dictionary"

$site
[1] "https://data.cms.gov/quality-of-care/agency-for-healthcare-research-and-quality-ahrq-patient-safety-indicator-11-psi-11-measure-rates"

$references
[1] "https://data.cms.gov/sites/default/files/2020-09/Agency%20for%20Healthcare%20Research%20and%20Quality%20%28AHRQ%29%20Patient%20Safety%20Indicator%2011%20%28PSI-11%29%20Measure%20Rates%20Methodology_0.pdf"
[1] 3319

Value Boxes


```{=html}

Rows

3319

Fields

9

3rd value

789

The 4th detail

The 5th detail

The 6th detail

```
layout_columns(
  value_box(
    title = "Lines of Code",
    value = "46,157",
    theme = "bg-gradient-green-teal",
    showcase = fontawesome::fa_i("box-open"),
    showcase_layout = "top right",
    full_screen = FALSE,
    fill = TRUE,
    height = NULL
  ),
  value_box(
    title = "Project budget variance",
    value = "$2,345.67",
    theme = "yellow",
    showcase = fontawesome::fa_i("creative-commons-share"),
    showcase_layout = "top right",
    full_screen = FALSE,
    fill = TRUE,
    height = NULL
  ),
  value_box(
    title = "Website loading time",
    value = "2.3 seconds",
    theme = "bg-gradient-indigo-purple",
    showcase = fontawesome::fa_i("i"),
    showcase_layout = "top right",
    full_screen = FALSE,
    fill = TRUE,
    height = NULL
  )
)

```{=html}

Lines of Code

46,157

Project budget variance

$2,345.67

Website loading time

2.3 seconds

```

Cards

x <- card("A simple card")

page_fillable(
  fillable_mobile = TRUE,
  layout_columns(
    col_widths = breakpoints(
      sm = c(12, 12, 12),
      md = c(6, 6, 12),
      lg = c(4, 4, 4)
    ),
    x, x, x
  )
)

```{=html}

A simple card
A simple card
A simple card
```

Accordion

items <- lapply(LETTERS[1:5], function(x) {
  accordion_panel(paste("Section", x), paste("Some narrative for section", x))
})

accordion(!!!items)

```{=html}
Some narrative for section A
Some narrative for section B
Some narrative for section C
Some narrative for section D
Some narrative for section E
```

Resources

[CSV] 199.6K 2016 AHRQ PSI-11 Measure Rates
[PDF] 257.6K 2016 AHRQ PSI-11 Measure Rates Methodology
[PDF]  91.8K 2016 AHRQ PSI-11 Measure Rates Data Dictionary

Dictionary

HOSP_ID
Provider's CCN.

ADM_DISC
Provider's number of eligible discharges used for
PSI-11 measure calculations.

RATE
Provider's PSI-11 smoothed measure rate (per 1k
discharges).

INTERVAL_LOWER_LIMIT
95% confidence interval lower limit surrounding
provider's smoothed measure rate.

INTERVAL_HIGHER_LIMIT
95% confidence interval upper limit surrounding
provider's smoothed measure rate.

START_QUARTER
First quarter of PSI-11 measure's performance
period.

START_DATE
First date of PSI-11 measure's performance period.

END_QUARTER
Last quarter of PSI-11 measure's performance
period.

END_DATE
Last date of PSI-11 measure's performance period.

Data

# A tibble: 3,018 × 9
   HOSP_ID ADM_DISC  RATE INTERVAL_LOWER_LIMIT INTERVAL_HIGHER_LIMIT
                                           
 1 010001      1763  9.86                 5.23                  14.5
 2 010005       218 17.6                  8                     27.2
 3 010007        57 11.4                  0                     23.4
 4 010011       791 15.4                  7.98                  22.9
 5 010012       127  9.61                 0                     19.6
 6 010016       629 11.7                  5.32                  18.1
 7 010018        30  9.22                 0                     20.1
 8 010019         5 13.6                  0.42                  26.8
 9 010021       139 24.1                 13.8                   34.4
10 010022         4 13.3                  0.28                  26.4
# ℹ 3,008 more rows
# ℹ 4 more variables: START_QUARTER , START_DATE ,
#   END_QUARTER , END_DATE 
obs: 3018 
cols: 9 

----- Numeric -----
             col n_missng p_complt n_unique   mean   p0    p25    p50    p75
1       ADM_DISC        0        1     1395 711.18    3 131.25    395    957
2           RATE        0        1     1347  13.56 2.13  10.57  12.92  15.79
3 INTERVAL_LOWER        0        1     1196   4.93    0   0.32   3.77   7.77
4 INTERVAL_HIGHE        0        1     1516  22.41 6.43  19.05  22.49   25.8
     p100    iqr     sd  hist
1   11795 825.75 894.13 ▇▁▁▁▁
2    39.1   5.22   4.44 ▂▇▂▁▁
3    35.3   7.45   5.12 ▇▂▁▁▁
4    45.4   6.74   5.01 ▁▇▇▁▁

----- Dates -----
         col n_missng p_complt n_unique        min        max
1 START_DATE        0        1        1 2013-07-01 2013-07-01
2   END_DATE        0        1        1 2015-06-30 2015-06-30

----- Categorical -----
            col n_missng p_complt n_unique n_levels    min    max
1       HOSP_ID        0        1     3018       NA 010001 670106
2 START_QUARTER        0        1        1       NA 3Q2013 3Q2013
3   END_QUARTER        0        1        1       NA 2Q2015 2Q2015