# Hospital Price Transparency Rate Extractor

**Use case:** 

Extract hospital price transparency MRF data into normalized facility, code, payer, plan, gross, cash, and negotiated-rate rows.

## Input

```json
{
  "mrfUrls": [
    {
      "url": "https://raw.githubusercontent.com/CMSgov/hospital-price-transparency/master/examples/JSON/v3_json_format_example.json"
    },
    {
      "url": "https://raw.githubusercontent.com/CMSgov/hospital-price-transparency/master/examples/CSV/Tall%20Format%20Examples/V3.0.0_Tall_CSV_Format_Example.csv"
    }
  ],
  "maxItems": 100,
  "state": "",
  "codeTypes": [],
  "codes": [],
  "payerNames": [],
  "planNames": [],
  "includeGrossAndCash": true,
  "includePayerRates": true
}
```

## Output

```json
{
  "facilityName": {
    "label": "Facility"
  },
  "state": {
    "label": "State"
  },
  "codeSystem": {
    "label": "Code system"
  },
  "code": {
    "label": "Code"
  },
  "serviceDescription": {
    "label": "Description"
  },
  "payer": {
    "label": "Payer"
  },
  "plan": {
    "label": "Plan"
  },
  "negotiatedRate": {
    "label": "Negotiated rate"
  },
  "grossCharge": {
    "label": "Gross charge"
  },
  "discountedCashPrice": {
    "label": "Cash price"
  },
  "setting": {
    "label": "Setting"
  },
  "mrfUrl": {
    "label": "MRF URL"
  },
  "lastUpdated": {
    "label": "Last updated"
  },
  "sourceFormat": {
    "label": "Format"
  },
  "sourceRow": {
    "label": "Source row"
  },
  "scrapedAt": {
    "label": "Scraped at"
  }
}
```

## About this Actor

This example demonstrates how to use [Hospital Price Transparency Scraper](https://apify.com/automation-lab/hospital-price-transparency-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/hospital-price-transparency-scraper) to learn more, explore other use cases, and run it yourself.