Skip to Content
CognitoLabs.AIDocs
Tools

Pricing Gap Reports

Create a Pricing Gap Report, read each section of it, and get the PDF.

These tools build and read a Pricing Gap Report. The assistant is walked through them by pgr_next_step and by the next_step on every result. The report and its sections are free; choosing your own comparison hospitals and the insurers' own rates need an upgrade.

pgr_next_step

What to do next for a report, or the whole walk when no report is named.

ParameterTypeDefaultWhat it does
report_idstringnone

pgr_create_report

Start a report for one hospital against similar nearby hospitals; it builds in about a minute.

ParameterTypeDefaultWhat it does
hospital_idstringrequiredOne hospital id (UUID), as returned by find_hospitals.
hospital_idslist of stringnoneUp to 25 hospital ids (UUIDs), as returned in the hospital_id field of earlier rows.
prepared_forstringnone

pgr_get_report

One report's status and headline; poll until it is ready.

ParameterTypeDefaultWhat it does
report_idstringrequired

pgr_list_reports

The reports in your account, newest first.

ParameterTypeDefaultWhat it does

pgr_panel_suggestions

The hospitals a report's comparison panel can be built from, with distance, beds and why.

ParameterTypeDefaultWhat it does
limitinteger20Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
report_idstringrequired

pgr_rebuild

Rebuild a report against today's price files, retry a failed one, or change its comparison hospitals.

ParameterTypeDefaultWhat it does
default_panelbooleanfalse
hospital_idslist of stringnoneUp to 25 hospital ids (UUIDs), as returned in the hospital_id field of earlier rows.
rebrandbooleanfalse
report_idstringrequired

pgr_sections

Every component of a report, one tool each, with what it holds.

ParameterTypeDefaultWhat it does
report_idstringrequired

pgr_summary

The report's finding: codes compared, below and above the nearby median, the yearly gap range, the method.

ParameterTypeDefaultWhat it does
report_idstringrequired

pgr_market

CMS facts for the hospital's area and the spread of the comparison panel.

ParameterTypeDefaultWhat it does
report_idstringrequired

pgr_hospitals

The comparison hospitals, each head to head with this hospital, or one code by code.

ParameterTypeDefaultWhat it does
directionbelow | above | outliersnone
hospitalstringnoneA hospital CCN or name, or a metro or hospital id for the dataset you picked.
limitinteger20Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
report_idstringrequired
sortdistance | pct_below | pct_abovenoneColumn to sort by.

pgr_price_position

The compared codes ranked by CMS-unit impact.

ParameterTypeDefaultWhat it does
limitinteger20Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
offsetinteger0Rows to skip, for paging.
report_idstringrequired

pgr_vs_market

The codes priced furthest below or above the nearby median.

ParameterTypeDefaultWhat it does
limitinteger20Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
offsetinteger0Rows to skip, for paging.
report_idstringrequired
sidebelow | abovebelow

pgr_service_lines

Per service line: codes compared, the median gap and the yearly gap.

ParameterTypeDefaultWhat it does
limitinteger20Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
report_idstringrequired
settinginpatient | outpatientnoneOnly inpatient or only outpatient lines.

pgr_inpatient

Insurers' published DRG prices here against the same insurer nearby, and the contract terms they publish.

ParameterTypeDefaultWhat it does
limitinteger20Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
payerstringnoneOnly this insurer, as named in the data.
report_idstringrequired

pgr_published

The codes that make up 80% of the hospital's estimated revenue, with their cumulative share.

ParameterTypeDefaultWhat it does
limitinteger20Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
offsetinteger0Rows to skip, for paging.
report_idstringrequired

pgr_payer_teaser

The insurer most of the comparison hospitals publish rates for, and the others.

ParameterTypeDefaultWhat it does
report_idstringrequired

pgr_payer_rates

Each insurer's facility rate here against its median nearby, per code; needs the insurer payer-rates add-on.

ParameterTypeDefaultWhat it does
codeslist of stringnoneCPT, HCPCS or MS-DRG codes to look up.
directionbelow | abovenone
limitinteger20Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
payerstringnoneOnly this insurer, as named in the data.
report_idstringrequired

pgr_codes

Every compared code with its target price, filtered by direction, service line, setting or codes.

ParameterTypeDefaultWhat it does
codeslist of stringnoneCPT, HCPCS or MS-DRG codes to look up.
directionbelow | above | outliersnone
limitinteger20Most rows to return. Each tool has its own cap. On a free plan, paid data returns 8 rows whatever you ask for.
report_idstringrequired
service_linestringnone
settinginpatient | outpatientnoneOnly inpatient or only outpatient lines.
sortopportunity | pct_below | pct_above | volume | codenoneColumn to sort by.

pgr_what_if

What a uniform raise or a capture share of the gap would bring in a year.

ParameterTypeDefaultWhat it does
capture_pctnumbernone
report_idstringrequired
uplift_pctnumbernone

pgr_sources

Every hospital's price file, the CMS datasets used, and the disclaimer.

ParameterTypeDefaultWhat it does
report_idstringrequired

pgr_export_pdf

The report as a branded PDF, as a download link valid for an hour.

ParameterTypeDefaultWhat it does
report_idstringrequired

On this page